[Bug 44053] New: LibraryName called in ACCOUNT_CREDIT doesn't print anything
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: koha-bugs@lists.koha-community.org Reporter: lisette@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: martin.renvoize@openfifth.co.uk 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.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org