Bug 10922: Display whether prices are include or don't include tax when creating...
authorMathieu Saby <mathieu.saby@univ-rennes2.fr>
Fri, 20 Sep 2013 11:09:38 +0000 (13:09 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 23 Jan 2014 16:56:11 +0000 (16:56 +0000)
commit1b56285e2250737a1a2282f2e3e8b4d0f1e0818c
tree7eab4bc1c65890ee54354c58a833da580edd9d10
parent9237ee80c4e6724f56999c86767477907426aac3
Bug 10922: Display whether prices are include or don't include tax when creating a new order

This patch adds "(tax inc.)" or "(tax exc.)" after the "Vendor price",
"Replacement cost", "Budgeted cost" and "Actual cost" when entering
a new order.  This reflects the value of the list and invoice prices
include/don't include tax flags in the vendor record.

Actual cost must probably not be displayed here, but it will be the
subject of an other patch.

To test :
- create 2 vendors, with differents values for "List prices includes
  tax" and "Invoiced prices does includes tax" options
- create baskets for these 2 vendors
- create an order in each basket, and look at the "tax. inc." and
  "tax exc" mention. It should be consistent with the options for
  each vendor
- look at an order adding "&close=1" to the normal URL of the order.
  You must see the order without ability to edit it, but with the same
  mentions "tax inc." and "tax exc."

Signed-off-by: Isabelle Beroud <isabelle.beroud@univ-lyon3.fr>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes tests and QA script.
I have some doubts about the calculations done here, but the
display changes are correct.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt