Openbravo Issue Tracking System - Retail Modules
View Issue Details
0043754Retail ModulesWeb POSpublic2020-04-16 14:192020-04-28 16:49
AugustoMauch 
prakashmurugesan88 
normalminorhave not tried
closedfixed 
5
 
RR20Q3 
marvintm
No
0043754: Open a on-credit ticket with no payments is showing empty payment breakdown label
When recalling a ticket with no payments, the payment breakdown label is being shown at the bottom of the ticket. It shows no payments, but the payment breakdown label itself should be hidden. Check attached screenshot
In the webpos:
- Create a new credit, add a product and on the payment tab click on Sell on Credit
- Use Open Receipt to open the ticket
- Check that the Payment Breakdown label is shown even though there are no payments
NOR
related to defect 0043354 closed rqueralta Layaway with no payments is showing empty payment breakdown label 
png onCreditEmptyPayment.png (132,143) 2020-04-16 14:19
https://issues.openbravo.com/file_download.php?file_id=14329&type=bug
png
Issue History
2020-04-16 14:19AugustoMauchNew Issue
2020-04-16 14:19AugustoMauchAssigned To => Retail
2020-04-16 14:19AugustoMauchResolution time => 1588197600
2020-04-16 14:19AugustoMauchTriggers an Emergency Pack => No
2020-04-16 14:19AugustoMauchRelationship addedrelated to 0043354
2020-04-16 14:19AugustoMauchFile Added: onCreditEmptyPayment.png
2020-04-16 14:19AugustoMauchDescription Updatedbug_revision_view_page.php?rev_id=20795#r20795
2020-04-16 14:29AugustoMauchTag Attached: NOR
2020-04-16 15:27rafarodaIssue Monitored: rafaroda
2020-04-27 10:23prakashmurugesan88Assigned ToRetail => prakashmurugesan88
2020-04-27 10:25prakashmurugesan88Statusnew => scheduled
2020-04-27 13:50prakashmurugesan88Note Added: 0119427
2020-04-28 07:21hgbotCheckin
2020-04-28 07:21hgbotNote Added: 0119451
2020-04-28 07:21hgbotStatusscheduled => resolved
2020-04-28 07:21hgbotResolutionopen => fixed
2020-04-28 07:21hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/cd727c943731c1bf003443134197a59b3717edb0 [^]
2020-04-28 07:22hgbotCheckin
2020-04-28 07:22hgbotNote Added: 0119452
2020-04-28 16:49marvintmReview Assigned To => marvintm
2020-04-28 16:49marvintmStatusresolved => closed
2020-04-28 16:49marvintmFixed in Version => RR20Q3

Notes
(0119427)
prakashmurugesan88   
2020-04-27 13:50   
Regarding related issue 43354,

Following issue occurs while switching between paid receipt and layaway(without payment) using receipt counter,

* Layaway receipt shows payment breakdown label. But it should not.
* In Paid receipts payment breakdown label with payment details is not shown. But it should be shown.
(0119451)
hgbot   
2020-04-28 07:21   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: cd727c943731c1bf003443134197a59b3717edb0
Author: Prakash M <prakash <at> qualiantech.com>
Date: Tue Apr 28 10:50:22 2020 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/cd727c943731c1bf003443134197a59b3717edb0 [^]

Fixed BUG-43754: Opening On-credit ticket with no payments shows empty payment
breakdown label

* In issue 43354, 'payment breakdown' is hidden if there is no payment for layaway.
* But this should be fixed other applicable document type as well, eg paid receipt

* 'payment breakdown' is hidden if there is no payment for all applicable receipt.

---
M web/org.openbravo.retail.posterminal/js/components/order.js
---
(0119452)
hgbot   
2020-04-28 07:22   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: cb8dca8354258c7c37815168a5bad8a356d9062f
Author: Prakash M <prakash <at> qualiantech.com>
Date: Tue Apr 28 10:50:22 2020 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/cb8dca8354258c7c37815168a5bad8a356d9062f [^]

Related to BUG-43754: Receipt without payment shows payment breakdown label on
switching receipts using payment counter button.
Also for receipts with payment, payment breakdown label with payment details
is not shown

* While switching receipts payment details of last opened receipt is retained.
* Currently payment breakdown display logic is based on payment, therfore
payment breakdown displays as per old record and not as per current one.

* In clearWith function where old receipt data is cleared with curren receipt,
replacing payment data as well.
* Therefore payment breakdown displayed properly by validating with payment of
current receipt.

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