API: changed date-format, camelCase instead of snake_case, null values, update and create for customer and project (#718)
This commit is contained in:
@@ -214,14 +214,11 @@ class ProjectController extends AbstractController
|
||||
$currency = $project->getCustomer()->getCurrency();
|
||||
}
|
||||
|
||||
return $this->createForm(
|
||||
ProjectEditForm::class,
|
||||
$project,
|
||||
[
|
||||
'action' => $url,
|
||||
'method' => 'POST',
|
||||
'currency' => $currency,
|
||||
]
|
||||
);
|
||||
return $this->createForm(ProjectEditForm::class, $project, [
|
||||
'action' => $url,
|
||||
'method' => 'POST',
|
||||
'currency' => $currency,
|
||||
'create_more' => true,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user