Openbravo Issue Tracking System - Retail Modules
View Issue Details
0053474Retail ModulesWeb POSpublic2023-09-11 08:462023-09-26 16:23
ranjith_qualiantech_com 
ranjith_qualiantech_com 
highmajorrandom
closedfixed 
5
 
RR23Q3.1RR23Q3.1 
No
0053474: POS draft tickets should be validated in backoffice when completing/deleting the ticket
In issue 51445, added mechanism to check the current ticket is present in backoffice when loading/refreshing POS. (And also loading ticket using loadLocalTicket action)
It should be enhanced for the following case.
If pos has draft tickets in State TicketList, then when completing/deleting state ticket, next draft ticket from State TicketList should be checked in backoffice.

Check Description or Issue 51445
When completing/deleting the ticket, add the actionPreparation for the respective action.
In the actionPreparation, "all" draft tickets should checked in backoffice. If the draft tickets present in backoffice, then those should be removed from State TicketList.
And above logic has to be added in "loadLocalTicket" action also (Currently, "loadLocalTicket" action is validating only the current draft ticket.)

No tags attached.
blocks defect 0053425 closed ranjith_qualiantech_com POS draft tickets should be validated in backoffice when completing/deleting the ticket 
Issue History
2023-09-18 14:20marvintmTypedefect => backport
2023-09-18 14:20marvintmTarget Version => RR23Q3.1
2023-09-21 10:43hgbotNote Added: 0155081
2023-09-26 16:23hgbotNote Added: 0155260
2023-09-26 16:23hgbotResolutionopen => fixed
2023-09-26 16:23hgbotStatusscheduled => closed
2023-09-26 16:23hgbotFixed in Version => RR23Q3.1
2023-09-26 16:23hgbotNote Added: 0155262

Notes
(0155081)
hgbot   
2023-09-21 10:43   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1353 [^]
(0155260)
hgbot   
2023-09-26 16:23   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1353 [^]
(0155262)
hgbot   
2023-09-26 16:23   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: af83773fd140a8b961935af04af47699111219d6
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 21-09-2023 13:46:07
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/af83773fd140a8b961935af04af47699111219d6 [^]

Fixed ISSUE-53474: Added validation for state TicketList present in backoffice
* When completing/deleting ticket, next draft ticket from TicketList
  should be checked in backoffice

---
A web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actionpreparations/ValidateTicketList.js
M src/org/openbravo/retail/posterminal/OBPOSComponentProvider.java
M src/org/openbravo/retail/posterminal/utility/OrderFinder.java
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket-list/actions/LoadLocalTicket.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/LoadTicketUtils.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/TicketUtils.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/CancelTicket.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/CompleteCreditTicket.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/CompleteLayaway.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/CompleteTicket.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/DeleteTicket.js
---