From 3112efcdeddf4e94476026074bd8334868bf341d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Tue, 17 Nov 2020 14:46:22 +0100 Subject: [PATCH] Support for .description --- app/Services/PdfMaker/Design.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/PdfMaker/Design.php b/app/Services/PdfMaker/Design.php index 2043d73eaaa0..c5174df408b3 100644 --- a/app/Services/PdfMaker/Design.php +++ b/app/Services/PdfMaker/Design.php @@ -367,7 +367,7 @@ class Design extends BaseDesign $element['elements'][] = ['element' => 'td', 'content' => $row['$task.cost']]; } else if ($cell == '$task.hours') { $element['elements'][] = ['element' => 'td', 'content' => $row['$task.quantity']]; - } else if ($cell == '$task.notes') { + } else if ($cell == '$task.description') { $_element = ['element' => 'td', 'content' => '', 'elements' => [ ['element' => 'span', 'content' => $row[$cell]], ]];