From 19cbef661434861d934728cc72d70ea36dad2a1c 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 Content-Type: text/plain; charset=utf-8 Adding boolean flag to DBIC schema. Test plan as per previous commits Signed-off-by: Marcel de Rooy --- 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.30.2