From 027f72da7c7bea317e977ed7fba0a06d6840d14a Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Wed, 4 Mar 2020 09:04:15 +0000 Subject: [PATCH] Bug 23355: (RM follow-up) Tidy Template At Jonatans request, I have tidied the table markup Signed-off-by: Martin Renvoize --- .../prog/en/modules/pos/register.tt | 56 +++++-------------- 1 file changed, 14 insertions(+), 42 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt index 5687bed341..bc9eb19519 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt @@ -51,27 +51,13 @@ [% END %] - - - - - - - + + + + + + + [% FOREACH accountline IN accountlines %] @@ -79,21 +65,15 @@ [% FOREACH credit IN accountline.credit_offsets %] [% IF credit.debit %] - - + + - + @@ -103,23 +83,15 @@ [% FOREACH debit IN accountline.debit_offsets %] [% IF debit.credit %] - - + + - + - + [% END %] -- 2.39.5
- ID - - DATA - - Transaction - - Description - - Price - - Total - - Actions - IDDATATransactionDescriptionPriceTotalActions
- [% accountline.accountlines_id | html %] - - { "type": "credit", "description": "[%- PROCESS account_type_description account=accountline -%] ([% accountline.payment_type | html %])", "amount": "[% accountline.amount * -1 | $Price %]" } - [% accountline.accountlines_id | html %]{ "type": "credit", "description": "[%- PROCESS account_type_description account=accountline -%] ([% accountline.payment_type | html %])", "amount": "[% accountline.amount * -1 | $Price %]" } [%- PROCESS account_type_description account=credit.debit -%] [%- IF credit.debit.description -%] ([% credit.debit.description | html %])[%- END -%] [%- IF ( credit.debit.itemnumber ) -%] ([% credit.debit.item.biblio.title | html %])[%- END -%] - [% credit.debit.amount | $Price %] - [% credit.debit.amount | $Price %]
- [% accountline.accountlines_id | html %] - - { "type": "debit", "description": "[%- PROCESS account_type_description account=accountline -%] ([% accountline.payment_type | html %])", "amount": "[% accountline.amount * -1 | $Price %]" } - [% accountline.accountlines_id | html %]{ "type": "debit", "description": "[%- PROCESS account_type_description account=accountline -%] ([% accountline.payment_type | html %])", "amount": "[% accountline.amount * -1 | $Price %]" } - [%- PROCESS account_type_description account=debit.credit -%] - [%- PROCESS account_type_description account=debit.credit -%] [%- IF debit.credit.description %][% debit.credit.description | html %][%- END -%] [%- IF ( debit.credit.itemnumber ) -%] ([% debit.credit.item.biblio.title | html %])[%- END -%] - [% debit.credit.amount | $Price %] - [% debit.credit.amount | $Price %]