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)
committerChris Cormack <chrisc@catalyst.net.nz>
Mon, 24 May 2010 18:55:43 +0000 (06:55 +1200)
commit7cd47b0e84bf4e52a5b66f940640a04d77194c34
tree148f5163ecdff1884848f8aad86038a478e1d6af
parent2b86da48a4044aed3420d4bca127de2bb62ed536
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