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

Set 'issued to' label based on entity type string

This commit is contained in:
Dave Shoreman 2024-05-28 13:10:41 +01:00
parent 354cc3343b
commit 0782fa3c6d
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.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'),