diff --git a/pos/pay.pl b/pos/pay.pl index e8bec0013d..c83405321e 100755 --- a/pos/pay.pl +++ b/pos/pay.pl @@ -51,7 +51,8 @@ my $library_id = C4::Context->userenv->{'branch'}; my $registerid = $input->param('registerid'); my $invoice_types = - Koha::Account::DebitTypes->search_with_library_limits( { can_be_sold => 1 }, + Koha::Account::DebitTypes->search_with_library_limits( + { can_be_sold => 1, archived => 0 }, {}, $library_id ); $template->param( invoice_types => $invoice_types );