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:
parent
36e07f5ce2
commit
4db2213801
2 changed files with 8 additions and 0 deletions
|
@ -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>
|
||||
|
|
|
@ -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 ) %]"
|
||||
|
|
Loading…
Reference in a new issue