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 txtPedagio;
|
||||
private MyCustomTextboxDecimal txtSeguro;
|
||||
private MyCustomTextboxDecimal txtOutros;
|
||||
private Longbox txtQuantidade;
|
||||
|
||||
private Longbox txtNumfolioinicio;
|
||||
|
@ -862,6 +863,7 @@ public class EditarConvenioController extends MyGenericForwardComposer {
|
|||
BigDecimal porcdescuentoTaxaEmbarque = txtTxEmbarque.getValueBigDecimal();
|
||||
BigDecimal porcdescuentoSeguro = txtSeguro.getValueBigDecimal();
|
||||
BigDecimal porcdescuentoPedagio = txtPedagio.getValueBigDecimal();
|
||||
BigDecimal porcOutros = txtOutros.getValueBigDecimal();
|
||||
Long numfolioinicio = txtNumfolioinicio.getValue();
|
||||
Long numfoliofinal = txtNumfoliofinal.getValue();
|
||||
Long quantidade = txtQuantidade.getValue();
|
||||
|
@ -893,7 +895,8 @@ public class EditarConvenioController extends MyGenericForwardComposer {
|
|||
cd.setNumfoliofinal(numfoliofinal);
|
||||
cd.setPorcDescuentoTaxaEmbarque(porcdescuentoTaxaEmbarque);
|
||||
cd.setPorcDescuentoSeguro(porcdescuentoSeguro);
|
||||
cd.setPorcDescuentoPedagio(porcdescuentoPedagio);
|
||||
cd.setPorcDescuentoPedagio(porcdescuentoPedagio);
|
||||
cd.setPorcOutros(porcOutros);
|
||||
cd.setQuantidade(quantidade);
|
||||
|
||||
if (chkValidaFolio.isChecked()) {
|
||||
|
|
|
@ -34,6 +34,9 @@ public class RenderConvenioDet implements ListitemRenderer {
|
|||
// Porcentagem Seguro
|
||||
lc = new Listcell(convenioDet.getPorcDescuentoSeguro() != null ? convenioDet.getPorcDescuentoSeguro().setScale(2).toString() : "");
|
||||
lc.setParent(lstm);
|
||||
// Porcentagem Outros
|
||||
lc = new Listcell(convenioDet.getPorcOutros() != null ? convenioDet.getPorcOutros().setScale(2).toString() : "");
|
||||
lc.setParent(lstm);
|
||||
// Folio Inicial
|
||||
lc = new Listcell(convenioDet.getNumfolioinicial() != null ? convenioDet.getNumfolioinicial().toString() : "-");
|
||||
lc.setParent(lstm);
|
||||
|
|
|
@ -3936,6 +3936,7 @@ editarConvenioController.lbTarifa.value = Tarifa
|
|||
editarConvenioController.lbTxEmbarque.value = Tasa de abordaje
|
||||
editarConvenioController.lbPedagio.value = Peaje
|
||||
editarConvenioController.lbSeguro.value = Seguro
|
||||
editarConvenioController.lbOutros.value = Outros
|
||||
editarConvenioController.lbQuantidade.value = Cantidad
|
||||
editarConvenioController.lbNumDocinicio.value = Doc. Inicial
|
||||
editarConvenioController.lbNumDocfinal.value = Doc. Final
|
||||
|
|
|
@ -4007,6 +4007,7 @@ editarConvenioController.lbTarifa.value = Tarifa
|
|||
editarConvenioController.lbTxEmbarque.value = Taxa de Embarque
|
||||
editarConvenioController.lbPedagio.value = Pedágio
|
||||
editarConvenioController.lbSeguro.value = Seguro
|
||||
editarConvenioController.lbOutros.value = Outros
|
||||
editarConvenioController.lbQuantidade.value = Quantidade
|
||||
editarConvenioController.lbNumDocinicio.value = Doc. Inicial
|
||||
editarConvenioController.lbNumDocfinal.value = Doc. FInal
|
||||
|
|
|
@ -192,6 +192,12 @@
|
|||
<textbox id="txtSeguro"
|
||||
use="com.rjconsultores.ventaboletos.web.gui.componente.esquemaoperacional.MyCustomTextboxDecimal" />
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarConvenioController.lbOutros.value')}" />
|
||||
<textbox id="txtOutros"
|
||||
use="com.rjconsultores.ventaboletos.web.gui.componente.esquemaoperacional.MyCustomTextboxDecimal" />
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
|
||||
|
@ -256,6 +262,8 @@
|
|||
label="${c:l('editarConvenioController.lbPedagio.value')}" />
|
||||
<listheader image="/gui/img/create_doc.gif"
|
||||
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"
|
||||
label="${c:l('editarConvenioController.lbNumDocinicio.value')}" />
|
||||
<listheader image="/gui/img/create_doc.gif"
|
||||
|
|
Loading…
Reference in New Issue