Bugzilla – Attachment 82809 Details for
Bug 21728
Update C4::Reserves::ChargeReserveFee to use Koha::Account->add_debit
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21728 - Add 'Reserve Fee' to the account_offset_types
Bug-21728---Add-Reserve-Fee-to-the-accountoffsetty.patch (text/plain), 1.11 KB, created by
Martin Renvoize (ashimema)
on 2018-11-30 19:48:05 UTC
(
hide
)
Description:
Bug 21728 - Add 'Reserve Fee' to the account_offset_types
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2018-11-30 19:48:05 UTC
Size:
1.11 KB
patch
obsolete
>From 678ba94e11a520264594f16990ea48c253649bad Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Fri, 30 Nov 2018 19:45:19 +0000 >Subject: [PATCH] Bug 21728 - Add 'Reserve Fee' to the account_offset_types > >--- > .../bug_21728_add_accountoffset_reserve.perl | 9 +++++++++ > 1 file changed, 9 insertions(+) > create mode 100644 installer/data/mysql/atomicupdate/bug_21728_add_accountoffset_reserve.perl > >diff --git a/installer/data/mysql/atomicupdate/bug_21728_add_accountoffset_reserve.perl b/installer/data/mysql/atomicupdate/bug_21728_add_accountoffset_reserve.perl >new file mode 100644 >index 0000000000..c8014dc9c9 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_21728_add_accountoffset_reserve.perl >@@ -0,0 +1,9 @@ >+$DBversion = 'XXX'; # will be replaced by the RM >+if( CheckVersion( $DBversion ) ) { >+ $dbh->do(q{ >+ INSERT IGNORE INTO account_offset_types ( type ) VALUES ( 'Reserve Fee' ); >+ }); >+ >+ SetVersion( $DBversion ); >+ print "Upgrade to $DBversion done (Bug 21728 - Add 'Reserve Fee' to the account_offset_types table if missing)\n"; >+} >-- >2.19.2
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 21728
:
81791
|
81881
|
82808
|
82809
|
84278
|
84279
|
85171
|
85172
|
86032