]> git.koha-community.org Git - koha.git/commit
Bug 17128: Make summary-print.pl plack safe
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 15 Aug 2016 14:45:38 +0000 (15:45 +0100)
committerJulian Maurice <julian.maurice@biblibre.com>
Fri, 16 Sep 2016 06:56:44 +0000 (08:56 +0200)
commitcdc9132492d0c7d89514bc880f0bef7d2f65aa8c
tree5990a1853b2902efed8ddfa1891fd409f20b681e
parent8af766cc52057f73c025918fb359acf33901da52
Bug 17128: Make summary-print.pl plack safe

$borrowernumber is used in build_issue_data but not correctly defined
(Variable "$borrowernumber" is not available)

That may cause wrong charge displayed in the summary slip.

Test plan:
- Set rental charge for an item type
- Define a rental discount for that item type in the circ rules
- check in an item matching this rule
Without this patch the charge displayed in the summary slip won't be
calculated with the discount
With this patch applied, the warning in the logs will no longer appear
and the values will be correctly calculated.

Signed-off-by: Marc Véron <veron@veron.ch>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 2cf1e97e5cb6531f0d1d504dda35a836d86466c2)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit ade3ffb5ac38f675ea96a9119ff14ca15d48f9dc)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
members/summary-print.pl