From ed3d482d4439b9b73f0e859567e15e08950a3a22 Mon Sep 17 00:00:00 2001 From: Dave Shoreman Date: Thu, 30 May 2024 01:03:49 +0100 Subject: [PATCH] Fallback to original value just in case --- app/Services/Pdf/PdfMock.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/Pdf/PdfMock.php b/app/Services/Pdf/PdfMock.php index b0b6f7f419ec..cb57315902a6 100644 --- a/app/Services/Pdf/PdfMock.php +++ b/app/Services/Pdf/PdfMock.php @@ -606,7 +606,7 @@ class PdfMock '$task.description_label' => ctrans('texts.description'), '$product.discount_label' => ctrans('texts.discount'), '$product.quantity_label' => ctrans('texts.quantity'), - '$entity_issued_to_label' => ctrans("texts.{$this->entity_string}_issued_to"), + '$entity_issued_to_label' => ctrans("texts.{$this->entity_string}_issued_to") ?: ctrans('texts.quote_issued_to'), '$partial_due_date_label' => ctrans('texts.partial_due_date'), '$invoice.datetime_label' => ctrans('texts.datetime_format_id'), '$invoice.due_date_label' => ctrans('texts.invoice_due_date'),