1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Fallback to original value just in case

This commit is contained in:
Dave Shoreman 2024-05-30 01:03:49 +01:00
parent 7cedc48b55
commit ed3d482d44
No known key found for this signature in database
GPG Key ID: C920D1D63709F443

View File

@ -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'),