]> git.koha-community.org Git - koha.git/commit
Bug 22435: Update accountline-details page to show all history
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 14 May 2021 14:39:03 +0000 (15:39 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 4 Aug 2021 12:06:43 +0000 (14:06 +0200)
commitc475d4d97b910fed8d57a01cc84a26f21277547d
tree73326a18b8352b2289c70c16381075d9ca8e3250
parent47c589bea1d18d3ac0d352802ec79e0094bc8aba
Bug 22435: Update accountline-details page to show all history

The accountline-details page took a simplistic approach to displaying
the history of an accountline. This patch drops the now defunct
offset_type_description template block from it's respective include
files, and then updates the accountline-details template and controller
to show the full history of what's happend to the accountline passed.
This includes the creation, any increments/decrements (for fines), and
finally any offsets against the total (payments, cancellations, voids).

Test plan
1/ Create some credits and debits and apply them to each other in
various combinations.
2/ View the 'Details' page for some of the debit/credits
3/ Compare before patch and after for the Details page.

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Account/Line.pm
koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc
koha-tmpl/intranet-tmpl/prog/en/modules/members/accountline-details.tt
koha-tmpl/opac-tmpl/bootstrap/en/includes/accounts.inc
members/accountline-details.pl