Bug 28344: Restore ability to issue refund against older payments
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 13 May 2021 10:25:36 +0000 (11:25 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 2 Jul 2021 11:13:59 +0000 (07:13 -0400)
commita5d1614da6931eca76d511f1f2f989bba31faccc
treeeaf87e47d105cc4cedfc81ba3a6e5c3c7f268809
parent5fe58f540029ede40768db4801113ff9dcbdc181
Bug 28344: Restore ability to issue refund against older payments

When implimenting the refund features into the point of sale system, it
appears that at some point we lost the ability to apply refunds against
accountlines in the historic transactions table. This patch restores
that ability.

Test plan:
1/ Add some transations via the point of sale system
2/ Navigate to the 'register details' page and note that you have the
option to refund some of the lines.
3/ Use the Cashup option to make the transactions historic
4/ Refresh the page and then select a past date to see the historic
transactions in the second datatable
5/ Note that the option to refund has not dissapeared from all lines
6/ Apply patch
7/ Refresh and note the refund option now appears as expected.

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt