added command to create invoices via bash (#1574)
This commit is contained in:
@@ -28,6 +28,7 @@ class InvoiceTemplateType extends AbstractType
|
||||
$resolver->setDefaults([
|
||||
'label' => 'label.template',
|
||||
'class' => InvoiceTemplate::class,
|
||||
'choice_label' => 'name',
|
||||
'query_builder' => function (InvoiceTemplateRepository $repository) {
|
||||
return $repository->getQueryBuilderForFormType();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user