fixed bug #8166
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@62268 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
3b690cb522
commit
b31e0a6153
|
@ -154,6 +154,9 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
|||
private Radio rCredito;
|
||||
private Radio rInformativo;
|
||||
|
||||
private Radio rMsmDia;
|
||||
private Radio rDiaPosterior;
|
||||
|
||||
private ResumoComissao resumo;
|
||||
private BigDecimal totalBilhetesManual;
|
||||
private BigDecimal totalBilhetesVendidos;
|
||||
|
@ -283,11 +286,21 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
|||
rDebito.setDisabled(true);
|
||||
rCredito.setDisabled(true);
|
||||
rInformativo.setDisabled(true);
|
||||
|
||||
rMsmDia.setDisabled(true);
|
||||
rDiaPosterior.setDisabled(true);
|
||||
rMsmDia.setSelected(false);
|
||||
rDiaPosterior.setSelected(false);
|
||||
|
||||
} else if (StatusLogConferencia.PENDENCIA.equals(status)) {
|
||||
txtPrecoLog.setDisabled(false);
|
||||
rDebito.setDisabled(false);
|
||||
rCredito.setDisabled(false);
|
||||
rInformativo.setDisabled(false);
|
||||
|
||||
rMsmDia.setDisabled(false);
|
||||
rDiaPosterior.setDisabled(false);
|
||||
rDiaPosterior.setSelected(true);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@ -836,6 +849,9 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
|||
if(logConferencia.isIndcredito().equals((short) 2)){
|
||||
logConferencia.setTipoInformativoComissao((TipoInformativoComissao)cmbTipoInformativo.getSelectedItem().getValue());
|
||||
}
|
||||
if(StatusLogConferencia.getStatusLogConferencia((Integer) cmbSituacaoLog.getSelectedItem().getValue()).getValue().equals(1)){
|
||||
logConferencia.setIndmesmodia(rMsmDia.isSelected());
|
||||
}
|
||||
|
||||
if(cmbConferenciaPendencia.getSelectedItem() != null) {
|
||||
ConferenciaPendencia conferenciaPendencia = (ConferenciaPendencia) cmbConferenciaPendencia.getSelectedItem().getValue();
|
||||
|
@ -1315,4 +1331,5 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
|||
public void setLsConferenciaPendencia(List<ConferenciaPendencia> lsConferenciaPendencia) {
|
||||
this.lsConferenciaPendencia = lsConferenciaPendencia;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -68,6 +68,9 @@ public class EditarLogConfenciaComissaoController extends MyGenericForwardCompos
|
|||
private Radio rCredito;
|
||||
private Radio rInformativo;
|
||||
|
||||
private Radio rMsmDia;
|
||||
private Radio rDiaPosterior;
|
||||
|
||||
private Combobox cmbTipoInformativo;
|
||||
private List<TipoInformativoComissao> lsTipoInformativo;
|
||||
|
||||
|
@ -95,9 +98,11 @@ public class EditarLogConfenciaComissaoController extends MyGenericForwardCompos
|
|||
lsConferenciaPendencia.add(new ConferenciaPendencia(-1, " "));
|
||||
lsConferenciaPendencia.addAll(conferenciaPendenciaService.obtenerTodos());
|
||||
|
||||
|
||||
super.doAfterCompose(comp);
|
||||
|
||||
rDebito.setChecked(Boolean.TRUE);
|
||||
rDiaPosterior.setChecked(Boolean.TRUE);
|
||||
|
||||
}
|
||||
|
||||
|
@ -123,6 +128,7 @@ public class EditarLogConfenciaComissaoController extends MyGenericForwardCompos
|
|||
logConferencia.setStatus(StatusLogConferencia.PENDENCIA);
|
||||
logConferencia.setTipo(TipoLogConferencia.AVULSO);
|
||||
logConferencia.setIndcredito(getDebitoCreditoInfo());
|
||||
logConferencia.setIndmesmodia(rMsmDia.isSelected());
|
||||
if(logConferencia.isIndcredito().equals((short) 2)){
|
||||
logConferencia.setTipoInformativoComissao((TipoInformativoComissao)cmbTipoInformativo.getSelectedItem().getValue());
|
||||
}
|
||||
|
@ -235,6 +241,7 @@ public class EditarLogConfenciaComissaoController extends MyGenericForwardCompos
|
|||
logConferenciaVO.setOcdId(logConferencia.getOcdId());
|
||||
logConferenciaVO.setFecmodif(logConferencia.getFecmodif());
|
||||
logConferenciaVO.setNombusuario(UsuarioLogado.getUsuarioLogado().getNombusuario());
|
||||
logConferenciaVO.setDescComportamentoData(logConferencia.getIndmesmodia() ? "1" : "0");
|
||||
if(boletoComissao != null) {
|
||||
logConferenciaVO.setNumfoliosistema(boletoComissao.getNumFolioSistema());
|
||||
}
|
||||
|
|
|
@ -45,6 +45,9 @@ public class RenderLogConferencia implements ListitemRenderer {
|
|||
lc = new Listcell(logConferencia.getDescpendencia());
|
||||
lc.setParent(lstm);
|
||||
|
||||
lc = new Listcell(logConferencia.getDescComportamentoData());
|
||||
lc.setParent(lstm);
|
||||
|
||||
lc = new Listcell(DateUtil.getStringDate(logConferencia.getFecmodif(), "dd/MM/yyyy HH:mm"));
|
||||
lc.setParent(lstm);
|
||||
|
||||
|
|
|
@ -6473,6 +6473,9 @@ conferenciaController.MSG.observacaoObrigatorio = El Campo Observación Debe de
|
|||
conferenciaController.MSG.tipoInfomativoObrigatorio = O campo Tipo Informativo deve ser preenchido.
|
||||
conferenciaController.lhDebitoCredito.value = D/C
|
||||
conferenciaController.lbDebito.value = Débito
|
||||
conferenciaController.lbComportamentoData.value = Comportamento Data
|
||||
conferenciaController.lbMesmoDia.value = Mesmo dia
|
||||
conferenciaController.lbDiaPosterior.value = Dia posterior
|
||||
conferenciaController.lbCredito.value = Crédito
|
||||
conferenciaController.lbInformativo.value = Informativo
|
||||
conferenciaController.lbValorTotal.label = Total
|
||||
|
|
|
@ -6651,6 +6651,9 @@ conferenciaController.MSG.observacaoObrigatorio = O campo observação deve ser
|
|||
conferenciaController.MSG.tipoInfomativoObrigatorio = O campo Tipo Informativo deve ser preenchido.
|
||||
conferenciaController.lhDebitoCredito.value = D/C
|
||||
conferenciaController.lbDebitoCredito.value = Débito/Crédito
|
||||
conferenciaController.lbComportamentoData.value = Comportamento Data
|
||||
conferenciaController.lbMesmoDia.value = Mesmo dia
|
||||
conferenciaController.lbDiaPosterior.value = Dia posterior
|
||||
conferenciaController.lbDebito.value = Débito
|
||||
conferenciaController.lbCredito.value = Crédito
|
||||
conferenciaController.lbInformativo.value = Informativo
|
||||
|
|
|
@ -883,6 +883,17 @@
|
|||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"/>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<label value="${c:l('conferenciaController.lbComportamentoData.value')}" />
|
||||
|
||||
<radiogroup width="100%">
|
||||
<radio id="rDiaPosterior"
|
||||
label="${c:l('conferenciaController.lbDiaPosterior.value')}" disabled="true" />
|
||||
<radio id="rMsmDia"
|
||||
label="${c:l('conferenciaController.lbMesmoDia.value')}" disabled="true" />
|
||||
</radiogroup>
|
||||
</row>
|
||||
|
||||
<row spans="1,3">
|
||||
<label id="lblConferenciaPendencia" value="${c:l('conferenciaController.lhConferenciaPendencia.value')}" />
|
||||
|
||||
|
@ -945,6 +956,9 @@
|
|||
<listheader image="/gui/img/builder.gif"
|
||||
label="${c:l('conferenciaController.lhConferenciaPendencia.value')}"
|
||||
sort="auto(descpendencia)" />
|
||||
<listheader image="/gui/img/builder.gif"
|
||||
label="${c:l('conferenciaController.lbComportamentoData.value')}"
|
||||
sort="auto(descComportamentoData)" />
|
||||
<listheader image="/gui/img/builder.gif"
|
||||
label="${c:l('conferenciaController.lhFecmodif.value')}"
|
||||
sort="auto(fecmodif)" />
|
||||
|
|
|
@ -60,6 +60,16 @@
|
|||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"/>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('conferenciaController.lbComportamentoData.value')}" />
|
||||
|
||||
<radiogroup width="100%">
|
||||
<radio id="rDiaPosterior" label="${c:l('conferenciaController.lbDiaPosterior.value')}" />
|
||||
<radio id="rMsmDia" label="${c:l('conferenciaController.lbMesmoDia.value')}" />
|
||||
</radiogroup>
|
||||
</row>
|
||||
|
||||
<row spans="1,3">
|
||||
<label id="lblConferenciaPendencia" value="${c:l('conferenciaController.lhConferenciaPendencia.value')}" />
|
||||
|
||||
|
|
Loading…
Reference in New Issue