Bugzilla – Attachment 119809 Details for
Bug 28127
POS register details tables should have a transaction date
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28127: Add transaction timestamp to register details tables
Bug-28127-Add-transaction-timestamp-to-register-de.patch (text/plain), 2.75 KB, created by
Katrin Fischer
on 2021-04-17 23:47:25 UTC
(
hide
)
Description:
Bug 28127: Add transaction timestamp to register details tables
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2021-04-17 23:47:25 UTC
Size:
2.75 KB
patch
obsolete
>From fffdaba08d7b8832ecac0aa7349a7a60e24762bd Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Sat, 10 Apr 2021 15:48:17 +0000 >Subject: [PATCH] Bug 28127: Add transaction timestamp to register details > tables > >To Test: >-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 > >Signed-off-by: David Nind <david@davidnind.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 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 2274d69674..d0a5d8aca7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt >@@ -104,7 +104,7 @@ > <tr> > <td>[% accountline.accountlines_id | html %]</td> > <td>{ "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 %]" }</td> >- <td></td> >+ <td>[% IF accountline.timestamp %][% accountline.timestamp | $KohaDates with_hours => 1 %][% END %]</td> > <td> > [%- PROCESS account_type_description account=credit.debit -%] > [%- IF credit.debit.description -%] ([% credit.debit.description | html %])[%- END -%] >@@ -193,7 +193,7 @@ > <tr> > <td>[% accountline.accountlines_id | html %]</td> > <td>{ "type": "credit", "identifier": "[%- accountline.credit_number | html -%]", "description": "[%- PROCESS account_type_description account=accountline -%] ([% accountline.payment_type | html %])", "amount": "[% accountline.amount * -1 | $Price %]" }</td> >- <td></td> >+ <td>[% IF accountline.timestamp %][% accountline.timestamp | $KohaDates with_hours => 1 %][% END %]</td> > <td> > [%- PROCESS account_type_description account=credit.debit -%] > [%- IF credit.debit.description -%] ([% credit.debit.description | html %])[%- END -%] >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 28127
:
119435
|
119447
|
119809
|
122166