show old invoices

This commit is contained in:
omair saleh
2020-09-25 17:29:26 +08:00
parent a2170ea845
commit 41f81b5e05
+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 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><br>";
}
})->name('home');
Route::group(['middleware' => ['role:admin']], function() {