mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-22 13:54:17 +00:00
test sending booking do to email
This commit is contained in:
@@ -40,7 +40,7 @@ class Kernel extends ConsoleKernel
|
||||
$bookings[] = $approved->invoice->booking->id;
|
||||
}
|
||||
foreach ($bookings as $id) {
|
||||
$do = (new InvoiceController())->generateSupplierDo($id);
|
||||
$do = app(InvoiceController::class)->generateSupplierDo($id);
|
||||
$zip->addFromString('do_'.Carbon::today()->format('Y_m_d').'_'.$id.'.pdf', $do->Output('do.pdf', 'S'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user