From 5f507d60f4fee138547175be6111878d0e19e224 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 Signed-off-by: Jonathan Druart --- 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 4e6823e2bf..3d62a9ab3e 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