[Koha-bugs] [Bug 11062] Invoice's shipment/shipping cost should be included PRE-gst tax (as an option)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 17 15:27:40 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11062

--- Comment #1 from simith.doliveira at inlibro.com ---
Created attachment 28891
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=28891&action=edit
Bug 11062 - Invoice's shipment/shipping cost should be included PRE-gst tax (as
an option)

Koha's users don't have the option to enter shipping tax.
This fix allow to vendors add a specific tax (included in gist preference) to
shipping cost.

Modified:
added two columns, shippingincgst and sgstrate in aqbooksellers. Some files
changed:
C4/Bookseller.pm
installer/data/mysql/kohastructure.sql
installer/data/mysql/updatedatabase.pl
acqui/updatesupplier.pl
acqui/supplier.pl
acqui/parcels.pl
t/db_dependent/Bookseller.t

acqui/invoice.pl - total_gste_shipment and total_gsti_shipment calcul changed

koha-tmpl/intranet-tmpl/prog/en/modiles/acqui/supplier.tt  - Shipping tax rate
and shipping include tax or don't include tax, added
koha-tmpl/intranet-tmpl/prog/en/modiles/acqui/parcels.tt   - "(tax exc.)" or
"(tax inc)" added beside "Shipping cost".
koha-tmpl/intranet-tmpl/prog/en/modiles/acqui/invoice.tt   - if shipping "tax
exc", add "Shipping cost (tax inc)" below "Shipping cost"

0) Apply the patch
1) Run updatedatabase.pl to add the two columns to aqbooksellers
2) Add some tax rates in gist preferences
3) Edit a vendor
4) Chose shipping prices: include tax or not
5) Chose a shipping tax rate
6) Save
7) Create an order in a vendor's basket
8) click button receive shipment
9) Validate "(tax exc.)" or "(tax inc)" added beside "Shipping cost".
10) Click link "Receive order" in pending orders
11) Save
12) Click Finish receiving
13) Validate shipping "tax ex", add "Shipping cost (tax inc)" below "Shipping
cost" if shipping "tax exc".
14) Validate last line "Total + Shipment cost (CDN)"

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list