Bugzilla – Attachment 57254 Details for
Bug 17563
Acquisition/CancelReceipt.t is broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 17563: Fix Acquisition/CancelReceipt.t
SIGNED-OFF-Bug-17563-Fix-AcquisitionCancelReceiptt.patch (text/plain), 1.28 KB, created by
Josef Moravec
on 2016-11-07 11:32:59 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 17563: Fix Acquisition/CancelReceipt.t
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2016-11-07 11:32:59 UTC
Size:
1.28 KB
patch
obsolete
>From 9f2c078ad2448ab38e6412a8fa530439d880fb72 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 7 Nov 2016 10:55:06 +0000 >Subject: [PATCH] [SIGNED-OFF] Bug 17563: Fix Acquisition/CancelReceipt.t > >Test plan: > prove t/db_dependent/Acquisition/CancelReceipt.t >should return green > >Confirm that the changes made by > commit 20d9ed618fbe3cdcb9c04444a1f8a584b0364069 > Bug 13321: Rename variables >was wrong for the budget_id var and that this patch reverts it > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > C4/Acquisition.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm >index 771f468..3b255b4 100644 >--- a/C4/Acquisition.pm >+++ b/C4/Acquisition.pm >@@ -1460,7 +1460,7 @@ sub ModReceiveOrder { > $query .= q| where biblionumber=? and ordernumber=?|; > > my $sth = $dbh->prepare( $query ); >- my @params = ( $quantrec, $datereceived, $invoice->{invoiceid}, $budget_id ); >+ my @params = ( $quantrec, $datereceived, $invoice->{invoiceid}, ( $budget_id ? $budget_id : $order->{budget_id} ) ); > > if ( defined $order->{unitprice} ) { > push @params, $order->{unitprice}, $order->{unitprice_tax_included}, $order->{unitprice_tax_excluded}; >-- >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 17563
:
57250
|
57254
|
57346
|
57347