Bug 19919: Stop using paidfor altogether
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 3 May 2019 14:44:35 +0000 (15:44 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 15 Jul 2019 10:28:05 +0000 (11:28 +0100)
commit0f54a1f8c654e911c9e6254762586e3eeb786528
tree2696c7826a9c8c6aa038acec780fbc72e34eefa0
parent92bf8082c372d4cf055336da7539bf214847249f
Bug 19919: Stop using paidfor altogether

This patch removed references to setting and getting the items.paidfor
field. Where it was used for display, in moredetail.pl, we replace it
with a query on the accountlines.

Test plan:
1) Apply patch
2) Pay off a LOST item
3) Check for the associated display of 'Paidfor?:' on the itemdetails
page
4) Writeoff a LOST item
5) Check that a 'Paidfor?:' is not displayed on the itemdetails page.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Circulation.pm
C4/Items.pm
Koha/Account/Line.pm
admin/columns_settings.yml
catalogue/moredetail.pl
koha-tmpl/intranet-tmpl/prog/en/columns.def