Openbravo Issue Tracking System - POS2
View Issue Details
0048788POS2Restaurantspublic2022-03-14 17:482022-03-15 23:22
timothee_catteeuw 
mtaal 
normalmajoralways
closedfixed 
5
 
 
guilleaer
No
0048788: JIRA 2760 - Amount is not correctly mapped
The field "Montant" is not correctly mapped in API kitchen.
Whatever I select, its value is always equals to NULL --> "Montant":null

The amount has to be the amount of product linked to the beeper (decimal with a point, ex : 6.95)

Go to WebPos
Select a product linked to pager or counter as delivery method
go until payment and pay
Check in developer console mode, the result of the pager request (AjouterNouvelleCommandeWI) --> the field amount is always equals to NULL

Example :
Product 1 / qty = 1 / Pager / 9.45€
Product 2 / qty = 2 / counter / 6.95€

When paying 2 calls to API kitchen are done.
1) for the call concerning product 1, amount has to be equals to 9.45 €
2) for the second call concerning product 2, amount has to be equals to 13.90 €

Last thing, be careful to correctly manage the case when the user ask for 1 pager = 1 ticket.
The amount has to be the amount of all the products linked to the beeper.
AGPCustom
Issue History
2022-03-14 17:48timothee_catteeuwNew Issue
2022-03-14 17:48timothee_catteeuwAssigned To => Retail
2022-03-14 17:48timothee_catteeuwTriggers an Emergency Pack => No
2022-03-15 23:22guilleaerNote Added: 0135751
2022-03-15 23:22guilleaerStatusnew => scheduled
2022-03-15 23:22guilleaerAssigned ToRetail => mtaal
2022-03-15 23:22guilleaerStatusscheduled => resolved
2022-03-15 23:22guilleaerResolutionopen => fixed
2022-03-15 23:22guilleaerTag Attached: AGPCustom
2022-03-15 23:22guilleaerReview Assigned To => guilleaer
2022-03-15 23:22guilleaerStatusresolved => closed

Notes
(0135751)
guilleaer   
2022-03-15 23:22   
https://gitlab.com/obcustomers/AGAP/com.openbravo.flunch.integration.beeper/-/commit/23cbec2c7f1266fe0803da7ee6c1e0d7049f53da [^]