From 15655f0dbcea2fbada164745fe12037529f9f846 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Tue, 3 Mar 2020 16:10:17 -0300 Subject: [PATCH] Bug 24082: (QA follow-up): Template fixes This patch introduces missing TT filters and also replaces tabs for spaces to fix indentation problems. Signed-off-by: Tomas Cohen Arazi Signed-off-by: Martin Renvoize --- .../prog/en/modules/pos/register.tt | 71 +++++++------------ 1 file changed, 27 insertions(+), 44 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 fe41ffc41e..9c8d08c55a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt @@ -121,53 +121,35 @@ [% IF register.cashups %]

Older transactions

-
- Please select a date range to display transactions for: -
    -
  1. - - - - [% IF trange_t %] - - [% ELSE %] - - [% END %] - [% INCLUDE 'date-format.inc' %] -
  2. -
-
+
+ Please select a date range to display transactions for: +
    +
  1. + + + + + [% INCLUDE 'date-format.inc' %] +
  2. +
+
-
- - -
+
+ + +
[% IF trange_f %] - - - - - - - + + + + + + + [% FOREACH accountline IN past_accountlines %] @@ -175,10 +157,11 @@ [% FOREACH credit IN accountline.credit_offsets %] [% IF credit.debit %] - + - @@ -196,7 +179,7 @@ [% FOREACH debit IN accountline.debit_offsets %] [% IF debit.credit %] - + -- 2.39.5
- ID - - DATA - - Transaction - - Description - - Price - - Total - - Actions - IDDATATransactionDescriptionPriceTotalActions
[% accountline.accountlines_id %][% 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 -%] + + [%- 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 -%]
[% accountline.accountlines_id %][% 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 -%]