From 12fce1495207a87af28345a72e4ff396ef6ed190 Mon Sep 17 00:00:00 2001 From: Josef Moravec Date: Fri, 10 Jan 2020 09:11:30 +0000 Subject: [PATCH] Bug 23354: (QA follow-up) Mark boolean columns in schema Signed-off-by: Josef Moravec Signed-off-by: Martin Renvoize --- Koha/Schema/Result/AccountDebitType.pm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Koha/Schema/Result/AccountDebitType.pm b/Koha/Schema/Result/AccountDebitType.pm index 5a858d8256..8772813c2e 100644 --- a/Koha/Schema/Result/AccountDebitType.pm +++ b/Koha/Schema/Result/AccountDebitType.pm @@ -136,6 +136,14 @@ __PACKAGE__->add_columns( '+is_system' => { is_boolean => 1 } ); +__PACKAGE__->add_columns( + "+can_be_sold" => { is_boolean => 1 } +); + +__PACKAGE__->add_columns( + "+can_be_invoiced" => { is_boolean => 1 } +); + sub koha_objects_class { 'Koha::Account::DebitTypes'; } -- 2.39.5