@@ -, +, @@
tables
-Enable POS and setup some registers
-Make some transactions
-Go to Point of Sale > Register details and look at the two tables, sales and past sales
-No timestamp or transaction date
-Apply patch and look again
-See Tranactions dates in the Transaction column
---
koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt
@@ -104,7 +104,7 @@
[% accountline.accountlines_id | html %] |
{ "type": "credit", "identifier": "[%- accountline.credit_number | html -%]", "description": "[%- PROCESS account_type_description account=accountline -%] ([% AuthorisedValues.GetByCode( 'PAYMENT_TYPE', accountline.payment_type ) | html %])", "amount": "[% accountline.amount * -1 | $Price %]" } |
- |
+ [% IF accountline.timestamp %][% accountline.timestamp | $KohaDates with_hours => 1 %][% END %] |
[%- PROCESS account_type_description account=credit.debit -%]
[%- IF credit.debit.description -%] ([% credit.debit.description | html %])[%- END -%]
@@ -193,7 +193,7 @@
|
[% accountline.accountlines_id | html %] |
{ "type": "credit", "identifier": "[%- accountline.credit_number | html -%]", "description": "[%- PROCESS account_type_description account=accountline -%] ([% accountline.payment_type | html %])", "amount": "[% accountline.amount * -1 | $Price %]" } |
- |
+ [% IF accountline.timestamp %][% accountline.timestamp | $KohaDates with_hours => 1 %][% END %] |
[%- PROCESS account_type_description account=credit.debit -%]
[%- IF credit.debit.description -%] ([% credit.debit.description | html %])[%- END -%]
--
|