minor fixes for quote zips

This commit is contained in:
David Bomba 2023-02-04 10:17:19 +11:00
parent b45a4d8133
commit 1166086349

View File

@ -80,7 +80,11 @@ class ZipQuotes implements ShouldQueue
$path = $this->quotes->first()->client->quote_filepath($invitation); $path = $this->quotes->first()->client->quote_filepath($invitation);
$this->quotes->each(function ($quote) { $this->quotes->each(function ($quote) {
$quote->service()->createInvitations();
(new CreateEntityPdf($quote->invitations()->first()))->handle(); (new CreateEntityPdf($quote->invitations()->first()))->handle();
}); });
try { try {