]> git.koha-community.org Git - koha.git/commit
Bug 28181: Filter out archived debit types in point of sale
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 22 Apr 2021 12:11:59 +0000 (13:11 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 12 May 2021 14:38:02 +0000 (16:38 +0200)
commitd76972802ed246bcf6bc84c36600bbf3d56137bd
tree0931c0a8fbadbc4dc0fe8cd8da17b26d6e450937
parentc3ebd948cf95b2de108c48d74b30e0aa8cd5c5db
Bug 28181: Filter out archived debit types in point of sale

The filter for only displaying un-archived debit types on the point of
sale page had been missed.

NOTE: It would be beneficial to move this to a default filter in the
Koha:: objects search method for both debit_types and credit_types.. but
I opted for the quick fix here to resolve the bug and will impliment
default filtering in a subsequent enhancement bug.

Test plan
1/ Archive a debit type that is marked as 'Can be sold'
2/ Go to the point of sale page and confirm the above debit type appears
3/ Apply the patch
4/ Confirm the debit type no longer appears in the point of sale page.

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 5b26e5575049738e6ce18eb7a259c64db1ff1334)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
pos/pay.pl