]> git.koha-community.org Git - koha.git/commit
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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Sat, 10 Jul 2021 02:14:09 +0000 (16:14 -1000)
commit036165611c898322df6c0388a8ba9dfdb13b5151
tree31291325546593c75c587b39e41c12ba5949b326
parenta7905b6773f05976787b8af11045e65b825230e4
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>
(cherry picked from commit a5d1614da6931eca76d511f1f2f989bba31faccc)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt