@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | 'required' => false, |
71 | 71 | 'label' => 'supplier.edit.default_currency', |
72 | 72 | 'disable_not_selectable' => true, |
73 | - 'disabled' => ! $this->security->isGranted($is_new ? 'create' : 'move', $entity), |
|
73 | + 'disabled' => !$this->security->isGranted($is_new ? 'create' : 'move', $entity), |
|
74 | 74 | ]); |
75 | 75 | |
76 | 76 | $builder->add('shipping_costs', MoneyType::class, [ |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | 'currency' => $this->default_currency, |
79 | 79 | 'scale' => 3, |
80 | 80 | 'label' => 'supplier.shipping_costs.label', |
81 | - 'disabled' => ! $this->security->isGranted($is_new ? 'create' : 'move', $entity), |
|
81 | + 'disabled' => !$this->security->isGranted($is_new ? 'create' : 'move', $entity), |
|
82 | 82 | ]); |
83 | 83 | } |
84 | 84 | } |