Bug 5186 - allow tax rates to be set to zero (master)
authorRobin Sheat <robin@catalyst.net.nz>
Fri, 17 Dec 2010 03:40:57 +0000 (22:40 -0500)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 21 Dec 2010 01:34:05 +0000 (14:34 +1300)
commit8e5ee007db451f62fe17c456215013e422f25bec
tree92abfa8c9a183a123e38ebaf339ef9f0722a720c
parent37758541580ea85a68f23382f36a71375adc75a7
Bug 5186 - allow tax rates to be set to zero (master)

This allows the tax rate for a vendor to be set to zero. Previously, a
zero meant that the system default was used. Now, zero means no tax, and
to have it be the default the field should simply be left empty.
Additionally:
* this will now show on the vendor display if the tax value is from the
  system default
* this includes a database update that changes all the existing 0.00 tax
  settings to be NULL, which preserves existing behaviour.
* this now saves the tax value supplied for new vendors

Note: this patch applies against master

Signed-off-by: Nicole Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/Bookseller.pm
acqui/addorderiso2709.pl
acqui/basket.pl
acqui/basketgroup.pl
acqui/neworderempty.pl
acqui/orderreceive.pl
acqui/parcel.pl
acqui/supplier.pl
acqui/updatesupplier.pl
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tmpl