From 8ac5c7cf6532c4c2bff8388b5d6a381e2151de67 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 23 Nov 2023 11:46:26 +1100 Subject: [PATCH] Add translation for task line items --- app/Services/Template/TemplateService.php | 4 ++-- lang/en/texts.php | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/Services/Template/TemplateService.php b/app/Services/Template/TemplateService.php index e233557f0d67..4e7846de7543 100644 --- a/app/Services/Template/TemplateService.php +++ b/app/Services/Template/TemplateService.php @@ -215,7 +215,7 @@ class TemplateService { $this->data = $this->preProcessDataBlocks($data); - nlog($this->data); + // nlog($this->data); return $this; } @@ -617,7 +617,7 @@ class TemplateService 'paymentables' => $pivot, 'refund_activity' => $this->getPaymentRefundActivity($payment), ]; -nlog($data); + return $data; } diff --git a/lang/en/texts.php b/lang/en/texts.php index a93d919cfade..a2a4db566a58 100644 --- a/lang/en/texts.php +++ b/lang/en/texts.php @@ -5212,6 +5212,7 @@ $LANG = array( 'user_logged_in_notification_help' => 'Send an email when logging in from a new location', 'payment_email_all_contacts' => 'Payment Email To All Contacts', 'payment_email_all_contacts_help' => 'Sends the payment email to all contacts when enabled', + 'add_line' => 'Add Line', ); return $LANG;