Bugzilla – Attachment 56959 Details for
Bug 13321
Fix tax and prices calculation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13321: Fix tests in Budgets.t
Bug-13321-Fix-tests-in-Budgetst.patch (text/plain), 2.01 KB, created by
Jonathan Druart
on 2016-10-28 15:24:02 UTC
(
hide
)
Description:
Bug 13321: Fix tests in Budgets.t
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-10-28 15:24:02 UTC
Size:
2.01 KB
patch
obsolete
>From 4a135cba2ec1d37da7a6d9edc0dc7d59f1183f8f Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 28 Oct 2016 15:22:20 +0000 >Subject: [PATCH] Bug 13321: Fix tests in Budgets.t > >--- > t/db_dependent/Budgets.t | 14 +++++--------- > 1 file changed, 5 insertions(+), 9 deletions(-) > >diff --git a/t/db_dependent/Budgets.t b/t/db_dependent/Budgets.t >index f2a0bcb..a758b6d 100755 >--- a/t/db_dependent/Budgets.t >+++ b/t/db_dependent/Budgets.t >@@ -331,14 +331,12 @@ for my $infos (@order_infos) { > order_internalnote => "internal note", > order_vendornote => "vendor note", > quantity => 2, >- cost => $item_price, >- rrp => $item_price, >+ cost_tax_included => $item_price, >+ rrp_tax_included => $item_price, > listprice => $item_price, >- ecost => $item_price, >- rrp => $item_price, >+ ecost_tax_include => $item_price, > discount => 0, > uncertainprice => 0, >- tax_rate => 0, > } > )->insert; > my $ordernumber = $order->{ordernumber}; >@@ -355,13 +353,11 @@ for my $infos (@order_infos) { > order_vendornote => "vendor note", > quantity => $item_quantity, > cost => $item_price, >- rrp => $item_price, >+ rrp_tax_included => $item_price, > listprice => $item_price, >- ecost => $item_price, >- rrp => $item_price, >+ ecost_tax_included => $item_price, > discount => 0, > uncertainprice => 0, >- tax_rate => 0, > } > )->insert; > my $ordernumber = $order->{ordernumber}; >-- >2.1.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 13321
:
33789
|
33790
|
33791
|
33792
|
33793
|
34432
|
35152
|
35165
|
47489
|
47490
|
47491
|
47492
|
47493
|
47494
|
48867
|
48868
|
48869
|
48870
|
48871
|
48872
|
51080
|
51081
|
51082
|
51083
|
51084
|
51085
|
51643
|
51644
|
51645
|
51646
|
51647
|
51648
|
51649
|
52046
|
55168
|
55415
|
55416
|
55417
|
55418
|
55419
|
55420
|
55421
|
55422
|
55423
|
55427
|
56408
|
56422
|
56423
|
56424
|
56425
|
56426
|
56427
|
56428
|
56429
|
56430
|
56431
|
56432
|
56898
|
56899
|
56900
|
56901
|
56902
|
56903
|
56904
|
56905
|
56906
|
56907
|
56908
|
56909
|
56930
| 56959