Fixes for project name label

This commit is contained in:
David Bomba 2024-06-21 14:16:21 +10:00
parent 50f13eca5a
commit 2d87131627

View File

@ -277,7 +277,7 @@ class HtmlEngine
$data['$credit.custom4'] = &$data['$quote.custom4']; $data['$credit.custom4'] = &$data['$quote.custom4'];
if ($this->entity->project) { if ($this->entity->project) {
$data['$project.name'] = ['value' => $this->entity->project->name, 'label' => ctrans('texts.project_name')]; $data['$project.name'] = ['value' => $this->entity->project->name, 'label' => ctrans('texts.project')];
$data['$invoice.project'] = &$data['$project.name']; $data['$invoice.project'] = &$data['$project.name'];
$data['$quote.project'] = &$data['$project.name']; $data['$quote.project'] = &$data['$project.name'];