Openbravo Issue Tracking System - Retail Modules
View Issue Details
0026583Retail ModulesWeb POSpublic2014-05-17 22:282014-06-30 14:01
Orekaria 
Orekaria 
normalminorsometimes
closedfixed 
5
 
RR14Q3 
marvintm
No
0026583: The Cash Management is showing the currency blocks with no explicit order
The Cash Management is showing the currency blocks with no explicit order
Login to WebPOS as Vallblanca
Operate a bit with the POS: selling, etc
Open cash management
Eventually the USD block is shown before the the default currency
in cashmgmt-model.js fin this code

      OB.Dal.find(OB.Model.PaymentMethodCashUp, {
        'cashup_id': cashUp.at(0).get('id')
      }, function (pays) {

add a proper orderByClause to the find, e.g:

      OB.Dal.find(OB.Model.PaymentMethodCashUp, {
        'cashup_id': cashUp.at(0).get('id'),
        _orderByClause: 'searchKey desc'
      }, function (pays) {
No tags attached.
png enableToPayII.png (40,041) 2014-05-19 13:21
https://issues.openbravo.com/file_download.php?file_id=6932&type=bug
png
Issue History
2014-05-17 22:28OrekariaNew Issue
2014-05-17 22:28OrekariaAssigned To => marvintm
2014-05-17 22:28OrekariaTriggers an Emergency Pack => No
2014-05-19 13:21OrekariaFile Added: enableToPayII.png
2014-06-20 00:21OrekariaAssigned Tomarvintm => Orekaria
2014-06-20 00:23hgbotCheckin
2014-06-20 00:23hgbotNote Added: 0068197
2014-06-20 00:23hgbotStatusnew => resolved
2014-06-20 00:23hgbotResolutionopen => fixed
2014-06-20 00:23hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a46270f83d9eecfa8a01dddf6d2ca4e708b14162 [^]
2014-06-30 14:01marvintmReview Assigned To => marvintm
2014-06-30 14:01marvintmStatusresolved => closed
2014-06-30 14:01marvintmFixed in Version => RR14Q3

Notes
(0068197)
hgbot   
2014-06-20 00:23   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: a46270f83d9eecfa8a01dddf6d2ca4e708b14162
Author: Rafa Alonso <rafael.alonso <at> openbravo.com>
Date: Fri Jun 20 00:23:21 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a46270f83d9eecfa8a01dddf6d2ca4e708b14162 [^]

Fixed issue 26583: explicit order for deposit payment methods

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