Openbravo Issue Tracking System - Retail Modules
View Issue Details
0045209Retail ModulesWeb POSpublic2020-10-08 14:552020-10-08 15:05
marvintm 
marvintm 
normalminorhave not tried
closedfixed 
5
 
RR21Q1 
migueldejuana
No
0045209: Do not use underscore inside the checkAlreadyPaid utility function
The utility function checkAlreadyPaid is using underscore (specifically the reduce function), and this should be changed as underscore should not be used inside the actions or action preparations.
Check the checkAlreadyPaid utility function inside web/org.openbravo.retail.posterminal/app/model/business-object/ticket/AddPaymentUtils.js is using underscore is using _.reduce
Replace it by the reduce function in the array object.
No tags attached.
Issue History
2020-10-08 14:55marvintmNew Issue
2020-10-08 14:55marvintmAssigned To => Retail
2020-10-08 14:55marvintmTriggers an Emergency Pack => No
2020-10-08 15:02hgbotResolutionopen => fixed
2020-10-08 15:02hgbotStatusnew => resolved
2020-10-08 15:02hgbotFixed in Version => RR21Q1
2020-10-08 15:02hgbotNote Added: 0123622
2020-10-08 15:03marvintmAssigned ToRetail => marvintm
2020-10-08 15:05migueldejuanaReview Assigned To => migueldejuana
2020-10-08 15:05migueldejuanaNote Added: 0123623
2020-10-08 15:05migueldejuanaStatusresolved => closed

Notes
(0123622)
hgbot   
2020-10-08 15:02   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 181245db8d7183d6e99bd19d05302af068528d72
Author: Antonio Moreno <anmorenoperez@gmail.com>
Date: 2020-10-08T14:57:21+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/181245db8d7183d6e99bd19d05302af068528d72 [^]

Fixed ISSUE-45209: Replaced usage of _.reduce by the native array reduce function

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/AddPaymentUtils.js
---
(0123623)
migueldejuana   
2020-10-08 15:05   
Reviewed