bug#AL-4505

Bolivariano - Sangria.
dev:Lukas
qua:
master
aurora.cuaquentzi 2024-07-19 13:23:18 -06:00
parent 02d5f6abba
commit 1bfcaea9dd
3 changed files with 2 additions and 14 deletions

View File

@ -2822,11 +2822,11 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
public void onClick$btnSalvarParamRecoleccion(Event ev) throws InterruptedException { public void onClick$btnSalvarParamRecoleccion(Event ev) throws InterruptedException {
importeInicial.getValue(); importeInicial.getValue();
importeAdicional.getValue(); //importeAdicional.getValue();
try { try {
ParamRecoleccion paramRecoleccion = new ParamRecoleccion(); ParamRecoleccion paramRecoleccion = new ParamRecoleccion();
paramRecoleccion.setImporteinicial(importeInicial.getValueDecimal()); paramRecoleccion.setImporteinicial(importeInicial.getValueDecimal());
paramRecoleccion.setImporteadicional(importeAdicional.getValueDecimal()); paramRecoleccion.setImporteadicional(BigDecimal.ZERO);
paramRecoleccion.setImporteBase(importeBase == null ? null : importeBase.getValueDecimal()); paramRecoleccion.setImporteBase(importeBase == null ? null : importeBase.getValueDecimal());
Boolean achou = Boolean.FALSE; Boolean achou = Boolean.FALSE;

View File

@ -21,13 +21,9 @@ public class ParamRecoleccionRender implements ListitemRenderer {
Listcell lc = new Listcell(tm.getImporteinicial() == null ? "" : tm.getImporteinicial().setScale(2).toString()); Listcell lc = new Listcell(tm.getImporteinicial() == null ? "" : tm.getImporteinicial().setScale(2).toString());
lc.setParent(lstm); lc.setParent(lstm);
lc = new Listcell(tm.getImporteadicional() == null ? "" : tm.getImporteadicional().setScale(2).toString());
lc.setParent(lstm);
lc = new Listcell(tm.getImporteBase() == null ? "" : tm.getImporteBase().setScale(2).toString()); lc = new Listcell(tm.getImporteBase() == null ? "" : tm.getImporteBase().setScale(2).toString());
lc.setParent(lstm); lc.setParent(lstm);
lstm.setAttribute("data", tm); lstm.setAttribute("data", tm);
} }
} }

View File

@ -1400,13 +1400,6 @@
precision="7" scale="2" constraint="no empty" /> precision="7" scale="2" constraint="no empty" />
</row> </row>
<row>
<label
value="${c:l('editarPuntoVentaController.lblAdicional.value')}" />
<textbox id="importeAdicional"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
precision="7" scale="2" constraint="no empty" />
</row>
<row> <row>
<label <label
value="${c:l('editarPuntoVentaController.lblBase.value')}" /> value="${c:l('editarPuntoVentaController.lblBase.value')}" />
@ -1434,7 +1427,6 @@
vflex="true" multiple="false"> vflex="true" multiple="false">
<listhead sizable="true"> <listhead sizable="true">
<listheader image="/gui/img/builder.gif" label="${c:l('editarPuntoVentaController.lblInicial.value')}" /> <listheader image="/gui/img/builder.gif" label="${c:l('editarPuntoVentaController.lblInicial.value')}" />
<listheader image="/gui/img/builder.gif" label="${c:l('editarPuntoVentaController.lblAdicional.value')}" />
<listheader image="/gui/img/builder.gif" label="${c:l('editarPuntoVentaController.lblBase.value')}" /> <listheader image="/gui/img/builder.gif" label="${c:l('editarPuntoVentaController.lblBase.value')}" />
</listhead> </listhead>
</listbox> </listbox>