show old invoices

This commit is contained in:
omair saleh
2020-09-25 17:32:29 +08:00
parent 41f81b5e05
commit f56a031b94
+1 -1
View File
@@ -19,7 +19,7 @@ Route::get('/old-invoices', function(){
})->get();
echo "<h1>Total pending invoices:<b>".count($bookings)."</b></h1>";
foreach ($bookings as $booking) {
echo "<a target='_blank' href='https://exchange.cief-malaysia.com/booking/".$booking->id."/upload-invoice'>".$booking->id."</a><br>";
echo "<a target='_blank' href='https://exchange.cief-malaysia.com/booking/".$booking->id."/upload-invoice'>".$booking->id."</a> <small>date: ".$booking->created_at."</small><br>";
}
})->name('home');
Route::group(['middleware' => ['role:admin']], function() {