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