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 20d9ed618f
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>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
bf315c45cf
commit
ed848e167a
|
|
@ -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};
|
||||
|
|
|
|||
Loading…
Reference in New Issue