@@ -, +, @@
---
installer/data/mysql/atomicupdate/bug_31713.pl | 5 +++--
installer/data/mysql/en/mandatory/sample_notices.yml | 5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)
--- a/installer/data/mysql/atomicupdate/bug_31713.pl
+++ a/installer/data/mysql/atomicupdate/bug_31713.pl
@@ -8,8 +8,9 @@ return {
my ($dbh, $out) = @$args{qw(dbh out)};
my $slip_content = <<~'END_CONTENT';
-[% USE Koha %]
[% USE Branches %]
+[% USE Koha %]
+[% USE KohaDates %]
[% USE Price %]
[% PROCESS 'accounts.inc' %]
@@ -85,7 +86,7 @@ return {
- Total outstanding dues as on date: |
+ Total outstanding dues as of [% today | $KohaDates %]: |
[% IF ( borrower.account.balance <= 0 ) %][% ELSE %] | [% END %][% borrower.account.balance | $Price %] |
--- a/installer/data/mysql/en/mandatory/sample_notices.yml
+++ a/installer/data/mysql/en/mandatory/sample_notices.yml
@@ -1292,8 +1292,9 @@ tables:
message_transport_type: print
lang: default
content:
- - "[% USE Koha %]"
- "[% USE Branches %]"
+ - "[% USE Koha %]"
+ - "[% USE KohaDates %]"
- "[% USE Price %]"
- "[% PROCESS 'accounts.inc' %]"
- ""
@@ -1369,7 +1370,7 @@ tables:
- ""
- " "
- " "
- - " Total outstanding dues as on date: | "
+ - " Total outstanding dues as of [% today | $KohaDates %]: | "
- " [% IF ( borrower.account.balance <= 0 ) %][% ELSE %] | [% END %][% borrower.account.balance | $Price %] | "
- "
"
- " "
--