https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44053
Bug ID: 44053
Summary: LibraryName called in ACCOUNT_CREDIT doesn't print
anything
Initiative type: ---
Sponsorship ---
status:
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: trivial
Priority: P5 - low
Component: Notices
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
Target Milestone: ---
Other slips that use this use the preference us [% IF
Koha.Preference('LibraryName') %][% Koha.Preference('LibraryName') %][% ELSE
%]the library[% END %]
We should do something similar here.
To recreate:
1. Enter something in the system preference LibraryName
2. Go to 23529000035676, create a manual invoice for any amount
3. Pay off the manual fee
4. Go to the transactions and print the slip
Observe you don't see the name from the preference
5. Go to edit the ACCOUNT_CREDIT notice
replace
[% IF ( LibraryName ) %]
<tr>
<th colspan="2" class="centerednames">
<h3>[% LibraryName | html %]</h3>
</th>
</tr>
[% END %]
with
[% IF Koha.Preference('LibraryName') %]
<tr>
<th colspan="2" class="centerednames">
<h3>[% Koha.Preference('LibraryName') %]</h3>
</th>
</tr>
[% END %]
6. Repeat step 4, your LibraryName should now print.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/