diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml index 292c72b70d..8176529d76 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -319,6 +319,29 @@ modules: cannot_be_toggled: 1 cannot_be_modified: 1 + pay: + pay-fines-table: + - + columnname: checkbox + cannot_be_toggled: 1 + cannot_be_modified: 1 + - + columnname: actions + cannot_be_toggled: 1 + cannot_be_modified: 1 + - + columnname: description + - + columnname: date + - + columnname: note + - + columnname: account_type + - + columnname: amount + - + columnname: amountoutstanding + member: memberresultst: - diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss index e98bb380ca..4df909dfee 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -859,6 +859,7 @@ tfoot { td { background-color: #F3F3F3; font-weight: bold; + vertical-align: middle; } } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt index 207db5ac9e..f82fbeaadc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt @@ -4,10 +4,13 @@ [% USE AuthorisedValues %] [% USE Branches %] [% USE Price %] +[% USE ColumnsSettings %] +[% USE KohaDates %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %]
| - | Fines & charges | ++ | Actions | Description | -Payment note | +Date | +Payment note | Account type | Amount | Amount outstanding |
|---|---|---|---|---|---|---|---|---|---|---|
| Total due: | -[% IF outstanding_credits.total_outstanding < 0 %] -[% total + outstanding_credits.total_outstanding | $Price %] | -[% ELSE %] -[% total | $Price %] | -[% END %] -||||||||
| + | [% IF ( line.amountoutstanding > 0 ) %] - - [% IF CAN_user_updatecharges_writeoff %][% END %] + + [% IF CAN_user_updatecharges_writeoff %] + + [% END %] [% END %] @@ -107,26 +104,43 @@ [%- IF line.description %], [% line.description | html %][% END %] [% IF line.title %]([% line.title | html %])[% END %] | -+ | + [% line.date | $KohaDates %] + | ++ Add note + + | [% line.accounttype | html %] | [% line.amount | $Price %] | [% line.amountoutstanding | $Price %] | |||
| Outstanding credits could be applied | -[% outstanding_credits.total_outstanding | $Price %] | -|||||||||
| Sub total: | -[% account_grp.total | $Price %] | -|||||||||
| Outstanding credits could be applied: | ++ | |||||||||
| Sub total: | +[% account_grp.total | $Price %] | +|||||||||
| Total due: | + [% IF outstanding_credits.total_outstanding < 0 %] +[% total + outstanding_credits.total_outstanding | $Price %] | + [% ELSE %] +[% total | $Price %] | + [% END %] +||||||||