detail pages for customers and projects (#1371)

This commit is contained in:
Kevin Papst
2020-01-16 16:25:28 +01:00
committed by GitHub
parent 28c5357f11
commit 6a44dbfe83
131 changed files with 3055 additions and 1742 deletions

View File

@@ -38,7 +38,7 @@ class ProjectEditForm extends AbstractType
$entry = $options['data'];
$id = $entry->getId();
if ($id !== null) {
if (null !== $entry->getCustomer()) {
$customer = $entry->getCustomer();
$options['currency'] = $customer->getCurrency();
}
@@ -52,7 +52,7 @@ class ProjectEditForm extends AbstractType
],
])
->add('comment', TextareaType::class, [
'label' => 'label.comment',
'label' => 'label.description',
'required' => false,
])
->add('orderNumber', TextType::class, [