Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035085Retail ModulesWeb POSpublic2017-01-30 16:562017-02-06 10:49
airaceburu 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
RR17Q2 
marvintm
No
0035085: The tickets printed from multiorder have null as date
The date is sent like:

"2017-01-30T15:39:19.508Z"

instead of:

Mon Jan 30 2017 16:54:06 GMT+0100 (CET)

because during mainReceiptCloseFunction:

orderDate = new Date();

and from multiorders this is not being done.

Later on when the template tries to do:

OB.I18N.formatDate("2017-01-30T15:39:19.508Z")

it ends up returning null
Create a ticket

Do not pay it

Go to pay open tickets

Pay it

Check the date in the printed receipt
No tags attached.
Issue History
2017-01-30 16:56airaceburuNew Issue
2017-01-30 16:56airaceburuAssigned To => Retail
2017-01-30 16:56airaceburuTriggers an Emergency Pack => No
2017-01-31 08:50ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2017-01-31 08:50ranjith_qualiantech_comStatusnew => scheduled
2017-02-04 09:55hgbotCheckin
2017-02-04 09:55hgbotNote Added: 0094055
2017-02-04 09:55hgbotStatusscheduled => resolved
2017-02-04 09:55hgbotResolutionopen => fixed
2017-02-04 09:55hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/fdd8df15315bc049e1d02cdb6d61f06b829d17b1 [^]
2017-02-06 10:49marvintmReview Assigned To => marvintm
2017-02-06 10:49marvintmStatusresolved => closed
2017-02-06 10:49marvintmFixed in Version => RR17Q2

Notes
(0094055)
hgbot   
2017-02-04 09:55   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: fdd8df15315bc049e1d02cdb6d61f06b829d17b1
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Sat Feb 04 11:50:42 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/fdd8df15315bc049e1d02cdb6d61f06b829d17b1 [^]

Fixes issue 35085 : Adding orderDate in Multiorder print

---
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
---