mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-04-14 18:09:30 +00:00
Update twig templates for display budget elements
This commit is contained in:
@@ -34,8 +34,8 @@ class AddEventBudgetElementType extends AbstractType
|
||||
|
||||
$builder->add('kind', ChoiceType::class, [
|
||||
'choices' => [
|
||||
'Charges' => $charges,
|
||||
'Resources' => $resources,
|
||||
'event.budget.charges' => $charges,
|
||||
'event.budget.resources' => $resources,
|
||||
],
|
||||
'choice_label' => fn (EventBudgetKind $kind) => $this->translatableStringHelper->localize($kind->getName()),
|
||||
'choice_value' => fn (?EventBudgetKind $kind) => $kind?->getId(),
|
||||
|
||||
Reference in New Issue
Block a user