fix
This commit is contained in:
@@ -53,8 +53,8 @@ class BudgetControlController extends Controller
|
||||
$startDate = Carbon::create($now->copy()->subMonth()->year, $now->copy()->subMonth()->month, $startDay)->startOfDay();
|
||||
}
|
||||
|
||||
$periodeMonth = $startDate->month;
|
||||
$periodeYear = $startDate->year;
|
||||
$periodeMonth = strtolower($startDate->format('F'));
|
||||
$periodeYear = (int) $startDate->format('Y');
|
||||
|
||||
// Hitung available budget berdasarkan periode
|
||||
$budget->map(function ($b) use ($periodeMonth, $periodeYear) {
|
||||
|
||||
Reference in New Issue
Block a user