Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041208Retail ModulesWeb POSpublic2019-06-25 14:402019-08-06 16:21
aaroncalero 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR19Q3RR19Q3 
marvintm
Production - Confirmed Stable
RR19Q1
No
0041208: Total amount button remains enabled in a ticket without lines when Save Deleted Tickets is configured
Total amount button remains enabled in a ticket without lines when the Save Deleted Tickets preference is configured.
Since the button is enabled, the user can navigate to the payments tab and, depending on other configuration (i.e. prepayments), complete the current (empty) ticket/layaway.
Login in backend
Go to the preference window and configure the preference Web POS Save Removed Tickets with value 'Y'
Login in webpos
Create a new ticket
Add a line with any product.
Remove the line.
Verify that the total amount button is enabled.
No tags attached.
blocks defect 0041173 closed ranjith_qualiantech_com Total amount button remains enabled in a ticket without lines when Save Deleted Tickets is configured 
Issue History
2019-07-01 11:54marvintmTypedefect => backport
2019-07-01 11:54marvintmTarget Version => RR19Q3
2019-07-18 09:50hgbotCheckin
2019-07-18 09:50hgbotNote Added: 0113499
2019-07-18 09:50hgbotStatusscheduled => resolved
2019-07-18 09:50hgbotResolutionopen => fixed
2019-07-18 09:50hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR19Q3/org.openbravo.retail.posterminal/rev/5d39623de43374423d398524d0f0d94f3765ebe6 [^]
2019-08-06 16:21marvintmReview Assigned To => marvintm
2019-08-06 16:21marvintmStatusresolved => closed
2019-08-06 16:21marvintmFixed in Version => RR19Q3

Notes
(0113499)
hgbot   
2019-07-18 09:50   
Repository: retail/backports/3.0RR19Q3/org.openbravo.retail.posterminal
Changeset: 5d39623de43374423d398524d0f0d94f3765ebe6
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Jul 18 13:17:34 2019 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR19Q3/org.openbravo.retail.posterminal/rev/5d39623de43374423d398524d0f0d94f3765ebe6 [^]

Fixed issue 41208 : Total button should be disabled when there is no receipt lines

* If receipt has no lines and payment presents, then Total button should be enabled to remove the payments.
  In payment tab, all operation should be prevented except removing payments
* Line discountedLinePrice should be unset if line qty is zero

---
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/toolbar-left.js
---