Openbravo Issue Tracking System - POS2
View Issue Details
0048308POS2POSpublic2021-12-17 10:282022-01-10 17:54
timothee_catteeuw 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
TAPTAP 
guilleaer
No
No
0048308: JIRA 2569 - Payment category order on POS2
Currently it is not possible to order payment method categories. In the following screenshot, a request could be to put “à refacturer” just after “Main payment methods”
But currently the behavior is (cf. payment.png)
Category “Main payment methods” is positioned first
All the other payment method categories are positioned randomly (probably decided by the database)

The request here is so to be able to define the order of payment method categories below "Main payment method" thanks to :

1) A value which could be configured in “POS payment method categories” tab available in BO
2) For payment with no configured value those will be randomly positioned at the end on payment mode screen of WebPOS
1) Create several Payment categories
2) link them to payment methods
3) login WebPOS
4) do a new ticket
5) Go to payment mode
--> Payment method categories are ordered randomely

Once issue https://issues.openbravo.com/view.php?id=48278 [^] is fixed then org.openbravo.pos2/src/org/openbravo/pos2/term/PaymentMethodCategories.java should be addapted to short by sequence number

Then the algorithm used in frontend to draw the categories should be checked to ensure that it draws the categories based on that seqno and according to what is mentioned
No tags attached.
blocks defect 0048270 closed ranjith_qualiantech_com JIRA 2569 - Payment category order on POS2 
Issue History
2021-12-22 15:51guilleaerTypedefect => backport
2021-12-22 15:51guilleaerTarget Version => TAP
2021-12-22 15:51guilleaerStatusscheduled => acknowledged
2022-01-07 10:52ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2022-01-07 10:52ranjith_qualiantech_comStatusacknowledged => scheduled
2022-01-10 13:49ranjith_qualiantech_comNote Added: 0134175
2022-01-10 17:54guilleaerStatusscheduled => resolved
2022-01-10 17:54guilleaerFixed in Version => TAP
2022-01-10 17:54guilleaerResolutionopen => fixed
2022-01-10 17:54guilleaerReview Assigned To => guilleaer
2022-01-10 17:54guilleaerStatusresolved => closed

Notes
(0134175)
ranjith_qualiantech_com   
2022-01-10 13:49   
Submitted Merge Request

https://gitlab.com/obcustomers/AGAP/org.openbravo.pos2/-/merge_requests/141 [^]

https://gitlab.com/obcustomers/AGAP/org.openbravo.retail.posterminal/-/merge_requests/18 [^]