Bugzilla – Attachment 74172 Details for
Bug 18786
Add ability to create custom payment types
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18786: Add PAYMENT_TYPE to the AV categories
Bug-18786-Add-PAYMENTTYPE-to-the-AV-categories.patch (text/plain), 1018 bytes, created by
Jonathan Druart
on 2018-04-13 16:16:15 UTC
(
hide
)
Description:
Bug 18786: Add PAYMENT_TYPE to the AV categories
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-04-13 16:16:15 UTC
Size:
1018 bytes
patch
obsolete
>From fc27868f1d51a46583d4c3fc2003b508a784b389 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 13 Apr 2018 13:15:57 -0300 >Subject: [PATCH] Bug 18786: Add PAYMENT_TYPE to the AV categories > >--- > installer/data/mysql/atomicupdate/bug_18786.perl | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/installer/data/mysql/atomicupdate/bug_18786.perl b/installer/data/mysql/atomicupdate/bug_18786.perl >index 7617bc5a4f..4d06f6ce80 100644 >--- a/installer/data/mysql/atomicupdate/bug_18786.perl >+++ b/installer/data/mysql/atomicupdate/bug_18786.perl >@@ -5,6 +5,8 @@ if( CheckVersion( $DBversion ) ) { > $dbh->do( "ALTER TABLE accountlines ADD `payment_type` varchar(80) default NULL AFTER accounttype" ); > } > >+ $dbh->do(q{INSERT IGNORE INTO authorised_value_categories( category_name ) VALUES ('PAYMENT_TYPE')}); >+ > SetVersion( $DBversion ); > print "Upgrade to $DBversion done (Bug 18786 - Add ability to create custom payment types)\n"; > } >-- >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 18786
:
64202
|
64203
|
64204
|
64288
|
64300
|
64301
|
64302
|
67476
|
67477
|
69155
|
69156
|
69157
|
71020
|
71021
|
72015
|
72016
|
72114
|
72115
|
72282
|
73628
|
74147
|
74148
|
74149
| 74172 |
74436
|
75401