From a1f6c25b69bff2aa1907eeb2e8944a6e48dd2152 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 Content-Type: text/plain; charset=utf-8 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 a4e466ced6..e6aba4ca71 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.11.0