Bugzilla – Attachment 124567 Details for
Bug 28956
Acquisitions: select correct default tax rate when receiving orders
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28956: correct default tax rate on orderreceive
Bug-28956-correct-default-tax-rate-on-orderreceive.patch (text/plain), 1.94 KB, created by
Wainui Witika-Park
on 2021-09-06 23:49:29 UTC
(
hide
)
Description:
Bug 28956: correct default tax rate on orderreceive
Filename:
MIME Type:
Creator:
Wainui Witika-Park
Created:
2021-09-06 23:49:29 UTC
Size:
1.94 KB
patch
obsolete
>From 0e9f0a4b89c8f07ba55f53b7f2c31a7d8191f34b Mon Sep 17 00:00:00 2001 >From: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> >Date: Mon, 6 Sep 2021 23:15:39 +0000 >Subject: [PATCH] Bug 28956: correct default tax rate on orderreceive > >When there is more than one tax rate defined in system preferences, and >a vendor has a tax rate that is not 0%, then when you are receiving an >order in a basket for that vendor, the default tax rate should be the >correct non 0 rate. This should be seen in acqui/orderreceive. > >To test: >1) Go to staff client >2) Go to Koha administration >3) Search for "tax rate" in system preferences >4) Add 0|0.15 into the preference >5) Create a vendor >6) Set vendor tax rate to 15% >7) Add a new basket to vendor >8) Add to basket >9) Add any sample order to basket - add actual cost >10) Close basket >11) Receive shipment >12) Make invoice >13) Click on Receive in the table >14) Should be on orderreceive.pl page >15) Observe tax rate default is 0% >16) Apply patch >17) Refresh page >18) Observe tax rate default is 15% > >Sponsored-by: Catalyst IT >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >index f62b228052..d5f2e97c9d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >@@ -342,6 +342,7 @@ > <label for="tax_rate">Tax rate: </label> > <select name="tax_rate" id="tax_rate"> > [% tax_rate = order.tax_rate_on_receiving || order.tax_rate_on_ordering %] >+ [% tax_rate = tax_rate + 0 %] > [% FOREACH gst IN gst_values %] > [% IF gst.option == tax_rate %] > <option value="[% gst.option | html %]" selected="selected">[% gst.option * 100 | html %]%</option> >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 28956
:
124567
|
126017