Bugzilla – Attachment 103590 Details for
Bug 24161
Add ability to track the claim dates of later orders
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24161: Add the Koha::Acquisition::Order::Claim[s] classes
Bug-24161-Add-the-KohaAcquisitionOrderClaims-class.patch (text/plain), 3.23 KB, created by
PTFS Europe Sandboxes
on 2020-04-23 12:21:58 UTC
(
hide
)
Description:
Bug 24161: Add the Koha::Acquisition::Order::Claim[s] classes
Filename:
MIME Type:
Creator:
PTFS Europe Sandboxes
Created:
2020-04-23 12:21:58 UTC
Size:
3.23 KB
patch
obsolete
>From 6f81b67ecf5946ea1bd707a8bc862035526c4918 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 16 Dec 2019 17:34:12 +0100 >Subject: [PATCH] Bug 24161: Add the Koha::Acquisition::Order::Claim[s] classes > >Sponsored-by: Cork Institute of Technology > >Signed-off-by: Angela O'Connor Desmond <angela.oconnordesmond@staff.ittralee.ie> >--- > Koha/Acquisition/Order/Claim.pm | 44 +++++++++++++++++++++++++++++++++++ > Koha/Acquisition/Order/Claims.pm | 50 ++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 94 insertions(+) > create mode 100644 Koha/Acquisition/Order/Claim.pm > create mode 100644 Koha/Acquisition/Order/Claims.pm > >diff --git a/Koha/Acquisition/Order/Claim.pm b/Koha/Acquisition/Order/Claim.pm >new file mode 100644 >index 0000000000..1fb7bc113b >--- /dev/null >+++ b/Koha/Acquisition/Order/Claim.pm >@@ -0,0 +1,44 @@ >+package Koha::Acquisition::Order::Claim; >+ >+# This file is part of Koha. >+# >+# Koha is free software; you can redistribute it and/or modify it under the >+# terms of the GNU General Public License as published by the Free Software >+# Foundation; either version 3 of the License, or (at your option) any later >+# version. >+# >+# Koha is distributed in the hope that it will be useful, but WITHOUT ANY >+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR >+# A PARTICULAR PURPOSE. See the GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License along >+# with Koha; if not, write to the Free Software Foundation, Inc., >+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. >+ >+use Modern::Perl; >+ >+use Carp; >+ >+use Koha::Database; >+ >+use base qw(Koha::Object); >+ >+=head1 NAME >+ >+Koha::Acquisition::Order::Claim - Koha Claim Object class >+ >+=head1 API >+ >+=head2 Class methods >+ >+=head2 Internal methods >+ >+=head3 _type >+ >+=cut >+ >+sub _type { >+ return 'AqordersClaim'; >+} >+ >+1; >diff --git a/Koha/Acquisition/Order/Claims.pm b/Koha/Acquisition/Order/Claims.pm >new file mode 100644 >index 0000000000..5423dbabb0 >--- /dev/null >+++ b/Koha/Acquisition/Order/Claims.pm >@@ -0,0 +1,50 @@ >+package Koha::Acquisition::Order::Claims; >+ >+# This file is part of Koha. >+# >+# Koha is free software; you can redistribute it and/or modify it under the >+# terms of the GNU General Public License as published by the Free Software >+# Foundation; either version 3 of the License, or (at your option) any later >+# version. >+# >+# Koha is distributed in the hope that it will be useful, but WITHOUT ANY >+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR >+# A PARTICULAR PURPOSE. See the GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License along >+# with Koha; if not, write to the Free Software Foundation, Inc., >+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. >+ >+use Modern::Perl; >+ >+use Carp; >+ >+use Koha::Database; >+ >+use Koha::Acquisition::Order::Claim; >+ >+use base qw(Koha::Objects); >+ >+=head1 NAME >+ >+Koha::Cities - Koha Claim Object set class >+ >+=head1 API >+ >+=head2 Class Methods >+ >+=cut >+ >+=head3 type >+ >+=cut >+ >+sub _type { >+ return 'AqordersClaim'; >+} >+ >+sub object_class { >+ return 'Koha::Acquisition::Order::Claim'; >+} >+ >+1; >-- >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 24161
:
97114
|
97115
|
97116
|
97117
|
97118
|
97119
|
97470
|
97471
|
97472
|
98280
|
98522
|
98523
|
98524
|
98525
|
98526
|
98527
|
102111
|
102112
|
102113
|
102114
|
102115
|
102116
|
102220
|
102222
|
103567
|
103568
|
103569
|
103570
|
103571
|
103588
|
103589
|
103590
|
103591
|
103592
|
103593
|
103594
|
103595
|
104190
|
104191
|
104207
|
104208
|
104209
|
104210
|
104211
|
104212
|
104213
|
104214
|
104215
|
104216
|
104258
|
104259
|
104265
|
104826
|
104848