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