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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0032456
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2016-03-10 19:022016-03-30 10:22
ReporterOrekariaView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionfixedFixed in VersionRR16Q2
StatusclosedFix in branchFixed in SCM revision55ee388a5ad3
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0032456: [Multiorders] Current cash is not updated with multiorders

Description[Multiorders] Current cash is not updated with multiorders
Steps To Reproduce- do a cashup to be sure that there is no cash

- add an avalanche tranceiver
- in the menu, choose 'pay open tickets'
- choose the receipt you added the product to
- finish the sale

- in the menu, choose 'verified returns'
- select any receipt with amount less than 150.50 (the value of the avalanche)
- try to finish the return
- verify that there is no cash (INCORRECT)

(note that probably can be reproduced also creating a return receipt)



Obsolete:

A)
- Log into the webpos
- Do a cashup

B)
- In the empty receipt, verify that the current cash available is 0:
   in the chrome console, execute:
      OB.MobileApp.model.paymentnames['OBPOS_payment.cash'].currentCash
- Add an 'avalanche transceiver'
- Finish the sale
- Verify that the currentCash available is 150.50

C) Multiorder
1)
- In the new receipt, add a product
2)
- Click new receipt ('*' in the toolbar)
- In the new receipt, add another product
3)
- Remember the sum of the amounts
- In the menu, select 'Pay Open tickets'
- Finish the sales
4)
- Verify that the currentCash is 150.50 (INCORRECT)

D)
- In the new receipt, add a new product
- Finish the sale
- Verify that the currentCash is updated with the total sums (CORRECT)

Proposed Solutionin the dataordersave.js file, add a call to calculateCurrentcash in the following location

  this.context.get('multiOrders').trigger('integrityOk', this.receipt);
  OB.UTIL.calculateCurrentCash(null, tx);
  OB.MobileApp.model.updateDocumentSequenceWhenOrderSaved(this.receipt.get('documentnoSuffix'), this.receipt.get('quotationnoSuffix'));
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0085304)
hgbot (developer)
2016-03-24 08:30

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 55ee388a5ad3f0642bd279fff2a3e15ee89fdc28
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Mar 24 12:58:36 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/55ee388a5ad3f0642bd279fff2a3e15ee89fdc28 [^]

Fixes issue 32456 : Adding Current Payment Calculation in Multiorder process

---
M web/org.openbravo.retail.posterminal/js/data/dataordersave.js
---

- Issue History
Date Modified Username Field Change
2016-03-10 19:02 Orekaria New Issue
2016-03-10 19:02 Orekaria Assigned To => Retail
2016-03-10 19:02 Orekaria Triggers an Emergency Pack => No
2016-03-10 19:16 Orekaria Steps to Reproduce Updated View Revisions
2016-03-10 19:16 Orekaria Proposed Solution updated
2016-03-10 19:16 Orekaria Status new => acknowledged
2016-03-15 08:01 Sanjota Status acknowledged => scheduled
2016-03-15 08:03 Sanjota Assigned To Retail => Sanjota
2016-03-15 17:31 Orekaria Steps to Reproduce Updated View Revisions
2016-03-15 19:09 Orekaria Steps to Reproduce Updated View Revisions
2016-03-15 19:26 Orekaria Steps to Reproduce Updated View Revisions
2016-03-22 18:06 jorge-garcia Assigned To Sanjota => Retail
2016-03-22 18:06 jorge-garcia Status scheduled => acknowledged
2016-03-23 13:18 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2016-03-23 13:18 ranjith_qualiantech_com Status acknowledged => scheduled
2016-03-24 08:30 hgbot Checkin
2016-03-24 08:30 hgbot Note Added: 0085304
2016-03-24 08:30 hgbot Status scheduled => resolved
2016-03-24 08:30 hgbot Resolution open => fixed
2016-03-24 08:30 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/55ee388a5ad3f0642bd279fff2a3e15ee89fdc28 [^]
2016-03-30 10:22 marvintm Review Assigned To => marvintm
2016-03-30 10:22 marvintm Status resolved => closed
2016-03-30 10:22 marvintm Fixed in Version => RR16Q2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker