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;