From 752f1cc9c423ae046d80c1d9ffa5360e1c164b36 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 12 Mar 2021 14:21:41 +0000 Subject: [PATCH] Bug 26734: (QA follow-up) Add 'tendered' and 'change' to notice We include 'tendered' and 'change' parameters in the call to GetPreparedLetter for the fee receipt slip.. we may as well include them in the sample notice ;) Signed-off-by: Marcel de Rooy --- installer/data/mysql/atomicupdate/bug_26734.perl | 11 +++++++++++ installer/data/mysql/en/mandatory/sample_notices.yml | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/installer/data/mysql/atomicupdate/bug_26734.perl b/installer/data/mysql/atomicupdate/bug_26734.perl index faabb6b91b..048f9368fe 100644 --- a/installer/data/mysql/atomicupdate/bug_26734.perl +++ b/installer/data/mysql/atomicupdate/bug_26734.perl @@ -136,6 +136,17 @@ if ( CheckVersion($DBversion) ) { [% debit.amountoutstanding | $Price %] + [% IF ( tendered ) %] + + Amount tendered: + [% tendered | $Price %] + + + Change given: + [% change | $Price %] + + [% END %] + Total outstanding dues as on date: diff --git a/installer/data/mysql/en/mandatory/sample_notices.yml b/installer/data/mysql/en/mandatory/sample_notices.yml index 41273520d7..124069b315 100644 --- a/installer/data/mysql/en/mandatory/sample_notices.yml +++ b/installer/data/mysql/en/mandatory/sample_notices.yml @@ -95,6 +95,17 @@ tables: - " [% credit.amount | $Price %]" - " " - "" + - "[% IF ( tendered ) %]" + - " " + - " Amount tendered: " + - " [% tendered | $Price %]" + - " " + - " " + - " Change given: " + - " [% change | $Price %]" + - " " + - "[% END %]" + - "" - "" - " " - " Total outstanding dues as on date: " -- 2.20.1