From aa1c14742829be92485d6db48d785fbede8182ec Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Tue, 10 Jan 2023 16:32:40 +0000 Subject: [PATCH] Bug 32450: Add boolean to DBIC schema Adding boolean flag to DBIC schema. Test plan as per previous commits Signed-off-by: Marcel de Rooy Signed-off-by: Tomas Cohen Arazi --- Koha/Schema/Result/AccountDebitType.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Koha/Schema/Result/AccountDebitType.pm b/Koha/Schema/Result/AccountDebitType.pm index abdc3b6859..7b00d5883d 100644 --- a/Koha/Schema/Result/AccountDebitType.pm +++ b/Koha/Schema/Result/AccountDebitType.pm @@ -160,6 +160,10 @@ __PACKAGE__->add_columns( "+can_be_invoiced" => { is_boolean => 1 } ); +__PACKAGE__->add_columns( + "+restricts_checkouts" => { is_boolean => 1 } +); + sub koha_objects_class { 'Koha::Account::DebitTypes'; } -- 2.39.5