Bug 4510 Script processes single supplier not an array
authorColin Campbell <colin.campbell@ptfs-europe.com>
Wed, 19 May 2010 17:42:38 +0000 (18:42 +0100)
committerGalen Charlton <gmcharlt@gmail.com>
Mon, 24 May 2010 13:37:42 +0000 (09:37 -0400)
commit47a29c2bef4ac72f2ad9de38e75a2503c2b735f2
tree9de3fc3314866e57aee6b43d6d7e25bd18f99dc6
parent3fac59ba6b58304954d92c23af81ba36fa2014d0
Bug 4510 Script processes single supplier not an array

Script was written as though it had an array rather than
a single supplier. Replaced the excess punctuation with a single
supplier variable

replaced the C-style currency loop with a simpler perl-style one
we only need 1 loop not multiples
Changed variable name $GST to $tax_rate it's not magical and not a constant
and we all know what tax is
Fetch Contract data once rather than twice from two different modules
Correct size of discount data on display

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
acqui/supplier.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tmpl