Bugzilla – Attachment 154791 Details for
Bug 34445
Default budget is not selected in addorderiso2709.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34445: (QA follow-up) Tidy file
Bug-34445-QA-follow-up-Tidy-file.patch (text/plain), 1.19 KB, created by
Matt Blenkinsop
on 2023-08-25 09:52:25 UTC
(
hide
)
Description:
Bug 34445: (QA follow-up) Tidy file
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2023-08-25 09:52:25 UTC
Size:
1.19 KB
patch
obsolete
>From 0fa34bede8d51e923740b9caadfee90112ae54e7 Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> >Date: Fri, 25 Aug 2023 09:51:27 +0000 >Subject: [PATCH] Bug 34445: (QA follow-up) Tidy file > >perl tidy for patch >--- > acqui/addorderiso2709.pl | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/acqui/addorderiso2709.pl b/acqui/addorderiso2709.pl >index cba4c8cd56..a80759884d 100755 >--- a/acqui/addorderiso2709.pl >+++ b/acqui/addorderiso2709.pl >@@ -257,7 +257,9 @@ if ($op eq ""){ > # Group orderlines from MarcItemFieldsToOrder > my $budget_hash; > for (my $i = 0; $i < $count; $i++) { >- $budget_codes[$i] = $budget_id if !$budget_codes[$i]; # Use default budget if no budget selected in the UI >+ # Use default budget if no budget selected in the UI >+ $budget_codes[$i] = $budget_id >+ if !$budget_codes[$i]; > $budget_hash->{$budget_codes[$i]}->{quantity} += 1; > $budget_hash->{$budget_codes[$i]}->{price} = $itemprices[$i]; > $budget_hash->{$budget_codes[$i]}->{replacementprice} = $replacementprices[$i]; >-- >2.37.1 (Apple Git-137.1)
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 34445
:
154084
|
154085
|
154413
|
154791
|
154795
|
154874