@@ -158,7 +158,7 @@ discard block |
||
| 158 | 158 | /** |
| 159 | 159 | * Get amount |
| 160 | 160 | * |
| 161 | - * @return string |
|
| 161 | + * @return double |
|
| 162 | 162 | */ |
| 163 | 163 | public function getAmount() |
| 164 | 164 | { |
@@ -181,7 +181,7 @@ discard block |
||
| 181 | 181 | /** |
| 182 | 182 | * Get tva |
| 183 | 183 | * |
| 184 | - * @return string |
|
| 184 | + * @return double |
|
| 185 | 185 | */ |
| 186 | 186 | public function getTva() |
| 187 | 187 | { |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | return $this->createForm( |
| 38 | 38 | OrdersType::class, |
| 39 | 39 | $orders, |
| 40 | - ['attr' => ['id' => 'create'], 'action' => $this->generateUrl($route), 'method' => 'POST',] |
|
| 40 | + ['attr' => ['id' => 'create'], 'action' => $this->generateUrl($route), 'method' => 'POST', ] |
|
| 41 | 41 | ); |
| 42 | 42 | } |
| 43 | 43 | } |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | 'label' => 'gestock.id', |
| 46 | 46 | 'translation_domain' => 'messages', |
| 47 | 47 | 'empty_data' => null, |
| 48 | - 'attr'=> ['class' => 'form-control', 'readonly' => true,], |
|
| 48 | + 'attr'=> ['class' => 'form-control', 'readonly' => true, ], |
|
| 49 | 49 | ) |
| 50 | 50 | ) |
| 51 | 51 | ->add( |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | 'empty_data' => '0,000', |
| 71 | 71 | 'label' => 'settings.quantity', |
| 72 | 72 | 'translation_domain' => 'gs_articles', |
| 73 | - 'attr'=> ['class' => 'form-control text-right',], |
|
| 73 | + 'attr'=> ['class' => 'form-control text-right', ], |
|
| 74 | 74 | ) |
| 75 | 75 | ) |
| 76 | 76 | ->add( |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | 'entity', |
| 47 | 47 | array( |
| 48 | 48 | 'class' => 'AppBundle:FamilyLog', |
| 49 | - 'query_builder' => function (EntityRepository $er) { |
|
| 49 | + 'query_builder' => function(EntityRepository $er) { |
|
| 50 | 50 | return $er->createQueryBuilder('f') |
| 51 | 51 | ->orderBy('f.path', 'ASC'); |
| 52 | 52 | }, |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | ->add( |
| 38 | 38 | 'rate', |
| 39 | 39 | PercentType::class, |
| 40 | - ['scale' => 2, 'type' => 'fractional', 'label' => 'gestock.settings.diverse.vat',] |
|
| 40 | + ['scale' => 2, 'type' => 'fractional', 'label' => 'gestock.settings.diverse.vat', ] |
|
| 41 | 41 | ) |
| 42 | 42 | ->addEventSubscriber(new AddSaveEditFieldSubscriber()); |
| 43 | 43 | } |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | EntityType::class, |
| 43 | 43 | array( |
| 44 | 44 | 'class' => 'AppBundle:Supplier', |
| 45 | - 'query_builder' => function (EntityRepository $er) { |
|
| 45 | + 'query_builder' => function(EntityRepository $er) { |
|
| 46 | 46 | return $er->createQueryBuilder('s') |
| 47 | 47 | ->where('s.active = 1'); |
| 48 | 48 | }, |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | 'label' => 'title', |
| 54 | 54 | 'translation_domain' => 'gs_suppliers', |
| 55 | 55 | 'empty_data' => null, |
| 56 | - 'attr' => ['class' => 'form-control', 'readonly' => true,], |
|
| 56 | + 'attr' => ['class' => 'form-control', 'readonly' => true, ], |
|
| 57 | 57 | ) |
| 58 | 58 | ) |
| 59 | 59 | ->add( |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | 'format' => 'EEEE dd MMMM yyyy', |
| 68 | 68 | 'html5' => false, |
| 69 | 69 | 'input' => 'datetime', |
| 70 | - 'attr' => ['class' => 'form-control', 'readonly' => true,], |
|
| 70 | + 'attr' => ['class' => 'form-control', 'readonly' => true, ], |
|
| 71 | 71 | ) |
| 72 | 72 | ) |
| 73 | 73 | ->add( |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | 'format' => 'EEEE dd MMMM yyyy', |
| 82 | 82 | 'html5' => false, |
| 83 | 83 | 'input' => 'datetime', |
| 84 | - 'attr' => ['class' => 'form-control', 'readonly' => true,], |
|
| 84 | + 'attr' => ['class' => 'form-control', 'readonly' => true, ], |
|
| 85 | 85 | ) |
| 86 | 86 | ) |
| 87 | 87 | ->add( |