Bugzilla – Attachment 26453 Details for
Bug 11680
tax rate changes on edit
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11680: (follow-up) tax rate changes on edit
Bug-11680-follow-up-tax-rate-changes-on-edit.patch (text/plain), 1.49 KB, created by
Jonathan Druart
on 2014-03-19 14:13:57 UTC
(
hide
)
Description:
Bug 11680: (follow-up) tax rate changes on edit
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-03-19 14:13:57 UTC
Size:
1.49 KB
patch
obsolete
>From e94dd3ab535076d633e89a115f623f0936541052 Mon Sep 17 00:00:00 2001 >From: Jacek Ablewicz <abl@biblos.pk.edu.pl> >Date: Mon, 10 Feb 2014 10:09:21 +0100 >Subject: [PATCH] Bug 11680: (follow-up) tax rate changes on edit > >Follow-up to fix similar issue on vendor edit. > >If the tax rates in Acquisitions -> gist system preference >are entered with trailing zeroes, given vendor tax rate value >may not be correctly handled on vendor edit. > >Test plan for this follow-up: > >1) insert some tax rates with trailing zeroes in gist >system preference (e.g: '0|0.080|0.12|0.20|0.23') >2) add some vendors, choosing 8.0% 12.0% 20.0% 23.0% >as gst rate >3) try to modify them >4) note that vendors with 12.0% and 23.0% tax rates are >preserving previously choosen rates on edit, while >the ones with 8.0% and 20.0% do not (they are defaulting >to the first defined tax rate) >5) apply the patch >6) repeat 2) and 3) >7) all tax rates configured in system prefrence shall now >behave properly while editing vendors > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > acqui/supplier.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/acqui/supplier.pl b/acqui/supplier.pl >index df417c0..86aad0a 100755 >--- a/acqui/supplier.pl >+++ b/acqui/supplier.pl >@@ -137,7 +137,7 @@ if ( $op eq 'display' ) { > > # get option values from gist syspref > my @gst_values = map { >- option => $_ >+ option => $_ + 0.0 > }, split( '\|', C4::Context->preference("gist") ); > > $template->param( >-- >1.7.10.4
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 11680
:
25048
|
25059
|
25155
|
25169
|
26452
| 26453