]> git.koha-community.org Git - koha.git/commit
Bug 22511: (QA follow-up) Refactor status description in templates
authorJosef Moravec <josef.moravec@gmail.com>
Thu, 25 Apr 2019 08:28:13 +0000 (08:28 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 25 Apr 2019 11:02:14 +0000 (11:02 +0000)
commit43e6b00f093e7641470afce92547fa41c5a08fe8
treedb2d62948bd3cf310cfaadd4f830121744431699
parent1e95b94ea0c2e0115227c6cbf90cfae5dd0c5feb
Bug 22511: (QA follow-up) Refactor status description in templates

Test plan:

Before this patch, some accounttypes does not show status (for example
        voided payment)

After this patch, the status is always generated - defaults to empty
string

This behaviour should be same in intranet and opac

In OPAC templates there was even bug (used variable account instead of
        ACCOUNt_LINE), so the status was not shown at all

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc
koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc