mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 04:14:04 +00:00
show old invoices
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ Route::get('/old-invoices', function(){
|
||||
$q->whereNotNull('image_path');
|
||||
})->get();
|
||||
dd($bookings->groupBy(function($item) {
|
||||
return Carbon::createFromFormat('Y-m-d', $item->created_at)->format('Y-W');
|
||||
return $item->created_at->format('m');
|
||||
}));
|
||||
echo "<h1>Total pending invoices:<b>".count($bookings)."</b></h1>";
|
||||
foreach ($bookings as $booking) {
|
||||
|
||||
Reference in New Issue
Block a user