Bug 12165: (follow-up) display record title
The code introduced by bug 2546 uses an undefined variable (line.title). It should be ACCOUNT_LINE.title. Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
parent
19d8f790d7
commit
eedaec6e45
2 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,7 @@
|
||||||
[% CASE %][% ACCOUNT_LINE.accounttype %]
|
[% CASE %][% ACCOUNT_LINE.accounttype %]
|
||||||
[%- END -%]
|
[%- END -%]
|
||||||
[%- IF ACCOUNT_LINE.description %], [% ACCOUNT_LINE.description %][% END %]
|
[%- IF ACCOUNT_LINE.description %], [% ACCOUNT_LINE.description %][% END %]
|
||||||
[% IF line.title %]([% line.title |html_entity %])[% END %]
|
[% IF ACCOUNT_LINE.title %]([% ACCOUNT_LINE.title %])[% END %]
|
||||||
</td>
|
</td>
|
||||||
[% IF ( ACCOUNT_LINE.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% ACCOUNT_LINE.amount %]</td>
|
[% IF ( ACCOUNT_LINE.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% ACCOUNT_LINE.amount %]</td>
|
||||||
[% IF ( ACCOUNT_LINE.amountoutstandingcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% ACCOUNT_LINE.amountoutstanding %]</td>
|
[% IF ( ACCOUNT_LINE.amountoutstandingcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% ACCOUNT_LINE.amountoutstanding %]</td>
|
||||||
|
|
|
@ -54,7 +54,7 @@
|
||||||
[% CASE %][% ACCOUNT_LINE.accounttype %]
|
[% CASE %][% ACCOUNT_LINE.accounttype %]
|
||||||
[%- END -%]
|
[%- END -%]
|
||||||
[%- IF ACCOUNT_LINE.description %], [% ACCOUNT_LINE.description %][% END %]
|
[%- IF ACCOUNT_LINE.description %], [% ACCOUNT_LINE.description %][% END %]
|
||||||
[% IF line.title %]([% line.title |html_entity %])[% END %]
|
[% IF ACCOUNT_LINE.title %]([% ACCOUNT_LINE.title %])[% END %]
|
||||||
</td>
|
</td>
|
||||||
[% IF ( ACCOUNT_LINE.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% ACCOUNT_LINE.amount %]</td>
|
[% IF ( ACCOUNT_LINE.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% ACCOUNT_LINE.amount %]</td>
|
||||||
[% IF ( ACCOUNT_LINE.amountoutstandingcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% ACCOUNT_LINE.amountoutstanding %]</td>
|
[% IF ( ACCOUNT_LINE.amountoutstandingcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% ACCOUNT_LINE.amountoutstanding %]</td>
|
||||||
|
|
Loading…
Reference in a new issue