Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dTotDesc y dTotDescGlotem debe ser x la Cantidad #28

Open
ahonig opened this issue Mar 27, 2023 · 0 comments
Open

dTotDesc y dTotDescGlotem debe ser x la Cantidad #28

ahonig opened this issue Mar 27, 2023 · 0 comments

Comments

@ahonig
Copy link

ahonig commented Mar 27, 2023

en TgTotSub linea 86 y 87, se debe de la suma de los descuentos unitarios x la cantidad según la documentación, por lo que creo que deberia agregarse el multiply
this.dTotDesc = this.dTotDesc.add(SifenUtil.coalesce(gCamItem.getgValorItem().getgValorRestaItem().getdDescItem().multiply( gCamItem.getdCantProSer()) , BigDecimal.ZERO));
this.dTotDescGlotem = this.dTotDescGlotem.add(SifenUtil.coalesce(gCamItem.getgValorItem().getgValorRestaItem().getdDescGloItem().multiply( gCamItem.getdCantProSer()) , BigDecimal.ZERO));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant