mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-21 19:34:54 +02:00
Added an console command for updating currency exchange rates.
This commit is contained in:
parent
2468409212
commit
568367b59e
9 changed files with 1371 additions and 91 deletions
|
@ -52,6 +52,7 @@ class CurrencyAdminForm extends BaseEntityAdminForm
|
|||
|
||||
$builder->add('exchange_rate', MoneyType::class, ['required' => false,
|
||||
'label' => 'currency.exchange_rate.label', 'currency' => $this->params->get('default_currency'),
|
||||
'scale' => 6,
|
||||
'disabled' => !$this->security->isGranted($is_new ? 'create' : 'edit', $entity)]);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue