From 0782fa3c6d2049056d8a36cc2a82b65fb952f500 Mon Sep 17 00:00:00 2001 From: Dave Shoreman Date: Tue, 28 May 2024 13:10:41 +0100 Subject: [PATCH] Set 'issued to' label based on entity type string --- 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 4d7f6a7a50dc..9635398490ce 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.quote_issued_to'), + '$entity_issued_to_label' => ctrans("texts.{$this->entity_string}_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.due_date'),