@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | 'title' => 'selectpicker.nothing_selected', |
73 | 73 | 'data-live-search' => true, |
74 | 74 | ], |
75 | - 'disabled' => ! $this->security->isGranted($is_new ? 'create' : 'edit', $entity), |
|
75 | + 'disabled' => !$this->security->isGranted($is_new ? 'create' : 'edit', $entity), |
|
76 | 76 | ]); |
77 | 77 | |
78 | 78 | $builder->add('exchange_rate', BigDecimalMoneyType::class, [ |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | 'label' => 'currency.edit.exchange_rate', |
81 | 81 | 'currency' => $this->default_currency, |
82 | 82 | 'scale' => 6, |
83 | - 'disabled' => ! $this->security->isGranted($is_new ? 'create' : 'edit', $entity), |
|
83 | + 'disabled' => !$this->security->isGranted($is_new ? 'create' : 'edit', $entity), |
|
84 | 84 | ]); |
85 | 85 | } |
86 | 86 | } |