Bug 24486: Remove duplicated account information at the OPAC
Test plan: Create a manual invoice Pay it Void it Go to the opac, account => You should see only one "(Voided)" Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
c129a47ae5
commit
624bc03ea8
|
|
@ -29,7 +29,6 @@
|
|||
<td><span title="[% ACCOUNT_LINE.date | html %]">[% ACCOUNT_LINE.date | $KohaDates %]</span></td>
|
||||
<td>
|
||||
[% PROCESS account_type_description account=ACCOUNT_LINE %]
|
||||
[%- PROCESS account_status_description account=ACCOUNT_LINE -%]
|
||||
</td>
|
||||
<td>
|
||||
[%- IF ACCOUNT_LINE.payment_type %][% AuthorisedValues.GetByCode('PAYMENT_TYPE', ACCOUNT_LINE.payment_type, 1) | html %][% END %]
|
||||
|
|
@ -59,7 +58,6 @@
|
|||
<td><span title="[% outstanding_credit.date | html %]">[% outstanding_credit.date | $KohaDates %]</span></td>
|
||||
<td>
|
||||
[% PROCESS account_type_description account=outstanding_credit %]
|
||||
[%- PROCESS account_status_description account=outstanding_credit -%]
|
||||
</td>
|
||||
<td>
|
||||
[%- IF outstanding_credit.payment_type %][% AuthorisedValues.GetByCode('PAYMENT_TYPE', outstanding_credit.payment_type, 1) | html %][% END %]
|
||||
|
|
@ -198,11 +196,6 @@
|
|||
[%- CASE -%][% account.debit_type.description | html %]
|
||||
[%- END -%]
|
||||
[%- END -%]
|
||||
[%- PROCESS account_status_description account=account -%]
|
||||
</span>
|
||||
[%- END -%]
|
||||
|
||||
[%- BLOCK account_status_description -%]
|
||||
[%- SWITCH account.status -%]
|
||||
[%- CASE 'UNRETURNED' -%]<span> (Accruing)</span>
|
||||
[%- CASE 'RETURNED' -%]<span> (Returned)</span>
|
||||
|
|
@ -212,4 +205,5 @@
|
|||
[%- CASE 'LOST' -%]<span> (Lost)</span>
|
||||
[%- CASE -%]
|
||||
[%- END -%]
|
||||
</span>
|
||||
[%- END -%]
|
||||
|
|
|
|||
Loading…
Reference in New Issue