Small fixes

This commit is contained in:
2026-06-26 22:06:15 +02:00
parent 6c7fe56579
commit 12d98b4d7e
5 changed files with 20 additions and 3 deletions
@@ -65,7 +65,7 @@ class EditController extends CommonController{
$currentEvents = $this->costUnits->getCostUnitsForNewInvoice(CostUnitType::COST_UNIT_TYPE_EVENT);
return response()->json([
'invoice' => new InvoiceResource($invoice)->toArray(),
'invoice' => new InvoiceResource($newInvoice)->toArray(),
'status' => 'success',
'costUnits' => array_merge($runningJobs, $currentEvents),
]);