Koha/koha-tmpl/intranet-tmpl/prog/en/modules/acqui
Alex Buckley 3ca1ab63ac
Bug 31631: Optionally use tax-exclusive values for calculating fund values
Test plan:
1. Apply patches
2. sudo koha-upgrade-schema <instance>
3. Restart services
4. Set TaxRates syspref = 0.15
5. Create a new fund with amount = 1000
6. Add an order to a basket with the following values:
- Fund = Choose the fund from step #5
- Quantity = 1
- Vendor price = 10
- Tax rate = 15%
- Discount = 20%
- Retail price = 10.00
- Replacement cost = 10.00
- Actual cost = 10.00
- Ensure the basket belongs to a vendor with ("List prices" = "Don't include tax" and "Invoice prices" = "Don't include tax")
7. Go to the Acquisitions home page
8. Confirm the 'Ordered' column for the step #5 fund contains 9.20
9. Click on the 9.20 link and confirm the ordered.pl page that loads
also contains 9.20 as the 'Subtotal'

10. Change 'CalculateFundValuesIncludingTax' = 'Exclude'
11. On the Acquisitions home page confirm the 'Ordered' column now
contains 8.00
12. Click on the 8.00 link and confirm the ordered.pl page also contains
8.00 as the 'Subtotal'

13. Close your basket and receive your order - change the 'Actual costs'
= 8.00 (the $10 retail price less the 20% discount, tax exclusive)
14. Go to the Acquisitions home page and confirm the 'Spent' column now
contains 8.00
15. Click on the 8.00 link and confirm the spent.pl page also contains
8.00 as the 'Subtotal'

16. Change 'CalculateFundValuesIncludingTax' = 'Include'
17. Confirm the 'Spent' column on the Acquisitions home page now shows
9.20
18. Click on the 9.20 link and confirm the spent.pl page also contains
9.20 as the 'Subtotal'

Sponsored-by: Waikato Institute of Technology, New Zealand

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-10-18 15:41:35 -03:00
..
csv Bug 28327: Unify CSV delimiter special behavior for tabulation 2022-08-19 15:53:12 -03:00
acqui-home.tt Bug 6419: Add StaffAuthoritiesHome block to additional contents 2023-10-18 15:41:29 -03:00
addorder.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
addorderiso2709.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
ajax.tt
basket.tt Bug 34752: Add AV handling to sort1/sort2 on baskets 2023-10-18 10:25:55 -03:00
basketgroup.tt Bug 34085: (follow-up) remove typo in Javascript 2023-09-08 11:54:57 -03:00
basketheader.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
booksellers.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
cancelorder.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
duplicate_orders.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
edi_ean.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
edifactmsgs.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
edimsg.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
histsearch.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
invoice-files.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
invoice.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
invoices.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
lateorders.tt Bug 34833: (follow-up): remove redundant spaces 2023-10-04 09:32:53 -04:00
moddeliverydate.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
modordernotes.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
neworderempty.tt Bug 34228: Add translation context to "Managed by" 2023-09-15 11:57:14 -03:00
neworderempty_duplicate.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
newordersubscription.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
newordersuggestion.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
ordered.tt Bug 31631: Optionally use tax-exclusive values for calculating fund values 2023-10-18 15:41:35 -03:00
orderreceive.tt Bug 34801: Fix incorrect use of __() in .tt and .inc files (bug 34038 follow-up) 2023-10-03 09:24:48 -04:00
parcel.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
parcels.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
showorder.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
spent.tt Bug 31631: Optionally use tax-exclusive values for calculating fund values 2023-10-18 15:41:35 -03:00
supplier.tt Bug 33499: (QA follow-up) Open external links in new tab 2023-09-22 12:35:48 -03:00
transferorder.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
uncertainprice.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00
vendor_issues.tt Bug 33105: Redirect to 404 if no vendor exists 2023-07-20 10:59:30 -03:00
z3950_search.tt Bug 33908: Improve translation of title tags: Acquisitions 2023-09-01 11:07:41 -03:00