removed closing date and add it into env

This commit is contained in:
Jagad R R
2025-01-14 17:25:26 +07:00
parent cf51fa3341
commit 548e416e8e
12 changed files with 24 additions and 30 deletions
@@ -109,7 +109,6 @@ class BudgetControlController extends Controller
'periode_year' => 'required|numeric',
'amount' => 'required|numeric',
'remarks' => 'nullable|string',
'closing_at' => 'required|date',
]);
$cabang_id = Admin::find($validated['receiver_id'])->getMyCabangAndRegionId()['cabang'];
@@ -121,7 +120,7 @@ class BudgetControlController extends Controller
'periode_year' => $validated['periode_year'],
'amount' => $validated['amount'],
'remarks' => $validated['remarks'],
'closing_at' => $validated['closing_at'],
'closing_at' => null,
'status' => 'Assigned',
]);