Bugzilla – Attachment 60032 Details for
Bug 15503
Grab Item Information from Order Files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 15503 - Populate the order prices
SIGNED-OFF-Bug-15503---Populate-the-order-prices.patch (text/plain), 1.34 KB, created by
Kyle M Hall (khall)
on 2017-02-08 17:03:18 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 15503 - Populate the order prices
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2017-02-08 17:03:18 UTC
Size:
1.34 KB
patch
obsolete
>From e50b72e4153546c886e7c7589510669d043ffea5 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 24 Jan 2017 08:15:35 -0800 >Subject: [PATCH] [SIGNED-OFF] Bug 15503 - Populate the order prices > >Signed-off-by: Benjamin Daeuber <bdaeuber@cityoffargo.com> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > acqui/addorderiso2709.pl | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > >diff --git a/acqui/addorderiso2709.pl b/acqui/addorderiso2709.pl >index ce57113..b0a74d1 100755 >--- a/acqui/addorderiso2709.pl >+++ b/acqui/addorderiso2709.pl >@@ -287,6 +287,18 @@ if ($op eq ""){ > > # remove uncertainprice flag if we have found a price in the MARC record > $orderinfo{uncertainprice} = 0 if $orderinfo{listprice}; >+ >+ %orderinfo = %{ >+ C4::Acquisition::populate_order_with_prices( >+ { >+ order => \%orderinfo, >+ booksellerid => $booksellerid, >+ ordering => 1, >+ receiving => 1, >+ } >+ ) >+ }; >+ > my $order = Koha::Acquisition::Order->new( \%orderinfo )->insert; > } > } >-- >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 15503
:
53493
|
54480
|
54660
|
55057
|
55616
|
55617
|
55926
|
55927
|
55928
|
56851
|
56852
|
57123
|
57124
|
57125
|
57715
|
58103
|
58132
|
58164
|
58165
|
58166
|
58376
|
58377
|
59093
|
59097
|
59415
|
59416
|
59417
|
59418
|
59419
|
59420
|
59421
|
59515
|
60025
|
60026
|
60027
|
60028
|
60029
|
60030
|
60031
|
60032
|
60203
|
60204
|
60205
|
60206
|
60207
|
60208
|
60209
|
60210
|
60211