Bugzilla – Attachment 145190 Details for
Bug 32450
Make it possible to exclude debit types from charges counted for circulation restriction (noissuecharge)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32450: DBIC Schema
Bug-32450-DBIC-Schema.patch (text/plain), 1.61 KB, created by
Martin Renvoize (ashimema)
on 2023-01-10 14:51:57 UTC
(
hide
)
Description:
Bug 32450: DBIC Schema
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2023-01-10 14:51:57 UTC
Size:
1.61 KB
patch
obsolete
>From 895064d43a35708d168d13452d828f5decf0617a Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Tue, 10 Jan 2023 14:49:50 +0000 >Subject: [PATCH] Bug 32450: DBIC Schema > >--- > Koha/Schema/Result/AccountDebitType.pm | 14 ++++++++++++-- > 1 file changed, 12 insertions(+), 2 deletions(-) > >diff --git a/Koha/Schema/Result/AccountDebitType.pm b/Koha/Schema/Result/AccountDebitType.pm >index 74c6da8a80b..abdc3b6859c 100644 >--- a/Koha/Schema/Result/AccountDebitType.pm >+++ b/Koha/Schema/Result/AccountDebitType.pm >@@ -71,6 +71,14 @@ boolean flag to denote if this debit type is available at point of sale > > boolean flag to denote if this till is archived or not > >+=head2 restricts_checkouts >+ >+ data_type: 'tinyint' >+ default_value: 1 >+ is_nullable: 0 >+ >+boolean flag to denote if the noissuescharge syspref for this debit type is active >+ > =cut > > __PACKAGE__->add_columns( >@@ -88,6 +96,8 @@ __PACKAGE__->add_columns( > { data_type => "tinyint", default_value => 0, is_nullable => 0 }, > "archived", > { data_type => "tinyint", default_value => 0, is_nullable => 0 }, >+ "restricts_checkouts", >+ { data_type => "tinyint", default_value => 1, is_nullable => 0 }, > ); > > =head1 PRIMARY KEY >@@ -135,8 +145,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ulpJRbi7H40EXr1QG+URKg >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-01-10 14:49:18 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9+mMPMSWcc/PwryYNQ2Jqg > > __PACKAGE__->add_columns( > '+is_system' => { is_boolean => 1 } >-- >2.39.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 32450
:
145080
|
145081
|
145127
|
145128
|
145171
|
145172
|
145189
|
145190
|
145191
|
145194
|
145198
|
147563
|
149653
|
149654
|
149655
|
149656
|
149657
|
149658
|
149659
|
149660
|
149858
|
149859
|
149872
|
149873
|
149874
|
149875
|
149876
|
149877
|
149878
|
149879
|
149880
|
149881
|
149882