From ecdffcae14db3c19e2c3196d1859b3722742497c Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 8 Jan 2023 20:44:13 +1100 Subject: [PATCH] Working on purchase order PDFs --- app/Jobs/Vendor/CreatePurchaseOrderPdf.php | 2 -- app/Services/Pdf/PdfService.php | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Jobs/Vendor/CreatePurchaseOrderPdf.php b/app/Jobs/Vendor/CreatePurchaseOrderPdf.php index b17081c80e16..dfe9836e99f6 100644 --- a/app/Jobs/Vendor/CreatePurchaseOrderPdf.php +++ b/app/Jobs/Vendor/CreatePurchaseOrderPdf.php @@ -70,8 +70,6 @@ class CreatePurchaseOrderPdf implements ShouldQueue $this->entity = $invitation->purchase_order; - $this->contact = $invitation->contact; - $this->vendor = $invitation->contact->vendor; $this->disk = $disk ?? config('filesystems.default'); diff --git a/app/Services/Pdf/PdfService.php b/app/Services/Pdf/PdfService.php index 943a6a9dcdb0..7bb06d6bad35 100644 --- a/app/Services/Pdf/PdfService.php +++ b/app/Services/Pdf/PdfService.php @@ -19,6 +19,7 @@ use App\Models\PurchaseOrderInvitation; use App\Models\QuoteInvitation; use App\Models\RecurringInvoiceInvitation; use App\Services\Pdf\PdfConfiguration; +use App\Services\Pdf\PdfDesigner; use App\Utils\HostedPDF\NinjaPdf; use App\Utils\HtmlEngine; use App\Utils\PhantomJS\Phantom;