#21 add planned closing time to food order
This commit is contained in:
parent
634f13d968
commit
b479fbf5ed
5 changed files with 11 additions and 3 deletions
|
@ -21,6 +21,9 @@ final class FoodOrderType extends AbstractType
|
|||
'class' => FoodVendor::class,
|
||||
'choice_label' => 'name',
|
||||
])
|
||||
->add(child: 'closedAt', options: [
|
||||
'label' => 'closes at',
|
||||
])
|
||||
;
|
||||
if ($action !== null) {
|
||||
$builder->setAction($action);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue