mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-26 07:44:15 +00:00
test sending booking do to email
This commit is contained in:
+3
-2
@@ -47,9 +47,10 @@ 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();
|
||||
$approvedInvoices = InvoiceStatuses::where('status', 'approve')->distinct('invoice_id')->whereDate('created_at', Carbon::today()->subDay(1))->get();
|
||||
echo count($approvedInvoices).'</b></b></b></b>';
|
||||
foreach($approvedInvoices as $approved){
|
||||
echo $approved->invoice->booking->id.'</b>';
|
||||
echo $approved->invoice->booking->id.'</b></b>';
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user