Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #45021 All Revisions ] Back to Issue ]
Summary 0045021: Current date used as delivery date if obrdmDeliveryDate is null
Revision 2020-09-15 12:48 by kchoperena
Steps To Reproduce Enable Web POS Enable Delivery Modes preference
1.-Log in in Web Pos with vall blanca user
2.-Add the Avalanche Transceiver product to the receipt
3.-Put a breakpoint in the "if (!deliveryDate) {" line of the OBPOS_RenderOrderLine hook of hookRenderOrderLine.js file
4.-Set Pick up in store with date delivery mode with Delivery Date as tomorrow
5.-When the execution stops in the breakpoint, run in the console the next code: deliveryDate = null;
6.-Continue the execution

EXPECTED RESULT:
Check that even if the line does not has a delivery date, it is showing as delivery date today in the line properties
Revision 2020-09-15 11:28 by kchoperena
Steps To Reproduce Enable Web POS Enable Delivery Modes preference
Log in in Web Pos with vall blanca user
Add the Avalanche Transceiver product to the receipt
Set Pick up in store with date delivery mode with Delivery Date as tomorrow
In the console execute OB.MobileApp.model.receipt.get('lines').at(0).set('obrdmDeliveryDate', null)
Reload the Web Pos and check the current date is used as delivery date in the receipt line


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker