mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 04:14:04 +00:00
test sending booking do to email
This commit is contained in:
@@ -46,6 +46,13 @@ Route::get('/old-invoices', function(){
|
||||
}
|
||||
})->name('invoice.old');
|
||||
|
||||
Route::get('/approved-today', function(){
|
||||
$approvedInvoices = InvoiceStatuses::where('status', 'approve')->whereDate('created_at', Carbon::today()->subDay(1))->get();
|
||||
foreach($approvedInvoices as $approved){
|
||||
echo $approved->invoice->booking->id.'</b>';
|
||||
}
|
||||
});
|
||||
|
||||
Route::group(['middleware' => ['role:admin']], function() {
|
||||
Route::get('bulkBookings', function () {
|
||||
return view('booking.bulkBooking');
|
||||
|
||||
Reference in New Issue
Block a user