Bugzilla – Attachment 67905 Details for
Bug 15685
Allow creation of items (AcqCreateItem) to be customizable per-basket
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15685: POD
Bug-15685-POD.patch (text/plain), 1.84 KB, created by
Jonathan Druart
on 2017-10-10 20:48:21 UTC
(
hide
)
Description:
Bug 15685: POD
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-10-10 20:48:21 UTC
Size:
1.84 KB
patch
obsolete
>From f27ac0ff3bf7be249a575c29f302769b84a2da54 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Thu, 5 Oct 2017 11:38:52 -0300 >Subject: [PATCH] Bug 15685: POD > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > Koha/Acquisition/Basket.pm | 4 +++- > Koha/Acquisition/Baskets.pm | 6 ++---- > Koha/Acquisition/Order.pm | 10 +++++++++- > 3 files changed, 14 insertions(+), 6 deletions(-) > >diff --git a/Koha/Acquisition/Basket.pm b/Koha/Acquisition/Basket.pm >index 9179c43a24..98e4bd45b5 100644 >--- a/Koha/Acquisition/Basket.pm >+++ b/Koha/Acquisition/Basket.pm >@@ -58,7 +58,9 @@ sub effective_create_items { > return $self->create_items || C4::Context->preference('AcqCreateItem'); > } > >-=head3 type >+=head2 Internal methods >+ >+=head3 _type > > =cut > >diff --git a/Koha/Acquisition/Baskets.pm b/Koha/Acquisition/Baskets.pm >index 1e4def1211..2de46835a7 100644 >--- a/Koha/Acquisition/Baskets.pm >+++ b/Koha/Acquisition/Baskets.pm >@@ -30,11 +30,9 @@ Koha::Acquisition::Baskets - Koha Baskets object set class > > =head1 API > >-=head2 Class Methods >+=head2 Internal methods > >-=cut >- >-=head3 type >+=head3 _type > > =cut > >diff --git a/Koha/Acquisition/Order.pm b/Koha/Acquisition/Order.pm >index c13f445bd8..5f7b7d940d 100644 >--- a/Koha/Acquisition/Order.pm >+++ b/Koha/Acquisition/Order.pm >@@ -31,7 +31,7 @@ Koha::Acquisition::Order Object class > > =head1 API > >-=head2 Class Methods >+=head2 Class methods > > =head3 new > >@@ -99,6 +99,14 @@ sub add_item { > $rs->create({ ordernumber => $self->ordernumber, itemnumber => $itemnumber }); > } > >+=head3 basket >+ >+ my $basket = Koha::Acquisition::Orders->find( $id )->basket; >+ >+Returns the basket associated to the order. >+ >+=cut >+ > sub basket { > my ( $self ) = @_; > return Koha::Acquisition::Baskets->find( $self->{basketno} ); >-- >2.11.0
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 15685
:
47783
|
55094
|
55096
|
57390
|
57392
|
57395
|
57424
|
57425
|
57426
|
57427
|
64918
|
64919
|
64920
|
64921
|
64922
|
65119
|
65120
|
65121
|
65122
|
65895
|
65896
|
65897
|
65898
|
65899
|
65900
|
66119
|
66120
|
66121
|
66122
|
66123
|
66124
|
67638
|
67639
|
67640
|
67641
|
67642
|
67643
|
67644
|
67645
|
67646
|
67647
|
67689
|
67690
|
67691
|
67692
|
67693
|
67694
|
67695
|
67696
|
67697
|
67698
|
67884
|
67898
|
67899
|
67900
|
67901
|
67902
|
67903
|
67904
| 67905 |
67906
|
67907
|
67908
|
67909
|
67910
|
67911