mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-28 00:34:19 +00:00
test sending booking do to email
This commit is contained in:
+1
-1
@@ -59,7 +59,7 @@ Route::get('/approved-today', function(){
|
||||
foreach ($bookings as $id) {
|
||||
$invoiceContoller = new InvoiceController();
|
||||
$do = $invoiceContoller->generateSupplierDo($id);
|
||||
$zip->addFromString('do_12_11_2020_'.$id, $do);
|
||||
$zip->addFromString('do_12_11_2020_'.$id, $do->Output('do.pdf', 'S'));
|
||||
}
|
||||
$zip->getStream('test.zip');
|
||||
$zip->close();
|
||||
|
||||
Reference in New Issue
Block a user