Bug 26939: Use AV description in sales table display
commit49658d43c3e3bb4064afdad824153325d2216083
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 3 Nov 2020 09:57:32 +0000 (3 09:57 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 18 Nov 2020 08:34:48 +0000 (18 09:34 +0100)
tree484502b45d9e43184a89bddf960869a83eacfc93
parent258d475d5f4bb306496dc90b9c602fd776a6c545
Bug 26939: Use AV description in sales table display

Content should use the description rather than the code

Test plan
1/ Enable 'UseCashRegisters'
2/ Make some payments against a cash register
3/ Navigate to the cash register summary page via tools > cashup
registers > register name
4/ Note that the payment type you selected at payment time appears as
the code of the authorized value as aposed to the description.
5/ Apply patch
6/ Refresh page
7/ The payment type should now contain the description

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt