fixes bug#23939
qua: dev: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@110765 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
b10ac5c78b
commit
0bf0c10264
|
@ -17,6 +17,7 @@ import org.zkoss.zul.Button;
|
||||||
import org.zkoss.zul.Checkbox;
|
import org.zkoss.zul.Checkbox;
|
||||||
import org.zkoss.zul.Combobox;
|
import org.zkoss.zul.Combobox;
|
||||||
import org.zkoss.zul.Radio;
|
import org.zkoss.zul.Radio;
|
||||||
|
import org.zkoss.zul.Row;
|
||||||
import org.zkoss.zul.Textbox;
|
import org.zkoss.zul.Textbox;
|
||||||
|
|
||||||
import com.rjconsultores.ventaboletos.constantes.Constantes;
|
import com.rjconsultores.ventaboletos.constantes.Constantes;
|
||||||
|
@ -77,6 +78,9 @@ public class EditarOCDParamController extends MyGenericForwardComposer {
|
||||||
private Radio rdPenalizacionOrgaoConcedente;
|
private Radio rdPenalizacionOrgaoConcedente;
|
||||||
private Checkbox chkIndtotalbilhete;
|
private Checkbox chkIndtotalbilhete;
|
||||||
private Checkbox chkIndsempregerarapagar;
|
private Checkbox chkIndsempregerarapagar;
|
||||||
|
private Checkbox chkIndOCDPorFormadePagamento;
|
||||||
|
private Row rowIndOCDPorFormadePagamento;
|
||||||
|
|
||||||
|
|
||||||
private Radio rdSomenteCartao;
|
private Radio rdSomenteCartao;
|
||||||
private Radio rdTodasFormasPagamento;
|
private Radio rdTodasFormasPagamento;
|
||||||
|
@ -121,6 +125,8 @@ public class EditarOCDParamController extends MyGenericForwardComposer {
|
||||||
chkOCDTransferencia.setChecked(ocdParamCorrente.getIndOCDTransferencia() == null ? false : ocdParamCorrente.getIndOCDTransferencia());
|
chkOCDTransferencia.setChecked(ocdParamCorrente.getIndOCDTransferencia() == null ? false : ocdParamCorrente.getIndOCDTransferencia());
|
||||||
chkIndtotalbilhete.setChecked(ocdParamCorrente.getIndtotalbilhete() == null ? false : ocdParamCorrente.getIndtotalbilhete());
|
chkIndtotalbilhete.setChecked(ocdParamCorrente.getIndtotalbilhete() == null ? false : ocdParamCorrente.getIndtotalbilhete());
|
||||||
chkIndsempregerarapagar.setChecked(ocdParamCorrente.getIndsempregerarapagar() == null ? false : ocdParamCorrente.getIndsempregerarapagar());
|
chkIndsempregerarapagar.setChecked(ocdParamCorrente.getIndsempregerarapagar() == null ? false : ocdParamCorrente.getIndsempregerarapagar());
|
||||||
|
chkIndOCDPorFormadePagamento.setChecked(ocdParamCorrente.getIndOCDPorFormadePagamento() == null ? false : ocdParamCorrente.getIndOCDPorFormadePagamento());
|
||||||
|
rowIndOCDPorFormadePagamento.setVisible(!ocdParamCorrente.getIndOcdDinheiro());
|
||||||
txtPenalizacion.setDisabled(!ocdParamCorrente.getIndPenalizacionOCD());
|
txtPenalizacion.setDisabled(!ocdParamCorrente.getIndPenalizacionOCD());
|
||||||
txtTiempoLimitePenalizacion.setDisabled(!ocdParamCorrente.getIndPenalizacionOCD());
|
txtTiempoLimitePenalizacion.setDisabled(!ocdParamCorrente.getIndPenalizacionOCD());
|
||||||
ptoVtaOCDParamList.setItemRenderer(new RenderOCDPtoVtaParam());
|
ptoVtaOCDParamList.setItemRenderer(new RenderOCDPtoVtaParam());
|
||||||
|
@ -149,6 +155,19 @@ public class EditarOCDParamController extends MyGenericForwardComposer {
|
||||||
rdSomenteCartao.setChecked(!ocdParamCorrente.getIndOcdDinheiro());
|
rdSomenteCartao.setChecked(!ocdParamCorrente.getIndOcdDinheiro());
|
||||||
rdTodasFormasPagamento.setChecked(ocdParamCorrente.getIndOcdDinheiro());
|
rdTodasFormasPagamento.setChecked(ocdParamCorrente.getIndOcdDinheiro());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void onClick$rdSomenteCartao(Event ev) throws InterruptedException {
|
||||||
|
if(rdSomenteCartao.isChecked()) {
|
||||||
|
rowIndOCDPorFormadePagamento.setVisible(true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$rdTodasFormasPagamento(Event ev) throws InterruptedException {
|
||||||
|
if(rdTodasFormasPagamento.isChecked()) {
|
||||||
|
rowIndOCDPorFormadePagamento.setVisible(false);
|
||||||
|
chkIndOCDPorFormadePagamento.setChecked(false);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void onClick$btnApagar(Event ev) throws InterruptedException {
|
public void onClick$btnApagar(Event ev) throws InterruptedException {
|
||||||
try {
|
try {
|
||||||
|
@ -205,6 +224,7 @@ public class EditarOCDParamController extends MyGenericForwardComposer {
|
||||||
ocdParamCorrente.setIndOCDTransferencia(chkOCDTransferencia.isChecked());
|
ocdParamCorrente.setIndOCDTransferencia(chkOCDTransferencia.isChecked());
|
||||||
ocdParamCorrente.setIndPenalizacionOCD(rdPenalizacionOCD.isChecked());
|
ocdParamCorrente.setIndPenalizacionOCD(rdPenalizacionOCD.isChecked());
|
||||||
ocdParamCorrente.setIndOcdDinheiro(rdTodasFormasPagamento.isChecked());
|
ocdParamCorrente.setIndOcdDinheiro(rdTodasFormasPagamento.isChecked());
|
||||||
|
ocdParamCorrente.setIndOCDPorFormadePagamento(chkIndOCDPorFormadePagamento.isChecked());
|
||||||
ocdParamCorrente.setIndtotalbilhete(chkIndtotalbilhete.isChecked());
|
ocdParamCorrente.setIndtotalbilhete(chkIndtotalbilhete.isChecked());
|
||||||
ocdParamCorrente.setIndsempregerarapagar(chkIndsempregerarapagar.isChecked());
|
ocdParamCorrente.setIndsempregerarapagar(chkIndsempregerarapagar.isChecked());
|
||||||
|
|
||||||
|
|
|
@ -7344,6 +7344,7 @@ editarOCDParamController.tab.label.ptovtaSomenteEstorno=Agências permitidas s
|
||||||
editarOCDParamController.puntoVenta.label=Agência
|
editarOCDParamController.puntoVenta.label=Agência
|
||||||
editarOCDParamController.grid.puntoVenta.label=Agências
|
editarOCDParamController.grid.puntoVenta.label=Agências
|
||||||
busquedaOCDParamController.ocdDefault.label=OCD como padrão
|
busquedaOCDParamController.ocdDefault.label=OCD como padrão
|
||||||
|
busquedaOCDParamController.indOCDPorFormadePagamento.label= Gerar a OCD separada por forma de pagamento
|
||||||
busquedaOCDParamController.ocdTroca.label=OCD Troca
|
busquedaOCDParamController.ocdTroca.label=OCD Troca
|
||||||
busquedaOCDParamController.ocdTransferencia.label=OCD Transferencia
|
busquedaOCDParamController.ocdTransferencia.label=OCD Transferencia
|
||||||
busquedaOCDParamController.tipopenalizacion.label=Penalização por
|
busquedaOCDParamController.tipopenalizacion.label=Penalização por
|
||||||
|
|
|
@ -8158,6 +8158,7 @@ editarOCDParamController.MSG.empresaJaCadastrada=No fue posible incluir Parametr
|
||||||
editarOCDParamController.MSG.borrarPergunta = Desea eliminar el Parametro OCD?
|
editarOCDParamController.MSG.borrarPergunta = Desea eliminar el Parametro OCD?
|
||||||
editarOCDParamController.MSG.borrarOK = Parametro OCD eliminado exitosamente.
|
editarOCDParamController.MSG.borrarOK = Parametro OCD eliminado exitosamente.
|
||||||
busquedaOCDParamController.ocdDefault.label = OCD como default
|
busquedaOCDParamController.ocdDefault.label = OCD como default
|
||||||
|
busquedaOCDParamController.indOCDPorFormadePagamento.label = Gerar a OCD separada por forma de pagamento
|
||||||
busquedaOCDParamController.ocdTroca.label = OCD Cambio
|
busquedaOCDParamController.ocdTroca.label = OCD Cambio
|
||||||
busquedaOCDParamController.ocdTransferencia.label = OCD Transferencia
|
busquedaOCDParamController.ocdTransferencia.label = OCD Transferencia
|
||||||
busquedaOCDParamController.tipopenalizacion.label = Penalización por
|
busquedaOCDParamController.tipopenalizacion.label = Penalización por
|
||||||
|
|
|
@ -7850,6 +7850,7 @@ editarOCDParamController.tab.label.ptovtaSomenteEstorno=Agências permitidas som
|
||||||
editarOCDParamController.puntoVenta.label=Agência
|
editarOCDParamController.puntoVenta.label=Agência
|
||||||
editarOCDParamController.grid.puntoVenta.label=Agências
|
editarOCDParamController.grid.puntoVenta.label=Agências
|
||||||
busquedaOCDParamController.ocdDefault.label = OCD como padrão
|
busquedaOCDParamController.ocdDefault.label = OCD como padrão
|
||||||
|
busquedaOCDParamController.indOCDPorFormadePagamento.label = Gerar a OCD separada por forma de pagamento
|
||||||
busquedaOCDParamController.ocdTroca.label = OCD Troca
|
busquedaOCDParamController.ocdTroca.label = OCD Troca
|
||||||
busquedaOCDParamController.ocdTransferencia.label = OCD Transferencia
|
busquedaOCDParamController.ocdTransferencia.label = OCD Transferencia
|
||||||
busquedaOCDParamController.tipopenalizacion.label = Penalização por
|
busquedaOCDParamController.tipopenalizacion.label = Penalização por
|
||||||
|
|
|
@ -78,7 +78,11 @@
|
||||||
<radio id="rdTodasFormasPagamento" label="${c:l('busquedaOCDParamController.TodasFormasPagamento.label')}" />
|
<radio id="rdTodasFormasPagamento" label="${c:l('busquedaOCDParamController.TodasFormasPagamento.label')}" />
|
||||||
</hbox>
|
</hbox>
|
||||||
</radiogroup>
|
</radiogroup>
|
||||||
</row>
|
</row>
|
||||||
|
<row id="rowIndOCDPorFormadePagamento">
|
||||||
|
<label value="${c:l('busquedaOCDParamController.indOCDPorFormadePagamento.label')}" />
|
||||||
|
<checkbox id="chkIndOCDPorFormadePagamento" value="@{winEditarOCDParam$composer.ocdParamCorrente.indOCDPorFormadePagamento}" checked="false" />
|
||||||
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<label value="${c:l('busquedaOCDParamController.penalizacion.label')}" />
|
<label value="${c:l('busquedaOCDParamController.penalizacion.label')}" />
|
||||||
<textbox id="txtPenalizacion" width="100px"
|
<textbox id="txtPenalizacion" width="100px"
|
||||||
|
|
Loading…
Reference in New Issue