removed closing date and add it into env
This commit is contained in:
@@ -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',
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user