untuk zone 2 dan 3 sahaja

This commit is contained in:
hafifierahman
2024-10-12 22:11:25 +08:00
parent 0f7ddbd828
commit d5103f360b
@@ -31,7 +31,7 @@ class BalanceSheetsController extends Controller
}
public function updateIGBalanceSheets(Request $request){
$cawangan = Cawangan::on('mysql7')->get();
$cawangan = Cawangan::on('mysql7')->where('zone','<>',1)->get();
$date = Carbon::now()->month($request->month);
$lastDay = (clone $date)->endOfMonth();