!20 add createdby field to order form
This commit is contained in:
parent
511f12f10f
commit
70041d7357
4 changed files with 7 additions and 0 deletions
|
@ -24,6 +24,7 @@ final class FoodOrderType extends AbstractType
|
|||
->add(child: 'closedAt', options: [
|
||||
'label' => 'closes at',
|
||||
])
|
||||
->add(child: 'createdBy')
|
||||
;
|
||||
if ($action !== null) {
|
||||
$builder->setAction($action);
|
||||
|
|
|
@ -18,6 +18,7 @@ final class OrderItemType extends AbstractType
|
|||
'data' => $options['name'] ?? '',
|
||||
])
|
||||
->add('extras')
|
||||
->add('createdBy')
|
||||
;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue