From 72cd980da57b920097aad3ffc3b8977033c72df4 Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Mon, 22 Jan 2024 12:14:19 +0000 Subject: [PATCH] Bug 28924: Add DBIC file Signed-off-by: David Nind --- Koha/Schema/Result/Category.pm | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/Category.pm b/Koha/Schema/Result/Category.pm index 927e7bd33d..265e4f0b57 100644 --- a/Koha/Schema/Result/Category.pm +++ b/Koha/Schema/Result/Category.pm @@ -213,6 +213,27 @@ set required password strength for patrons in this category Exclude patrons of this category from local holds priority +=head2 noissuescharge + + data_type: 'integer' + is_nullable: 1 + +define maximum amount withstanding before checkouts are blocked + +=head2 noissueschargeguarantees + + data_type: 'integer' + is_nullable: 1 + +define maximum amount withstanding before checkouts are blocked + +=head2 noissueschargeguarantorswithguarantees + + data_type: 'integer' + is_nullable: 1 + +define maximum amount withstanding before checkouts are blocked + =cut __PACKAGE__->add_columns( @@ -281,6 +302,12 @@ __PACKAGE__->add_columns( { data_type => "tinyint", is_nullable => 1 }, "exclude_from_local_holds_priority", { data_type => "tinyint", is_nullable => 1 }, + "noissuescharge", + { data_type => "integer", is_nullable => 1 }, + "noissueschargeguarantees", + { data_type => "integer", is_nullable => 1 }, + "noissueschargeguarantorswithguarantees", + { data_type => "integer", is_nullable => 1 }, ); =head1 PRIMARY KEY @@ -388,8 +415,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-11-01 20:49:52 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:r0Mftlw4TU7x+Ze2pAlwYQ +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2024-01-22 10:25:59 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:T7D8IaPgpSAit0VkrCQnrw sub koha_object_class { 'Koha::Patron::Category'; -- 2.39.2