Bugzilla – Attachment 149654 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.70 KB, created by
Marcel de Rooy
on 2023-04-14 09:52:26 UTC
(
hide
)
Description:
Bug 32450: DBIC Schema
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2023-04-14 09:52:26 UTC
Size:
1.70 KB
patch
obsolete
>From 8d9cfcefd465949b4bcd9c7bc35681a83a02a8c0 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 >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > 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 74c6da8a80..abdc3b6859 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.30.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 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