fixes bug #8099
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@61576 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
1d1de900ff
commit
da34746ebb
|
@ -96,6 +96,7 @@ public class EditarConvenioController extends MyGenericForwardComposer {
|
||||||
private MyCustomTextboxDecimal txtTxEmbarque;
|
private MyCustomTextboxDecimal txtTxEmbarque;
|
||||||
private MyCustomTextboxDecimal txtPedagio;
|
private MyCustomTextboxDecimal txtPedagio;
|
||||||
private MyCustomTextboxDecimal txtSeguro;
|
private MyCustomTextboxDecimal txtSeguro;
|
||||||
|
private MyCustomTextboxDecimal txtOutros;
|
||||||
private Longbox txtQuantidade;
|
private Longbox txtQuantidade;
|
||||||
|
|
||||||
private Longbox txtNumfolioinicio;
|
private Longbox txtNumfolioinicio;
|
||||||
|
@ -862,6 +863,7 @@ public class EditarConvenioController extends MyGenericForwardComposer {
|
||||||
BigDecimal porcdescuentoTaxaEmbarque = txtTxEmbarque.getValueBigDecimal();
|
BigDecimal porcdescuentoTaxaEmbarque = txtTxEmbarque.getValueBigDecimal();
|
||||||
BigDecimal porcdescuentoSeguro = txtSeguro.getValueBigDecimal();
|
BigDecimal porcdescuentoSeguro = txtSeguro.getValueBigDecimal();
|
||||||
BigDecimal porcdescuentoPedagio = txtPedagio.getValueBigDecimal();
|
BigDecimal porcdescuentoPedagio = txtPedagio.getValueBigDecimal();
|
||||||
|
BigDecimal porcOutros = txtOutros.getValueBigDecimal();
|
||||||
Long numfolioinicio = txtNumfolioinicio.getValue();
|
Long numfolioinicio = txtNumfolioinicio.getValue();
|
||||||
Long numfoliofinal = txtNumfoliofinal.getValue();
|
Long numfoliofinal = txtNumfoliofinal.getValue();
|
||||||
Long quantidade = txtQuantidade.getValue();
|
Long quantidade = txtQuantidade.getValue();
|
||||||
|
@ -894,6 +896,7 @@ public class EditarConvenioController extends MyGenericForwardComposer {
|
||||||
cd.setPorcDescuentoTaxaEmbarque(porcdescuentoTaxaEmbarque);
|
cd.setPorcDescuentoTaxaEmbarque(porcdescuentoTaxaEmbarque);
|
||||||
cd.setPorcDescuentoSeguro(porcdescuentoSeguro);
|
cd.setPorcDescuentoSeguro(porcdescuentoSeguro);
|
||||||
cd.setPorcDescuentoPedagio(porcdescuentoPedagio);
|
cd.setPorcDescuentoPedagio(porcdescuentoPedagio);
|
||||||
|
cd.setPorcOutros(porcOutros);
|
||||||
cd.setQuantidade(quantidade);
|
cd.setQuantidade(quantidade);
|
||||||
|
|
||||||
if (chkValidaFolio.isChecked()) {
|
if (chkValidaFolio.isChecked()) {
|
||||||
|
|
|
@ -34,6 +34,9 @@ public class RenderConvenioDet implements ListitemRenderer {
|
||||||
// Porcentagem Seguro
|
// Porcentagem Seguro
|
||||||
lc = new Listcell(convenioDet.getPorcDescuentoSeguro() != null ? convenioDet.getPorcDescuentoSeguro().setScale(2).toString() : "");
|
lc = new Listcell(convenioDet.getPorcDescuentoSeguro() != null ? convenioDet.getPorcDescuentoSeguro().setScale(2).toString() : "");
|
||||||
lc.setParent(lstm);
|
lc.setParent(lstm);
|
||||||
|
// Porcentagem Outros
|
||||||
|
lc = new Listcell(convenioDet.getPorcOutros() != null ? convenioDet.getPorcOutros().setScale(2).toString() : "");
|
||||||
|
lc.setParent(lstm);
|
||||||
// Folio Inicial
|
// Folio Inicial
|
||||||
lc = new Listcell(convenioDet.getNumfolioinicial() != null ? convenioDet.getNumfolioinicial().toString() : "-");
|
lc = new Listcell(convenioDet.getNumfolioinicial() != null ? convenioDet.getNumfolioinicial().toString() : "-");
|
||||||
lc.setParent(lstm);
|
lc.setParent(lstm);
|
||||||
|
|
|
@ -3936,6 +3936,7 @@ editarConvenioController.lbTarifa.value = Tarifa
|
||||||
editarConvenioController.lbTxEmbarque.value = Tasa de abordaje
|
editarConvenioController.lbTxEmbarque.value = Tasa de abordaje
|
||||||
editarConvenioController.lbPedagio.value = Peaje
|
editarConvenioController.lbPedagio.value = Peaje
|
||||||
editarConvenioController.lbSeguro.value = Seguro
|
editarConvenioController.lbSeguro.value = Seguro
|
||||||
|
editarConvenioController.lbOutros.value = Outros
|
||||||
editarConvenioController.lbQuantidade.value = Cantidad
|
editarConvenioController.lbQuantidade.value = Cantidad
|
||||||
editarConvenioController.lbNumDocinicio.value = Doc. Inicial
|
editarConvenioController.lbNumDocinicio.value = Doc. Inicial
|
||||||
editarConvenioController.lbNumDocfinal.value = Doc. Final
|
editarConvenioController.lbNumDocfinal.value = Doc. Final
|
||||||
|
|
|
@ -4007,6 +4007,7 @@ editarConvenioController.lbTarifa.value = Tarifa
|
||||||
editarConvenioController.lbTxEmbarque.value = Taxa de Embarque
|
editarConvenioController.lbTxEmbarque.value = Taxa de Embarque
|
||||||
editarConvenioController.lbPedagio.value = Pedágio
|
editarConvenioController.lbPedagio.value = Pedágio
|
||||||
editarConvenioController.lbSeguro.value = Seguro
|
editarConvenioController.lbSeguro.value = Seguro
|
||||||
|
editarConvenioController.lbOutros.value = Outros
|
||||||
editarConvenioController.lbQuantidade.value = Quantidade
|
editarConvenioController.lbQuantidade.value = Quantidade
|
||||||
editarConvenioController.lbNumDocinicio.value = Doc. Inicial
|
editarConvenioController.lbNumDocinicio.value = Doc. Inicial
|
||||||
editarConvenioController.lbNumDocfinal.value = Doc. FInal
|
editarConvenioController.lbNumDocfinal.value = Doc. FInal
|
||||||
|
|
|
@ -192,6 +192,12 @@
|
||||||
<textbox id="txtSeguro"
|
<textbox id="txtSeguro"
|
||||||
use="com.rjconsultores.ventaboletos.web.gui.componente.esquemaoperacional.MyCustomTextboxDecimal" />
|
use="com.rjconsultores.ventaboletos.web.gui.componente.esquemaoperacional.MyCustomTextboxDecimal" />
|
||||||
</row>
|
</row>
|
||||||
|
<row>
|
||||||
|
<label
|
||||||
|
value="${c:l('editarConvenioController.lbOutros.value')}" />
|
||||||
|
<textbox id="txtOutros"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.gui.componente.esquemaoperacional.MyCustomTextboxDecimal" />
|
||||||
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
|
|
||||||
|
@ -256,6 +262,8 @@
|
||||||
label="${c:l('editarConvenioController.lbPedagio.value')}" />
|
label="${c:l('editarConvenioController.lbPedagio.value')}" />
|
||||||
<listheader image="/gui/img/create_doc.gif"
|
<listheader image="/gui/img/create_doc.gif"
|
||||||
label="${c:l('editarConvenioController.lbSeguro.value')}" />
|
label="${c:l('editarConvenioController.lbSeguro.value')}" />
|
||||||
|
<listheader image="/gui/img/create_doc.gif"
|
||||||
|
label="${c:l('editarConvenioController.lbOutros.value')}" />
|
||||||
<listheader image="/gui/img/create_doc.gif"
|
<listheader image="/gui/img/create_doc.gif"
|
||||||
label="${c:l('editarConvenioController.lbNumDocinicio.value')}" />
|
label="${c:l('editarConvenioController.lbNumDocinicio.value')}" />
|
||||||
<listheader image="/gui/img/create_doc.gif"
|
<listheader image="/gui/img/create_doc.gif"
|
||||||
|
|
Loading…
Reference in New Issue