From eed4bc237925b3f4a0df57382d4aa38963aa8f21 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 Sponsored-by: Cuyahoga County Public Library Signed-off-by: David Nind Signed-off-by: Nick Clemens Signed-off-by: Katrin Fischer --- Koha/Schema/Result/Category.pm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/Koha/Schema/Result/Category.pm b/Koha/Schema/Result/Category.pm index f9deb1a9e0..4458ca5d7e 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 -- 2.39.5