open create form for activity/project/customer in modals (#2025)

This commit is contained in:
Kevin Papst
2020-10-08 01:12:34 +02:00
committed by GitHub
parent 46bf01d93e
commit fb31319fcf
17 changed files with 60 additions and 169 deletions

View File

@@ -88,10 +88,6 @@ class ProjectEditForm extends AbstractType
]);
$this->addCommonFields($builder, $options);
if (null === $id && $options['create_more']) {
$this->addCreateMore($builder);
}
}
/**
@@ -107,7 +103,6 @@ class ProjectEditForm extends AbstractType
'currency' => Customer::DEFAULT_CURRENCY,
'date_format' => null,
'include_budget' => false,
'create_more' => false,
'attr' => [
'data-form-event' => 'kimai.projectUpdate'
],