Bug 24381: (follow-up) Add USE statements

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Nick Clemens 2022-09-22 21:30:57 +00:00 committed by Tomas Cohen Arazi
parent 36e07f5ce2
commit 4db2213801
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F
2 changed files with 8 additions and 0 deletions

View file

@ -4,6 +4,7 @@ if ( CheckVersion($DBversion) ) {
# ACCOUNT_CREDIT
my $account_credit = q{
[%- USE AuthorisedValues -%]
[%- USE KohaDates -%]
[%- USE Price -%]
[%- PROCESS "accounts.inc" -%]
<table>
@ -134,6 +135,8 @@ q{UPDATE letter SET content = ? WHERE code = 'ACCOUNT_CREDIT' AND REPLACE(REPLAC
# ACCOUNT_DEBIT
my $account_debit = q{
[% PROCESS "accounts.inc" %]
[%- USE Price -%]
[%- USE KohaDates -%]
<table>
[% IF ( LibraryName ) %]
<tr>
@ -237,6 +240,8 @@ q{UPDATE letter SET content = ? WHERE code = 'ACCOUNT_DEBIT' AND REPLACE(REPLACE
# RECEIPT
my $receipt = q{
[% PROCESS "accounts.inc" %]
[%- USE KohaDates -%]
[%- USE Price -%]
<table>
[% IF ( LibraryName ) %]
<tr>

View file

@ -53,6 +53,8 @@ tables:
lang: default
content:
- "[%- USE AuthorisedValues -%]"
- "[%- USE KohaDates -%]"
- "[%- USE Price -%]"
- "[%- PROCESS \"accounts.inc\" -%]"
- "<table>"
- " [% IF ( LibraryName ) %]"
@ -172,6 +174,7 @@ tables:
lang: default
content:
- "[% USE Price %]"
- "[% USE KohaDates %]"
- "[% PROCESS \"accounts.inc\" %]"
- "<table>"
- " [% IF ( LibraryName ) %]"