From 035162e075af35ec3c7a9ae00905fbea997712eb Mon Sep 17 00:00:00 2001 From: omair saleh Date: Thu, 12 Nov 2020 13:24:32 +0800 Subject: [PATCH] test sending booking do to email --- routes/web.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index 4082d400..7227dd69 100644 --- a/routes/web.php +++ b/routes/web.php @@ -1,5 +1,6 @@ invoice->booking->id; } foreach ($bookings as $id) { - $do = $this->generateSupplierDo($id); + $invoiceContoller = new InvoiceController(); + $do = $invoiceContoller->generateSupplierDo($id); $zip->addFromString('do_12_11_2020_'.$id, $do); } $zip->getStream('test.zip');