Bugzilla – Attachment 65244 Details for
Bug 18267
Update price and tax fields in EDI to reflect DB changes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix unexported interface to Acq routine
0001-Bug-18267-populate_order_with_prices-should-be-expor.patch (text/plain), 1.15 KB, created by
Colin Campbell
on 2017-07-25 15:38:38 UTC
(
hide
)
Description:
Fix unexported interface to Acq routine
Filename:
MIME Type:
Creator:
Colin Campbell
Created:
2017-07-25 15:38:38 UTC
Size:
1.15 KB
patch
obsolete
>From bb26213f6f7f9f7b9a8670450f6b6920901bbeb5 Mon Sep 17 00:00:00 2001 >From: Colin Campbell <colin.campbell@ptfs-europe.com> >Date: Fri, 17 Mar 2017 12:17:22 +0000 >Subject: [PATCH 1/7] Bug 18267 populate_order_with_prices should be exported > >Although routine is used in acqui scripts, access to it >is by backdoor methods. Allow it to be exported in a standard way >to allow more maintainable code. > >Effectively this patch merely documents that this routine >is part of C4/Acquisition's interface and allows users to import >it in the standard way. >--- > C4/Acquisition.pm | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm >index ebbe44b106..f71a1b3829 100644 >--- a/C4/Acquisition.pm >+++ b/C4/Acquisition.pm >@@ -44,7 +44,7 @@ use MARC::Record; > > use Time::localtime; > >-use vars qw(@ISA @EXPORT); >+use vars qw(@ISA @EXPORT @EXPORT_OK); > > BEGIN { > require Exporter; >@@ -94,12 +94,14 @@ BEGIN { > > &FillWithDefaultValues > ); >+ @EXPORT_OK = qw( populate_order_with_prices ); > } > > > > > >+ > sub GetOrderFromItemnumber { > my ($itemnumber) = @_; > my $dbh = C4::Context->dbh; >-- >2.13.3 >
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 18267
:
61600
|
61601
|
61602
|
61605
|
61606
|
65244
|
65245
|
65246
|
65250
|
65251
|
65252
|
65253
|
65254
|
68536
|
68707
|
68708
|
68709
|
68710
|
68711
|
68712
|
68713
|
68714
|
113569
|
113597
|
113897