Merge branch 'branch-jagad' into 'main'

Update BudgetControlController.php

See merge request fiqhpratama1/xpendify!30
This commit is contained in:
Jagad Raya
2025-01-14 10:28:58 +00:00
@@ -124,18 +124,6 @@ class BudgetControlController extends Controller
'status' => 'Assigned', 'status' => 'Assigned',
]); ]);
BudgetControlLog::create([
'cabang_id' => $cabang_id,
'sender_id' => auth()->user()->id,
'receiver_id' => $validated['receiver_id'],
'periode_month' => $validated['periode_month'],
'periode_year' => $validated['periode_year'],
'amount' => $validated['amount'],
'remarks' => $validated['remarks'],
'closing_at' => $validated['closing_at'],
'status' => 'Assigned',
]);
session()->flash('success', 'Budget has been added or updated successfully'); session()->flash('success', 'Budget has been added or updated successfully');
return redirect()->route('budget_control'); return redirect()->route('budget_control');
} }