Bugzilla – Attachment 85172 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-accountoffsettype.patch (text/plain), 1.21 KB, created by
Tomás Cohen Arazi (tcohen)
on 2019-02-15 14:09:51 UTC
(
hide
)
Description:
Bug 21728: Add 'Reserve Fee' to the account_offset_types
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2019-02-15 14:09:51 UTC
Size:
1.21 KB
patch
obsolete
>From 4a57f5c2e5d860fa1ddf293993f7ace3ab4a09fa 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 > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > .../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.20.1
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