fixes bug #7905
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@60763 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
9c9838e794
commit
4020ca4fef
|
@ -106,5 +106,6 @@
|
||||||
</classpathentry>
|
</classpathentry>
|
||||||
<classpathentry combineaccessrules="false" kind="src" path="/WSTotvs"/>
|
<classpathentry combineaccessrules="false" kind="src" path="/WSTotvs"/>
|
||||||
<classpathentry kind="lib" path="/LibreriasAdmVenta/flyway-core-4.0.1.jar"/>
|
<classpathentry kind="lib" path="/LibreriasAdmVenta/flyway-core-4.0.1.jar"/>
|
||||||
|
<classpathentry combineaccessrules="false" kind="src" path="/Flyway"/>
|
||||||
<classpathentry kind="output" path="build/classes"/>
|
<classpathentry kind="output" path="build/classes"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
|
|
|
@ -179,25 +179,25 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
||||||
super.doAfterCompose(comp);
|
super.doAfterCompose(comp);
|
||||||
logsConferenciaList.setItemRenderer(new RenderLogConferencia());
|
logsConferenciaList.setItemRenderer(new RenderLogConferencia());
|
||||||
|
|
||||||
ocdsList.setItemRenderer(new RenderOcd(){
|
ocdsList.setItemRenderer(new RenderOcd() {
|
||||||
@Override
|
@Override
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
public void render(Listitem lstm, Object o) throws Exception {
|
public void render(Listitem lstm, Object o) throws Exception {
|
||||||
super.render(lstm, o);
|
super.render(lstm, o);
|
||||||
final OcdVO ocd = (OcdVO) o;
|
final OcdVO ocd = (OcdVO) o;
|
||||||
List<Component> com = lstm.getChildren();
|
List<Component> com = lstm.getChildren();
|
||||||
for (Component component: com) {
|
for (Component component : com) {
|
||||||
Listcell listCell = (Listcell) component;
|
Listcell listCell = (Listcell) component;
|
||||||
if(listCell.getFirstChild() instanceof Checkbox) {
|
if (listCell.getFirstChild() instanceof Checkbox) {
|
||||||
Checkbox chk = (Checkbox)component.getFirstChild();
|
Checkbox chk = (Checkbox) component.getFirstChild();
|
||||||
chk.setDisabled(isExibirBotaoReabrirMovimento());
|
chk.setDisabled(isExibirBotaoReabrirMovimento());
|
||||||
chk.addEventListener("onCheck", new EventListener() {
|
chk.addEventListener("onCheck", new EventListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onEvent(Event event) throws Exception {
|
public void onEvent(Event event) throws Exception {
|
||||||
CheckEvent checkEvent = (CheckEvent) event;
|
CheckEvent checkEvent = (CheckEvent) event;
|
||||||
if(checkEvent.isChecked() && ocd.getLogconferenciaId() == null) {
|
if (checkEvent.isChecked() && ocd.getLogconferenciaId() == null) {
|
||||||
gravarLogConferenciaOcd(ocd);
|
gravarLogConferenciaOcd(ocd);
|
||||||
} else if(!checkEvent.isChecked() && ocd.getLogconferenciaId() != null) {
|
} else if (!checkEvent.isChecked() && ocd.getLogconferenciaId() != null) {
|
||||||
removerLogConferenciaOcd(ocd);
|
removerLogConferenciaOcd(ocd);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -214,25 +214,25 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
eventosFinanceirosList.setItemRenderer(new RenderEventosFinanceiros(){
|
eventosFinanceirosList.setItemRenderer(new RenderEventosFinanceiros() {
|
||||||
@Override
|
@Override
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
public void render(Listitem lstm, Object o) throws Exception {
|
public void render(Listitem lstm, Object o) throws Exception {
|
||||||
super.render(lstm, o);
|
super.render(lstm, o);
|
||||||
final EventosFinanceirosVO eventoFinanceiro = (EventosFinanceirosVO) o;
|
final EventosFinanceirosVO eventoFinanceiro = (EventosFinanceirosVO) o;
|
||||||
List<Component> com = lstm.getChildren();
|
List<Component> com = lstm.getChildren();
|
||||||
for (Component component: com) {
|
for (Component component : com) {
|
||||||
Listcell listCell = (Listcell) component;
|
Listcell listCell = (Listcell) component;
|
||||||
if(listCell.getFirstChild() instanceof Checkbox) {
|
if (listCell.getFirstChild() instanceof Checkbox) {
|
||||||
Checkbox chk = (Checkbox)component.getFirstChild();
|
Checkbox chk = (Checkbox) component.getFirstChild();
|
||||||
chk.setDisabled(isExibirBotaoReabrirMovimento());
|
chk.setDisabled(isExibirBotaoReabrirMovimento());
|
||||||
chk.addEventListener("onCheck", new EventListener() {
|
chk.addEventListener("onCheck", new EventListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onEvent(Event event) throws Exception {
|
public void onEvent(Event event) throws Exception {
|
||||||
CheckEvent checkEvent = (CheckEvent) event;
|
CheckEvent checkEvent = (CheckEvent) event;
|
||||||
if(checkEvent.isChecked() && eventoFinanceiro.getLogconferenciaId() == null) {
|
if (checkEvent.isChecked() && eventoFinanceiro.getLogconferenciaId() == null) {
|
||||||
gravarLogConferenciaEventoFinanceiro(eventoFinanceiro);
|
gravarLogConferenciaEventoFinanceiro(eventoFinanceiro);
|
||||||
} else if(!checkEvent.isChecked() && eventoFinanceiro.getLogconferenciaId() != null) {
|
} else if (!checkEvent.isChecked() && eventoFinanceiro.getLogconferenciaId() != null) {
|
||||||
removerLogConferenciaEventoFinanceiro(eventoFinanceiro);
|
removerLogConferenciaEventoFinanceiro(eventoFinanceiro);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -253,12 +253,12 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
||||||
cmbSituacaoLog.addEventListener("onSelect", new EventListener() {
|
cmbSituacaoLog.addEventListener("onSelect", new EventListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onEvent(Event event) throws Exception {
|
public void onEvent(Event event) throws Exception {
|
||||||
StatusLogConferencia status = StatusLogConferencia.getStatusLogConferencia((Integer)cmbSituacaoLog.getSelectedItem().getValue());
|
StatusLogConferencia status = StatusLogConferencia.getStatusLogConferencia((Integer) cmbSituacaoLog.getSelectedItem().getValue());
|
||||||
if(StatusLogConferencia.CONFERIDO.equals(status)) {
|
if (StatusLogConferencia.CONFERIDO.equals(status)) {
|
||||||
txtPrecoLog.setDisabled(true);
|
txtPrecoLog.setDisabled(true);
|
||||||
rDebito.setDisabled(true);
|
rDebito.setDisabled(true);
|
||||||
rCredito.setDisabled(true);
|
rCredito.setDisabled(true);
|
||||||
} else if(StatusLogConferencia.PENDENCIA.equals(status)) {
|
} else if (StatusLogConferencia.PENDENCIA.equals(status)) {
|
||||||
txtPrecoLog.setDisabled(false);
|
txtPrecoLog.setDisabled(false);
|
||||||
rDebito.setDisabled(false);
|
rDebito.setDisabled(false);
|
||||||
rCredito.setDisabled(false);
|
rCredito.setDisabled(false);
|
||||||
|
@ -278,25 +278,25 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ajustarListsBilhetes() {
|
private void ajustarListsBilhetes() {
|
||||||
bilhetesManualList.setItemRenderer(new RenderBoletoComissao(){
|
bilhetesManualList.setItemRenderer(new RenderBoletoComissao() {
|
||||||
@Override
|
@Override
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
public void render(Listitem lstm, Object o) throws Exception {
|
public void render(Listitem lstm, Object o) throws Exception {
|
||||||
super.render(lstm, o);
|
super.render(lstm, o);
|
||||||
final BoletoComissao boletoComissao = (BoletoComissao) o;
|
final BoletoComissao boletoComissao = (BoletoComissao) o;
|
||||||
List<Component> com = lstm.getChildren();
|
List<Component> com = lstm.getChildren();
|
||||||
for (Component component: com) {
|
for (Component component : com) {
|
||||||
Listcell listCell = (Listcell) component;
|
Listcell listCell = (Listcell) component;
|
||||||
if(listCell.getFirstChild() instanceof Checkbox) {
|
if (listCell.getFirstChild() instanceof Checkbox) {
|
||||||
Checkbox chk = (Checkbox)component.getFirstChild();
|
Checkbox chk = (Checkbox) component.getFirstChild();
|
||||||
chk.setDisabled(isExibirBotaoReabrirMovimento());
|
chk.setDisabled(isExibirBotaoReabrirMovimento());
|
||||||
chk.addEventListener("onCheck", new EventListener() {
|
chk.addEventListener("onCheck", new EventListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onEvent(Event event) throws Exception {
|
public void onEvent(Event event) throws Exception {
|
||||||
CheckEvent checkEvent = (CheckEvent) event;
|
CheckEvent checkEvent = (CheckEvent) event;
|
||||||
if(checkEvent.isChecked() && boletoComissao.getLogconferenciaId() == null) {
|
if (checkEvent.isChecked() && boletoComissao.getLogconferenciaId() == null) {
|
||||||
gravarLogConferenciaBilhete(bilhetesManualList, boletoComissao);
|
gravarLogConferenciaBilhete(bilhetesManualList, boletoComissao);
|
||||||
} else if(!checkEvent.isChecked() && boletoComissao.getLogconferenciaId() != null) {
|
} else if (!checkEvent.isChecked() && boletoComissao.getLogconferenciaId() != null) {
|
||||||
removerLogConferenciaBilhete(bilhetesManualList, boletoComissao);
|
removerLogConferenciaBilhete(bilhetesManualList, boletoComissao);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -313,25 +313,25 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
bilhetesList.setItemRenderer(new RenderBoletoComissao(){
|
bilhetesList.setItemRenderer(new RenderBoletoComissao() {
|
||||||
@Override
|
@Override
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
public void render(Listitem lstm, Object o) throws Exception {
|
public void render(Listitem lstm, Object o) throws Exception {
|
||||||
super.render(lstm, o);
|
super.render(lstm, o);
|
||||||
final BoletoComissao boletoComissao = (BoletoComissao) o;
|
final BoletoComissao boletoComissao = (BoletoComissao) o;
|
||||||
List<Component> com = lstm.getChildren();
|
List<Component> com = lstm.getChildren();
|
||||||
for (Component component: com) {
|
for (Component component : com) {
|
||||||
Listcell listCell = (Listcell) component;
|
Listcell listCell = (Listcell) component;
|
||||||
if(listCell.getFirstChild() instanceof Checkbox) {
|
if (listCell.getFirstChild() instanceof Checkbox) {
|
||||||
Checkbox chk = (Checkbox)component.getFirstChild();
|
Checkbox chk = (Checkbox) component.getFirstChild();
|
||||||
chk.setDisabled(isExibirBotaoReabrirMovimento());
|
chk.setDisabled(isExibirBotaoReabrirMovimento());
|
||||||
chk.addEventListener("onCheck", new EventListener() {
|
chk.addEventListener("onCheck", new EventListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onEvent(Event event) throws Exception {
|
public void onEvent(Event event) throws Exception {
|
||||||
CheckEvent checkEvent = (CheckEvent) event;
|
CheckEvent checkEvent = (CheckEvent) event;
|
||||||
if(checkEvent.isChecked() && boletoComissao.getLogconferenciaId() == null) {
|
if (checkEvent.isChecked() && boletoComissao.getLogconferenciaId() == null) {
|
||||||
gravarLogConferenciaBilhete(bilhetesList, boletoComissao);
|
gravarLogConferenciaBilhete(bilhetesList, boletoComissao);
|
||||||
} else if(!checkEvent.isChecked() && boletoComissao.getLogconferenciaId() != null) {
|
} else if (!checkEvent.isChecked() && boletoComissao.getLogconferenciaId() != null) {
|
||||||
removerLogConferenciaBilhete(bilhetesList, boletoComissao);
|
removerLogConferenciaBilhete(bilhetesList, boletoComissao);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -348,25 +348,25 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
bilhetesCanceladosList.setItemRenderer(new RenderBoletoComissao(){
|
bilhetesCanceladosList.setItemRenderer(new RenderBoletoComissao() {
|
||||||
@Override
|
@Override
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
public void render(Listitem lstm, Object o) throws Exception {
|
public void render(Listitem lstm, Object o) throws Exception {
|
||||||
super.render(lstm, o);
|
super.render(lstm, o);
|
||||||
final BoletoComissao boletoComissao = (BoletoComissao) o;
|
final BoletoComissao boletoComissao = (BoletoComissao) o;
|
||||||
List<Component> com = lstm.getChildren();
|
List<Component> com = lstm.getChildren();
|
||||||
for (Component component: com) {
|
for (Component component : com) {
|
||||||
Listcell listCell = (Listcell) component;
|
Listcell listCell = (Listcell) component;
|
||||||
if(listCell.getFirstChild() instanceof Checkbox) {
|
if (listCell.getFirstChild() instanceof Checkbox) {
|
||||||
Checkbox chk = (Checkbox)component.getFirstChild();
|
Checkbox chk = (Checkbox) component.getFirstChild();
|
||||||
chk.setDisabled(isExibirBotaoReabrirMovimento());
|
chk.setDisabled(isExibirBotaoReabrirMovimento());
|
||||||
chk.addEventListener("onCheck", new EventListener() {
|
chk.addEventListener("onCheck", new EventListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onEvent(Event event) throws Exception {
|
public void onEvent(Event event) throws Exception {
|
||||||
CheckEvent checkEvent = (CheckEvent) event;
|
CheckEvent checkEvent = (CheckEvent) event;
|
||||||
if(checkEvent.isChecked() && boletoComissao.getLogconferenciaId() == null) {
|
if (checkEvent.isChecked() && boletoComissao.getLogconferenciaId() == null) {
|
||||||
gravarLogConferenciaBilhete(bilhetesCanceladosList, boletoComissao);
|
gravarLogConferenciaBilhete(bilhetesCanceladosList, boletoComissao);
|
||||||
} else if(!checkEvent.isChecked() && boletoComissao.getLogconferenciaId() != null) {
|
} else if (!checkEvent.isChecked() && boletoComissao.getLogconferenciaId() != null) {
|
||||||
removerLogConferenciaBilhete(bilhetesCanceladosList, boletoComissao);
|
removerLogConferenciaBilhete(bilhetesCanceladosList, boletoComissao);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -383,25 +383,25 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
bilhetesDevolvidosList.setItemRenderer(new RenderBoletoComissao(){
|
bilhetesDevolvidosList.setItemRenderer(new RenderBoletoComissao() {
|
||||||
@Override
|
@Override
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
public void render(Listitem lstm, Object o) throws Exception {
|
public void render(Listitem lstm, Object o) throws Exception {
|
||||||
super.render(lstm, o);
|
super.render(lstm, o);
|
||||||
final BoletoComissao boletoComissao = (BoletoComissao) o;
|
final BoletoComissao boletoComissao = (BoletoComissao) o;
|
||||||
List<Component> com = lstm.getChildren();
|
List<Component> com = lstm.getChildren();
|
||||||
for (Component component: com) {
|
for (Component component : com) {
|
||||||
Listcell listCell = (Listcell) component;
|
Listcell listCell = (Listcell) component;
|
||||||
if(listCell.getFirstChild() instanceof Checkbox) {
|
if (listCell.getFirstChild() instanceof Checkbox) {
|
||||||
Checkbox chk = (Checkbox)component.getFirstChild();
|
Checkbox chk = (Checkbox) component.getFirstChild();
|
||||||
chk.setDisabled(isExibirBotaoReabrirMovimento());
|
chk.setDisabled(isExibirBotaoReabrirMovimento());
|
||||||
chk.addEventListener("onCheck", new EventListener() {
|
chk.addEventListener("onCheck", new EventListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onEvent(Event event) throws Exception {
|
public void onEvent(Event event) throws Exception {
|
||||||
CheckEvent checkEvent = (CheckEvent) event;
|
CheckEvent checkEvent = (CheckEvent) event;
|
||||||
if(checkEvent.isChecked() && boletoComissao.getLogconferenciaId() == null) {
|
if (checkEvent.isChecked() && boletoComissao.getLogconferenciaId() == null) {
|
||||||
gravarLogConferenciaBilhete(bilhetesDevolvidosList, boletoComissao);
|
gravarLogConferenciaBilhete(bilhetesDevolvidosList, boletoComissao);
|
||||||
} else if(!checkEvent.isChecked() && boletoComissao.getLogconferenciaId() != null) {
|
} else if (!checkEvent.isChecked() && boletoComissao.getLogconferenciaId() != null) {
|
||||||
removerLogConferenciaBilhete(bilhetesDevolvidosList, boletoComissao);
|
removerLogConferenciaBilhete(bilhetesDevolvidosList, boletoComissao);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -418,25 +418,25 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
bilhetesGapList.setItemRenderer(new RenderBoletoComissao(){
|
bilhetesGapList.setItemRenderer(new RenderBoletoComissao() {
|
||||||
@Override
|
@Override
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
public void render(Listitem lstm, Object o) throws Exception {
|
public void render(Listitem lstm, Object o) throws Exception {
|
||||||
super.render(lstm, o);
|
super.render(lstm, o);
|
||||||
final BoletoComissao boletoComissao = (BoletoComissao) o;
|
final BoletoComissao boletoComissao = (BoletoComissao) o;
|
||||||
List<Component> com = lstm.getChildren();
|
List<Component> com = lstm.getChildren();
|
||||||
for (Component component: com) {
|
for (Component component : com) {
|
||||||
Listcell listCell = (Listcell) component;
|
Listcell listCell = (Listcell) component;
|
||||||
if(listCell.getFirstChild() instanceof Checkbox) {
|
if (listCell.getFirstChild() instanceof Checkbox) {
|
||||||
Checkbox chk = (Checkbox)component.getFirstChild();
|
Checkbox chk = (Checkbox) component.getFirstChild();
|
||||||
chk.setDisabled(isExibirBotaoReabrirMovimento());
|
chk.setDisabled(isExibirBotaoReabrirMovimento());
|
||||||
chk.addEventListener("onCheck", new EventListener() {
|
chk.addEventListener("onCheck", new EventListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onEvent(Event event) throws Exception {
|
public void onEvent(Event event) throws Exception {
|
||||||
CheckEvent checkEvent = (CheckEvent) event;
|
CheckEvent checkEvent = (CheckEvent) event;
|
||||||
if(checkEvent.isChecked() && boletoComissao.getLogconferenciaId() == null) {
|
if (checkEvent.isChecked() && boletoComissao.getLogconferenciaId() == null) {
|
||||||
gravarLogConferenciaBilhete(bilhetesGapList, boletoComissao);
|
gravarLogConferenciaBilhete(bilhetesGapList, boletoComissao);
|
||||||
} else if(!checkEvent.isChecked() && boletoComissao.getLogconferenciaId() != null) {
|
} else if (!checkEvent.isChecked() && boletoComissao.getLogconferenciaId() != null) {
|
||||||
removerLogConferenciaBilhete(bilhetesGapList, boletoComissao);
|
removerLogConferenciaBilhete(bilhetesGapList, boletoComissao);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -453,25 +453,25 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
bilhetesGapCanceladosList.setItemRenderer(new RenderBoletoComissao(){
|
bilhetesGapCanceladosList.setItemRenderer(new RenderBoletoComissao() {
|
||||||
@Override
|
@Override
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
public void render(Listitem lstm, Object o) throws Exception {
|
public void render(Listitem lstm, Object o) throws Exception {
|
||||||
super.render(lstm, o);
|
super.render(lstm, o);
|
||||||
final BoletoComissao boletoComissao = (BoletoComissao) o;
|
final BoletoComissao boletoComissao = (BoletoComissao) o;
|
||||||
List<Component> com = lstm.getChildren();
|
List<Component> com = lstm.getChildren();
|
||||||
for (Component component: com) {
|
for (Component component : com) {
|
||||||
Listcell listCell = (Listcell) component;
|
Listcell listCell = (Listcell) component;
|
||||||
if(listCell.getFirstChild() instanceof Checkbox) {
|
if (listCell.getFirstChild() instanceof Checkbox) {
|
||||||
Checkbox chk = (Checkbox)component.getFirstChild();
|
Checkbox chk = (Checkbox) component.getFirstChild();
|
||||||
chk.setDisabled(isExibirBotaoReabrirMovimento());
|
chk.setDisabled(isExibirBotaoReabrirMovimento());
|
||||||
chk.addEventListener("onCheck", new EventListener() {
|
chk.addEventListener("onCheck", new EventListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onEvent(Event event) throws Exception {
|
public void onEvent(Event event) throws Exception {
|
||||||
CheckEvent checkEvent = (CheckEvent) event;
|
CheckEvent checkEvent = (CheckEvent) event;
|
||||||
if(checkEvent.isChecked() && boletoComissao.getLogconferenciaId() == null) {
|
if (checkEvent.isChecked() && boletoComissao.getLogconferenciaId() == null) {
|
||||||
gravarLogConferenciaBilhete(bilhetesGapCanceladosList, boletoComissao);
|
gravarLogConferenciaBilhete(bilhetesGapCanceladosList, boletoComissao);
|
||||||
} else if(!checkEvent.isChecked() && boletoComissao.getLogconferenciaId() != null) {
|
} else if (!checkEvent.isChecked() && boletoComissao.getLogconferenciaId() != null) {
|
||||||
removerLogConferenciaBilhete(bilhetesGapCanceladosList, boletoComissao);
|
removerLogConferenciaBilhete(bilhetesGapCanceladosList, boletoComissao);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -488,25 +488,25 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
bilhetesGapDevolvidosList.setItemRenderer(new RenderBoletoComissao(){
|
bilhetesGapDevolvidosList.setItemRenderer(new RenderBoletoComissao() {
|
||||||
@Override
|
@Override
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
public void render(Listitem lstm, Object o) throws Exception {
|
public void render(Listitem lstm, Object o) throws Exception {
|
||||||
super.render(lstm, o);
|
super.render(lstm, o);
|
||||||
final BoletoComissao boletoComissao = (BoletoComissao) o;
|
final BoletoComissao boletoComissao = (BoletoComissao) o;
|
||||||
List<Component> com = lstm.getChildren();
|
List<Component> com = lstm.getChildren();
|
||||||
for (Component component: com) {
|
for (Component component : com) {
|
||||||
Listcell listCell = (Listcell) component;
|
Listcell listCell = (Listcell) component;
|
||||||
if(listCell.getFirstChild() instanceof Checkbox) {
|
if (listCell.getFirstChild() instanceof Checkbox) {
|
||||||
Checkbox chk = (Checkbox)component.getFirstChild();
|
Checkbox chk = (Checkbox) component.getFirstChild();
|
||||||
chk.setDisabled(isExibirBotaoReabrirMovimento());
|
chk.setDisabled(isExibirBotaoReabrirMovimento());
|
||||||
chk.addEventListener("onCheck", new EventListener() {
|
chk.addEventListener("onCheck", new EventListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onEvent(Event event) throws Exception {
|
public void onEvent(Event event) throws Exception {
|
||||||
CheckEvent checkEvent = (CheckEvent) event;
|
CheckEvent checkEvent = (CheckEvent) event;
|
||||||
if(checkEvent.isChecked() && boletoComissao.getLogconferenciaId() == null) {
|
if (checkEvent.isChecked() && boletoComissao.getLogconferenciaId() == null) {
|
||||||
gravarLogConferenciaBilhete(bilhetesGapDevolvidosList, boletoComissao);
|
gravarLogConferenciaBilhete(bilhetesGapDevolvidosList, boletoComissao);
|
||||||
} else if(!checkEvent.isChecked() && boletoComissao.getLogconferenciaId() != null) {
|
} else if (!checkEvent.isChecked() && boletoComissao.getLogconferenciaId() != null) {
|
||||||
removerLogConferenciaBilhete(bilhetesGapDevolvidosList, boletoComissao);
|
removerLogConferenciaBilhete(bilhetesGapDevolvidosList, boletoComissao);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -644,7 +644,7 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
||||||
totalDebitosEventoFinanceiros = BigDecimal.ZERO;
|
totalDebitosEventoFinanceiros = BigDecimal.ZERO;
|
||||||
|
|
||||||
for (EventosFinanceirosVO eventoFinanceiro : lsEventosFinanceiros) {
|
for (EventosFinanceirosVO eventoFinanceiro : lsEventosFinanceiros) {
|
||||||
if(eventoFinanceiro.isCredito()) {
|
if (eventoFinanceiro.isCredito()) {
|
||||||
totalCreditosEventoFinanceiros = totalCreditosEventoFinanceiros.add(eventoFinanceiro.getImpingreso());
|
totalCreditosEventoFinanceiros = totalCreditosEventoFinanceiros.add(eventoFinanceiro.getImpingreso());
|
||||||
} else {
|
} else {
|
||||||
totalDebitosEventoFinanceiros = totalDebitosEventoFinanceiros.add(eventoFinanceiro.getImpingreso());
|
totalDebitosEventoFinanceiros = totalDebitosEventoFinanceiros.add(eventoFinanceiro.getImpingreso());
|
||||||
|
@ -660,7 +660,7 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
||||||
lsOcds = conferenciaComissaoService.carregarOcds(conferencia);
|
lsOcds = conferenciaComissaoService.carregarOcds(conferencia);
|
||||||
ocdTotal = conferenciaComissaoService.totalizarOcd(lsOcds);
|
ocdTotal = conferenciaComissaoService.totalizarOcd(lsOcds);
|
||||||
|
|
||||||
if(ocdTotal != null) {
|
if (ocdTotal != null) {
|
||||||
txtTotalOcdValorPagar.setValue(BigDecimalUtil.getBigDecimalToStringDouble2CasasDecimaisFormatado(ocdTotal.getValorPagar(), LocaleUtil.getLocale()));
|
txtTotalOcdValorPagar.setValue(BigDecimalUtil.getBigDecimalToStringDouble2CasasDecimaisFormatado(ocdTotal.getValorPagar(), LocaleUtil.getLocale()));
|
||||||
txtQtdeTotalOcd.setValue(String.valueOf(lsOcds.size()));
|
txtQtdeTotalOcd.setValue(String.valueOf(lsOcds.size()));
|
||||||
}
|
}
|
||||||
|
@ -673,7 +673,7 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
Messagebox.show(Labels.getLabel("conferenciaController.msg.confirmarChegadaMalote"),
|
Messagebox.show(Labels.getLabel("conferenciaController.msg.confirmarChegadaMalote"),
|
||||||
Labels.getLabel("conferenciaController.window.title"),
|
Labels.getLabel("conferenciaController.window.title"),
|
||||||
Messagebox.OK,Messagebox.INFORMATION);
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
|
|
||||||
closeWindow();
|
closeWindow();
|
||||||
|
|
||||||
|
@ -681,13 +681,13 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
||||||
log.error(e.getMessage(), e);
|
log.error(e.getMessage(), e);
|
||||||
Messagebox.show(Labels.getLabel("MSG.Error"),
|
Messagebox.show(Labels.getLabel("MSG.Error"),
|
||||||
Labels.getLabel("conferenciaController.window.title"),
|
Labels.getLabel("conferenciaController.window.title"),
|
||||||
Messagebox.OK,Messagebox.ERROR);
|
Messagebox.OK, Messagebox.ERROR);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onClick$btnEncerrarMovimentoDiario(Event event) throws InterruptedException {
|
public void onClick$btnEncerrarMovimentoDiario(Event event) throws InterruptedException {
|
||||||
try {
|
try {
|
||||||
if(isConferenciaPendente()) {
|
if (isConferenciaPendente()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -695,7 +695,7 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
Messagebox.show(Labels.getLabel("conferenciaController.msg.encerrarMovimentoDiario"),
|
Messagebox.show(Labels.getLabel("conferenciaController.msg.encerrarMovimentoDiario"),
|
||||||
Labels.getLabel("conferenciaController.window.title"),
|
Labels.getLabel("conferenciaController.window.title"),
|
||||||
Messagebox.OK,Messagebox.INFORMATION);
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
|
|
||||||
closeWindow();
|
closeWindow();
|
||||||
|
|
||||||
|
@ -703,10 +703,17 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
||||||
log.error(e.getMessage(), e);
|
log.error(e.getMessage(), e);
|
||||||
Messagebox.show(Labels.getLabel("MSG.Error"),
|
Messagebox.show(Labels.getLabel("MSG.Error"),
|
||||||
Labels.getLabel("conferenciaController.window.title"),
|
Labels.getLabel("conferenciaController.window.title"),
|
||||||
Messagebox.OK,Messagebox.ERROR);
|
Messagebox.OK, Messagebox.ERROR);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void onClick$btnIrregularidade(Event event) throws InterruptedException {
|
||||||
|
Map<String, Object> args = new HashMap<String, Object>();
|
||||||
|
args.put("puntoVentaId", puntoventaId);
|
||||||
|
openWindow("/gui/comissao/informeIrregularidadeComissao.zul",
|
||||||
|
Labels.getLabel("informeIrregularidadeController.window.title"), args);
|
||||||
|
}
|
||||||
|
|
||||||
private boolean isConferenciaPendente() throws InterruptedException, BusinessException {
|
private boolean isConferenciaPendente() throws InterruptedException, BusinessException {
|
||||||
List<BoletoComissao> lsBoletoComissao = new ArrayList<BoletoComissao>();
|
List<BoletoComissao> lsBoletoComissao = new ArrayList<BoletoComissao>();
|
||||||
lsBoletoComissao.addAll(lsBilhetesManual);
|
lsBoletoComissao.addAll(lsBilhetesManual);
|
||||||
|
@ -717,24 +724,24 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
||||||
lsBoletoComissao.addAll(lsBilhetesGapCancelados);
|
lsBoletoComissao.addAll(lsBilhetesGapCancelados);
|
||||||
lsBoletoComissao.addAll(lsBilhetesGapDevolvidos);
|
lsBoletoComissao.addAll(lsBilhetesGapDevolvidos);
|
||||||
|
|
||||||
if(conferenciaComissaoService.isBilhetesSemConferencia(lsBoletoComissao)) {
|
if (conferenciaComissaoService.isBilhetesSemConferencia(lsBoletoComissao)) {
|
||||||
Messagebox.show(Labels.getLabel("conferenciaController.MSG.bilheteSemConferenciaFormapagoCategoria"),
|
Messagebox.show(Labels.getLabel("conferenciaController.MSG.bilheteSemConferenciaFormapagoCategoria"),
|
||||||
Labels.getLabel("conferenciaController.window.title"),
|
Labels.getLabel("conferenciaController.window.title"),
|
||||||
Messagebox.OK,Messagebox.EXCLAMATION);
|
Messagebox.OK, Messagebox.EXCLAMATION);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(conferenciaComissaoService.isEventosFinanceirosSemConferencia(lsEventosFinanceiros)) {
|
if (conferenciaComissaoService.isEventosFinanceirosSemConferencia(lsEventosFinanceiros)) {
|
||||||
Messagebox.show(Labels.getLabel("conferenciaController.MSG.eventosFinanceirosSemConferenciaFormapago"),
|
Messagebox.show(Labels.getLabel("conferenciaController.MSG.eventosFinanceirosSemConferenciaFormapago"),
|
||||||
Labels.getLabel("conferenciaController.window.title"),
|
Labels.getLabel("conferenciaController.window.title"),
|
||||||
Messagebox.OK,Messagebox.EXCLAMATION);
|
Messagebox.OK, Messagebox.EXCLAMATION);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(conferenciaComissaoService.isOcdSemConferencia(lsOcds)) {
|
if (conferenciaComissaoService.isOcdSemConferencia(lsOcds)) {
|
||||||
Messagebox.show(Labels.getLabel("conferenciaController.MSG.ocdSemConferencia"),
|
Messagebox.show(Labels.getLabel("conferenciaController.MSG.ocdSemConferencia"),
|
||||||
Labels.getLabel("conferenciaController.window.title"),
|
Labels.getLabel("conferenciaController.window.title"),
|
||||||
Messagebox.OK,Messagebox.EXCLAMATION);
|
Messagebox.OK, Messagebox.EXCLAMATION);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -747,7 +754,7 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
Messagebox.show(Labels.getLabel("conferenciaController.msg.reabrirMovimentoDiario"),
|
Messagebox.show(Labels.getLabel("conferenciaController.msg.reabrirMovimentoDiario"),
|
||||||
Labels.getLabel("conferenciaController.window.title"),
|
Labels.getLabel("conferenciaController.window.title"),
|
||||||
Messagebox.OK,Messagebox.INFORMATION);
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
|
|
||||||
closeWindow();
|
closeWindow();
|
||||||
|
|
||||||
|
@ -755,20 +762,20 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
||||||
log.error(e.getMessage(), e);
|
log.error(e.getMessage(), e);
|
||||||
Messagebox.show(Labels.getLabel("MSG.Error"),
|
Messagebox.show(Labels.getLabel("MSG.Error"),
|
||||||
Labels.getLabel("conferenciaController.window.title"),
|
Labels.getLabel("conferenciaController.window.title"),
|
||||||
Messagebox.OK,Messagebox.ERROR);
|
Messagebox.OK, Messagebox.ERROR);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void recuperarConferencia(Long conferenciaId) throws ParseException, BusinessException {
|
private void recuperarConferencia(Long conferenciaId) throws ParseException, BusinessException {
|
||||||
if(conferenciaId != null) {
|
if (conferenciaId != null) {
|
||||||
conferencia = conferenciaComissaoService.obtenerID(conferenciaId);
|
conferencia = conferenciaComissaoService.obtenerID(conferenciaId);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(conferencia == null) {
|
if (conferencia == null) {
|
||||||
conferencia = conferenciaComissaoService.obtenerConferenciaDataMovimento(DateUtil.getDateFromString(datamovimento, "dd/MM/yyyy"), puntoventaId, empresa.getEmpresaId());
|
conferencia = conferenciaComissaoService.obtenerConferenciaDataMovimento(DateUtil.getDateFromString(datamovimento, "dd/MM/yyyy"), puntoventaId, empresa.getEmpresaId());
|
||||||
}
|
}
|
||||||
|
|
||||||
if(conferencia == null) {
|
if (conferencia == null) {
|
||||||
conferencia = new Conferencia();
|
conferencia = new Conferencia();
|
||||||
conferencia.setActivo(Boolean.TRUE);
|
conferencia.setActivo(Boolean.TRUE);
|
||||||
conferencia.setFecmodif(new Date());
|
conferencia.setFecmodif(new Date());
|
||||||
|
@ -781,13 +788,13 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
public void onClick$btnAdicionarObservacaoLog(Event event) throws InterruptedException {
|
public void onClick$btnAdicionarObservacaoLog(Event event) throws InterruptedException {
|
||||||
try {
|
try {
|
||||||
if(validarCamposObservacao()) {
|
if (validarCamposObservacao()) {
|
||||||
|
|
||||||
LogConferencia logConferencia = new LogConferencia();
|
LogConferencia logConferencia = new LogConferencia();
|
||||||
logConferencia.setPreco(txtPrecoLog.getValueDecimal());
|
logConferencia.setPreco(txtPrecoLog.getValueDecimal());
|
||||||
logConferencia.setObservacao(txtObservacaoLog.getValue());
|
logConferencia.setObservacao(txtObservacaoLog.getValue());
|
||||||
logConferencia.setConferencia(conferencia);
|
logConferencia.setConferencia(conferencia);
|
||||||
logConferencia.setStatus(StatusLogConferencia.getStatusLogConferencia((Integer)cmbSituacaoLog.getSelectedItem().getValue()));
|
logConferencia.setStatus(StatusLogConferencia.getStatusLogConferencia((Integer) cmbSituacaoLog.getSelectedItem().getValue()));
|
||||||
logConferencia.setTipo(TipoLogConferencia.AVULSO);
|
logConferencia.setTipo(TipoLogConferencia.AVULSO);
|
||||||
logConferencia.setIndcredito(!rDebito.isChecked());
|
logConferencia.setIndcredito(!rDebito.isChecked());
|
||||||
conferenciaComissaoService.suscribirLogConferencia(logConferencia);
|
conferenciaComissaoService.suscribirLogConferencia(logConferencia);
|
||||||
|
@ -796,7 +803,7 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
Messagebox.show(Labels.getLabel("conferenciaController.msg.adicionarLogConferencia"),
|
Messagebox.show(Labels.getLabel("conferenciaController.msg.adicionarLogConferencia"),
|
||||||
Labels.getLabel("conferenciaController.window.title"),
|
Labels.getLabel("conferenciaController.window.title"),
|
||||||
Messagebox.OK,Messagebox.INFORMATION);
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -804,22 +811,22 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
||||||
log.error(e.getMessage(), e);
|
log.error(e.getMessage(), e);
|
||||||
Messagebox.show(Labels.getLabel("MSG.Error"),
|
Messagebox.show(Labels.getLabel("MSG.Error"),
|
||||||
Labels.getLabel("conferenciaController.window.title"),
|
Labels.getLabel("conferenciaController.window.title"),
|
||||||
Messagebox.OK,Messagebox.ERROR);
|
Messagebox.OK, Messagebox.ERROR);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean validarCamposObservacao() throws InterruptedException {
|
private boolean validarCamposObservacao() throws InterruptedException {
|
||||||
try {
|
try {
|
||||||
if(StringUtils.isBlank(txtObservacaoLog.getValue())) {
|
if (StringUtils.isBlank(txtObservacaoLog.getValue())) {
|
||||||
Messagebox.show(Labels.getLabel("conferenciaController.MSG.observacaoObrigatorio"),
|
Messagebox.show(Labels.getLabel("conferenciaController.MSG.observacaoObrigatorio"),
|
||||||
Labels.getLabel("conferenciaController.window.title"),
|
Labels.getLabel("conferenciaController.window.title"),
|
||||||
Messagebox.OK,Messagebox.ERROR);
|
Messagebox.OK, Messagebox.ERROR);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
Messagebox.show(Labels.getLabel("conferenciaController.MSG.observacaoObrigatorio"),
|
Messagebox.show(Labels.getLabel("conferenciaController.MSG.observacaoObrigatorio"),
|
||||||
Labels.getLabel("conferenciaController.window.title"),
|
Labels.getLabel("conferenciaController.window.title"),
|
||||||
Messagebox.OK,Messagebox.ERROR);
|
Messagebox.OK, Messagebox.ERROR);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -841,14 +848,14 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
Messagebox.show(Labels.getLabel("conferenciaController.msg.removerLogConferencia"),
|
Messagebox.show(Labels.getLabel("conferenciaController.msg.removerLogConferencia"),
|
||||||
Labels.getLabel("conferenciaController.window.title"),
|
Labels.getLabel("conferenciaController.window.title"),
|
||||||
Messagebox.OK,Messagebox.INFORMATION);
|
Messagebox.OK, Messagebox.INFORMATION);
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.error(e.getMessage(), e);
|
log.error(e.getMessage(), e);
|
||||||
Messagebox.show(Labels.getLabel("MSG.Error"),
|
Messagebox.show(Labels.getLabel("MSG.Error"),
|
||||||
Labels.getLabel("conferenciaController.window.title"),
|
Labels.getLabel("conferenciaController.window.title"),
|
||||||
Messagebox.OK,Messagebox.ERROR);
|
Messagebox.OK, Messagebox.ERROR);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -899,7 +906,7 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
private boolean isObservacaoLancada(BoletoComissao boletoComissao) {
|
private boolean isObservacaoLancada(BoletoComissao boletoComissao) {
|
||||||
for (LogConferenciaVO logConferencia : lsLogsConferencia) {
|
for (LogConferenciaVO logConferencia : lsLogsConferencia) {
|
||||||
if(boletoComissao.getBoletoId().equals(logConferencia.getBoletoId())) {
|
if (boletoComissao.getBoletoId().equals(logConferencia.getBoletoId())) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -908,7 +915,7 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
private boolean isObservacaoLancada(EventosFinanceirosVO eventosFinanceiros) {
|
private boolean isObservacaoLancada(EventosFinanceirosVO eventosFinanceiros) {
|
||||||
for (LogConferenciaVO logConferencia : lsLogsConferencia) {
|
for (LogConferenciaVO logConferencia : lsLogsConferencia) {
|
||||||
if(eventosFinanceiros.getEventoextraId().equals(logConferencia.getEventoextraId())) {
|
if (eventosFinanceiros.getEventoextraId().equals(logConferencia.getEventoextraId())) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -917,7 +924,7 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
private boolean isObservacaoLancada(OcdVO ocd) {
|
private boolean isObservacaoLancada(OcdVO ocd) {
|
||||||
for (LogConferenciaVO logConferencia : lsLogsConferencia) {
|
for (LogConferenciaVO logConferencia : lsLogsConferencia) {
|
||||||
if(ocd.getOcdId().equals(logConferencia.getOcdId())) {
|
if (ocd.getOcdId().equals(logConferencia.getOcdId())) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -927,9 +934,9 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
||||||
private void carregarDadosConferencia() {
|
private void carregarDadosConferencia() {
|
||||||
try {
|
try {
|
||||||
DiaConferenciaComissaoVO diaConferenciaComissao = conferenciaComissaoService.carregarConferenciaRegistrada(conferencia.getDatamovimento(), conferencia.getEmpresa(), puntoventaFiltro);
|
DiaConferenciaComissaoVO diaConferenciaComissao = conferenciaComissaoService.carregarConferenciaRegistrada(conferencia.getDatamovimento(), conferencia.getEmpresa(), puntoventaFiltro);
|
||||||
if(diaConferenciaComissao != null) {
|
if (diaConferenciaComissao != null) {
|
||||||
for (DiaConferenciaComissaoVO diaConferenciaComissaoAux : conferenciaComissao.getDiasOrdenado()) {
|
for (DiaConferenciaComissaoVO diaConferenciaComissaoAux : conferenciaComissao.getDiasOrdenado()) {
|
||||||
if(diaConferenciaComissao.equals(diaConferenciaComissaoAux)) {
|
if (diaConferenciaComissao.equals(diaConferenciaComissaoAux)) {
|
||||||
diaConferenciaComissaoAux.setIndboletogerado(diaConferenciaComissao.getIndboletogerado());
|
diaConferenciaComissaoAux.setIndboletogerado(diaConferenciaComissao.getIndboletogerado());
|
||||||
diaConferenciaComissaoAux.setIndconferido(diaConferenciaComissao.getIndconferido());
|
diaConferenciaComissaoAux.setIndconferido(diaConferenciaComissao.getIndconferido());
|
||||||
diaConferenciaComissaoAux.setIndmaloterecebido(diaConferenciaComissao.getIndmaloterecebido());
|
diaConferenciaComissaoAux.setIndmaloterecebido(diaConferenciaComissao.getIndmaloterecebido());
|
||||||
|
@ -946,13 +953,9 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
public void onClick$btnPesquisaBoletoDevolvido(Event event) throws InterruptedException {
|
public void onClick$btnPesquisaBoletoDevolvido(Event event) throws InterruptedException {
|
||||||
try {
|
try {
|
||||||
/* if((empresa.getIndcarboletosdevolvidosconf() == null || !empresa.getIndcarboletosdevolvidosconf()) &&
|
/*
|
||||||
StringUtils.isBlank(conferencia.getNumfoliosistema())) {
|
* if((empresa.getIndcarboletosdevolvidosconf() == null || !empresa.getIndcarboletosdevolvidosconf()) && StringUtils.isBlank(conferencia.getNumfoliosistema())) { Messagebox.show(Labels.getLabel("conferenciaController.msg.numfoliosistemaNaoInformado"), Labels.getLabel("conferenciaController.window.title"), Messagebox.OK,Messagebox.INFORMATION); return; }
|
||||||
Messagebox.show(Labels.getLabel("conferenciaController.msg.numfoliosistemaNaoInformado"),
|
*/
|
||||||
Labels.getLabel("conferenciaController.window.title"),
|
|
||||||
Messagebox.OK,Messagebox.INFORMATION);
|
|
||||||
return;
|
|
||||||
}*/
|
|
||||||
lsBilhetesDevolvidos = conferenciaComissaoService.carregarBilhetesComissao(null, conferencia, BoletoStatusComissao.BOLETO_DEVOLVIDO);
|
lsBilhetesDevolvidos = conferenciaComissaoService.carregarBilhetesComissao(null, conferencia, BoletoStatusComissao.BOLETO_DEVOLVIDO);
|
||||||
|
|
||||||
Map<BoletoStatusComissao, BigDecimal> totais = conferenciaComissaoService.totalizarBoletoComissaoDevolvidosTrocaOcd(lsBilhetesDevolvidos);
|
Map<BoletoStatusComissao, BigDecimal> totais = conferenciaComissaoService.totalizarBoletoComissaoDevolvidosTrocaOcd(lsBilhetesDevolvidos);
|
||||||
|
@ -1040,7 +1043,7 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
||||||
log.error(e.getMessage(), e);
|
log.error(e.getMessage(), e);
|
||||||
Messagebox.show(Labels.getLabel("MSG.Error"),
|
Messagebox.show(Labels.getLabel("MSG.Error"),
|
||||||
Labels.getLabel("conferenciaController.window.title"),
|
Labels.getLabel("conferenciaController.window.title"),
|
||||||
Messagebox.OK,Messagebox.ERROR);
|
Messagebox.OK, Messagebox.ERROR);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1051,40 +1054,16 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void validarBilhetes() throws BusinessException {
|
private void validarBilhetes() throws BusinessException {
|
||||||
/*validarListBilhetes(bilhetesManualList);
|
/*
|
||||||
validarListBilhetes(bilhetesList);
|
* validarListBilhetes(bilhetesManualList); validarListBilhetes(bilhetesList); validarListBilhetes(bilhetesCanceladosList); validarListBilhetes(bilhetesDevolvidosList); validarListBilhetes(bilhetesGapCanceladosList); validarListBilhetes(bilhetesGapDevolvidosList); validarListBilhetes(bilhetesGapList);
|
||||||
validarListBilhetes(bilhetesCanceladosList);
|
*/
|
||||||
validarListBilhetes(bilhetesDevolvidosList);
|
|
||||||
validarListBilhetes(bilhetesGapCanceladosList);
|
|
||||||
validarListBilhetes(bilhetesGapDevolvidosList);
|
|
||||||
validarListBilhetes(bilhetesGapList);*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*@SuppressWarnings("unchecked")
|
/*
|
||||||
private void validarListBilhetes(MyListbox bilhetes) throws BusinessException {
|
* @SuppressWarnings("unchecked") private void validarListBilhetes(MyListbox bilhetes) throws BusinessException { int index = 0; List<Listitem> itens = bilhetes.getItems(); List<BoletoComissao> boletoComissaos = bilhetes.getListData(); for (Listitem item: itens) { BoletoComissao boletoComissao = boletoComissaos.get(index++); boletoComissao.setConferido(validarListitemMarcado(item, boletoComissao)); if(boletoComissao.isConferido() && boletoComissao.getLogconferenciaId() ==
|
||||||
int index = 0;
|
* null) { LogConferencia logConferencia = gravarLogConferencia(TipoLogConferencia.BOLETO, boletoComissao.getBoletoId(), boletoComissao.getNumFolioSistema()); boletoComissao.setLogconferenciaId(logConferencia.getLogconferenciaId()); boletoComissao.setStatus(logConferencia.getStatus().getValue()); boletoComissao.setConferido(Boolean.TRUE); bilhetes.updateItem(boletoComissao); } else if(!boletoComissao.isConferido() && boletoComissao.getLogconferenciaId() != null) {
|
||||||
List<Listitem> itens = bilhetes.getItems();
|
* LogConferencia logConferencia = conferenciaComissaoService.obtenerLogConferenciaID(boletoComissao.getLogconferenciaId()); conferenciaComissaoService.borrarLogConferencia(logConferencia); boletoComissao.setLogconferenciaId(null); boletoComissao.setStatus(null); boletoComissao.setConferido(Boolean.FALSE); removerLogConferencia(logConferencia); bilhetes.updateItem(boletoComissao); } } }
|
||||||
List<BoletoComissao> boletoComissaos = bilhetes.getListData();
|
*/
|
||||||
for (Listitem item: itens) {
|
|
||||||
BoletoComissao boletoComissao = boletoComissaos.get(index++);
|
|
||||||
boletoComissao.setConferido(validarListitemMarcado(item, boletoComissao));
|
|
||||||
if(boletoComissao.isConferido() && boletoComissao.getLogconferenciaId() == null) {
|
|
||||||
LogConferencia logConferencia = gravarLogConferencia(TipoLogConferencia.BOLETO, boletoComissao.getBoletoId(), boletoComissao.getNumFolioSistema());
|
|
||||||
boletoComissao.setLogconferenciaId(logConferencia.getLogconferenciaId());
|
|
||||||
boletoComissao.setStatus(logConferencia.getStatus().getValue());
|
|
||||||
boletoComissao.setConferido(Boolean.TRUE);
|
|
||||||
bilhetes.updateItem(boletoComissao);
|
|
||||||
} else if(!boletoComissao.isConferido() && boletoComissao.getLogconferenciaId() != null) {
|
|
||||||
LogConferencia logConferencia = conferenciaComissaoService.obtenerLogConferenciaID(boletoComissao.getLogconferenciaId());
|
|
||||||
conferenciaComissaoService.borrarLogConferencia(logConferencia);
|
|
||||||
boletoComissao.setLogconferenciaId(null);
|
|
||||||
boletoComissao.setStatus(null);
|
|
||||||
boletoComissao.setConferido(Boolean.FALSE);
|
|
||||||
removerLogConferencia(logConferencia);
|
|
||||||
bilhetes.updateItem(boletoComissao);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}*/
|
|
||||||
|
|
||||||
private void removerLogConferencia(Long logconferenciaId) {
|
private void removerLogConferencia(Long logconferenciaId) {
|
||||||
LogConferenciaVO log = new LogConferenciaVO(logconferenciaId);
|
LogConferenciaVO log = new LogConferenciaVO(logconferenciaId);
|
||||||
|
@ -1100,13 +1079,13 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
||||||
logConferencia.setTipo(tipo);
|
logConferencia.setTipo(tipo);
|
||||||
logConferencia.setIndcredito(Boolean.TRUE);
|
logConferencia.setIndcredito(Boolean.TRUE);
|
||||||
|
|
||||||
if(tipo.equals(TipoLogConferencia.BOLETO)) {
|
if (tipo.equals(TipoLogConferencia.BOLETO)) {
|
||||||
logConferencia.setBoletoId(id);
|
logConferencia.setBoletoId(id);
|
||||||
}
|
}
|
||||||
if(tipo.equals(TipoLogConferencia.OCD)) {
|
if (tipo.equals(TipoLogConferencia.OCD)) {
|
||||||
logConferencia.setOcdId(id);
|
logConferencia.setOcdId(id);
|
||||||
}
|
}
|
||||||
if(tipo.equals(TipoLogConferencia.EVENTO_FINANCEIRO)) {
|
if (tipo.equals(TipoLogConferencia.EVENTO_FINANCEIRO)) {
|
||||||
logConferencia.setEventoextraId(id);
|
logConferencia.setEventoextraId(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1133,29 +1112,12 @@ public class ConferenciaController extends MyGenericForwardComposer {
|
||||||
lsLogsConferencia.add(logConferenciaVO);
|
lsLogsConferencia.add(logConferenciaVO);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*@SuppressWarnings("unchecked")
|
/*
|
||||||
private void addCheckboxEventListenerBilhetes(MyListbox bilhetes) {
|
* @SuppressWarnings("unchecked") private void addCheckboxEventListenerBilhetes(MyListbox bilhetes) { int index = 0; List<Listitem> itens = bilhetes.getItems(); List<BoletoComissao> boletoComissaos = bilhetes.getListData(); for (Listitem item: itens) { List<Component> com = item.getChildren(); for (Component component: com) { Listcell listCell = (Listcell) component; System.out.println(listCell.getFirstChild()); if(listCell.getFirstChild() instanceof Checkbox) { Checkbox
|
||||||
int index = 0;
|
* chk = (Checkbox)component.getFirstChild(); chk.setId(boletoComissaos.get(index++).getBoletoId()+""); chk.addEventListener("onCheck", new EventListener() {
|
||||||
List<Listitem> itens = bilhetes.getItems();
|
*
|
||||||
List<BoletoComissao> boletoComissaos = bilhetes.getListData();
|
* @Override public void onEvent(Event arg0) throws Exception { System.out.println("EXECUTOU"); } }); } } } }
|
||||||
for (Listitem item: itens) {
|
*/
|
||||||
List<Component> com = item.getChildren();
|
|
||||||
for (Component component: com) {
|
|
||||||
Listcell listCell = (Listcell) component;
|
|
||||||
System.out.println(listCell.getFirstChild());
|
|
||||||
if(listCell.getFirstChild() instanceof Checkbox) {
|
|
||||||
Checkbox chk = (Checkbox)component.getFirstChild();
|
|
||||||
chk.setId(boletoComissaos.get(index++).getBoletoId()+"");
|
|
||||||
chk.addEventListener("onCheck", new EventListener() {
|
|
||||||
@Override
|
|
||||||
public void onEvent(Event arg0) throws Exception {
|
|
||||||
System.out.println("EXECUTOU");
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}*/
|
|
||||||
|
|
||||||
private void gravarLogConferenciaBilhete(MyListbox bilhetes, BoletoComissao boletoComissao) {
|
private void gravarLogConferenciaBilhete(MyListbox bilhetes, BoletoComissao boletoComissao) {
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -0,0 +1,61 @@
|
||||||
|
package com.rjconsultores.ventaboletos.web.gui.controladores.comissao;
|
||||||
|
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.context.annotation.Scope;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.zkoss.util.resource.Labels;
|
||||||
|
import org.zkoss.zhtml.Messagebox;
|
||||||
|
import org.zkoss.zk.ui.Component;
|
||||||
|
import org.zkoss.zk.ui.Executions;
|
||||||
|
import org.zkoss.zk.ui.event.Event;
|
||||||
|
import org.zkoss.zul.Textbox;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
|
||||||
|
import com.rjconsultores.ventaboletos.service.ConferenciaComissaoService;
|
||||||
|
import com.rjconsultores.ventaboletos.service.PuntoVentaService;
|
||||||
|
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||||
|
|
||||||
|
@Scope("prototype")
|
||||||
|
@Controller("informeIrregularidadeController")
|
||||||
|
public class InformeIrregularidadeController extends MyGenericForwardComposer {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
PuntoVentaService puntoVentaService;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
ConferenciaComissaoService conferenciaComissaoService;
|
||||||
|
|
||||||
|
private Textbox txtEmail;
|
||||||
|
private Textbox txtConteudoEmail;
|
||||||
|
|
||||||
|
private PuntoVenta puntoVenta;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void doAfterCompose(Component comp) throws Exception {
|
||||||
|
super.doAfterCompose(comp);
|
||||||
|
Integer puntoVentaId = (Integer) Executions.getCurrent().getArg().get("puntoVentaId");
|
||||||
|
puntoVenta = puntoVentaService.obtenerID(puntoVentaId);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnEnviar(Event event) throws InterruptedException {
|
||||||
|
try {
|
||||||
|
conferenciaComissaoService.enviarEmailIrregularidadeECF(txtEmail.getValue(),
|
||||||
|
txtConteudoEmail.getValue(), Labels.getLabel("informeIrregularidadeController.window.title"));
|
||||||
|
} catch (Exception e) {
|
||||||
|
Messagebox.show(e.getMessage(), Labels.getLabel("informeIrregularidadeController.mail.erro"),
|
||||||
|
Messagebox.OK,
|
||||||
|
Messagebox.ERROR);
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
closeWindow();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClick$btnCancelar(Event event) {
|
||||||
|
closeWindow();
|
||||||
|
}
|
||||||
|
|
||||||
|
public PuntoVenta getPuntoVenta() {
|
||||||
|
return puntoVenta;
|
||||||
|
}
|
||||||
|
}
|
|
@ -6456,7 +6456,9 @@ conferenciaController.lbValorTotalDevolvidosTroca.label = Total Cambio
|
||||||
conferenciaController.lbQtdeTotal.label = Cantidad
|
conferenciaController.lbQtdeTotal.label = Cantidad
|
||||||
conferenciaController.lbTotalOcdPenalizacion.label = Total Penalización
|
conferenciaController.lbTotalOcdPenalizacion.label = Total Penalización
|
||||||
conferenciaController.lbTotalOcdValorPagar.label = Total Pagar
|
conferenciaController.lbTotalOcdValorPagar.label = Total Pagar
|
||||||
conferenciaController.lbTotalOcdValorPago.label = Total Pago
|
conferenciaController.lbTotalOcdValorPago.label = Total Pago OCD
|
||||||
|
conferenciaController.lbQuantidadeECF.label= Quantidade ECF
|
||||||
|
conferenciaController.lbBtnIrregularidade.label=Comunicar Irregularidade
|
||||||
conferenciaController.lhNombusuario.value = Cajero
|
conferenciaController.lhNombusuario.value = Cajero
|
||||||
conferenciaController.lhTotalVenda.value = Total Venda
|
conferenciaController.lhTotalVenda.value = Total Venda
|
||||||
conferenciaController.lhTotalCancelados.value = Total Cancelados
|
conferenciaController.lhTotalCancelados.value = Total Cancelados
|
||||||
|
@ -6470,6 +6472,15 @@ conferenciaController.lhConferido.value = Chequeado
|
||||||
conferenciaController.lhNumoperacionBilhete.value = Localizador
|
conferenciaController.lhNumoperacionBilhete.value = Localizador
|
||||||
conferenciaController.lhFeccorridaServico.value = Fec-Serv
|
conferenciaController.lhFeccorridaServico.value = Fec-Serv
|
||||||
|
|
||||||
|
informeIrregularidadeController.window.title=Irregularidade ECF
|
||||||
|
informeIrregularidadeController.mail.msg= Pela quantidade de ECF's, estão faltando reduções Z. Favor verificar
|
||||||
|
informeIrregularidadeController.lbMail=E-mail
|
||||||
|
informeIrregularidadeController.lbMsg=Menssagem
|
||||||
|
informeIrregularidadeController.mail.enviar=Enviar
|
||||||
|
informeIrregularidadeController.mail.cancelar=Cancelar
|
||||||
|
informeIrregularidadeController.mail.configuracoes=Verifique as configurações de email!
|
||||||
|
informeIrregularidadeController.mail.erro= Falha no envio
|
||||||
|
|
||||||
# Editar LogConferencia Comissao
|
# Editar LogConferencia Comissao
|
||||||
editarLogConferenciaComissaoController.window.title = Registro de Observaciones
|
editarLogConferenciaComissaoController.window.title = Registro de Observaciones
|
||||||
editarLogConferenciaComissaoController.lhSituacaoLog.value = Situación
|
editarLogConferenciaComissaoController.lhSituacaoLog.value = Situación
|
||||||
|
|
|
@ -6620,8 +6620,10 @@ conferenciaController.lbValorTotalDevolvidosOcd.label = Total OCD
|
||||||
conferenciaController.lbValorTotalDevolvidosTroca.label = Total Troca
|
conferenciaController.lbValorTotalDevolvidosTroca.label = Total Troca
|
||||||
conferenciaController.lbQtdeTotal.label = Quantidade
|
conferenciaController.lbQtdeTotal.label = Quantidade
|
||||||
conferenciaController.lbTotalOcdPenalizacion.label = Total Penalização
|
conferenciaController.lbTotalOcdPenalizacion.label = Total Penalização
|
||||||
conferenciaController.lbTotalOcdValorPagar.label = Total Pagar
|
conferenciaController.lbTotalOcdValorPagar.label =Total Pagar
|
||||||
conferenciaController.lbTotalOcdValorPago.label = Total Pago
|
conferenciaController.lbTotalOcdValorPago.label =Total Pago OCD
|
||||||
|
conferenciaController.lbQuantidadeECF.label=Quantidade ECF
|
||||||
|
conferenciaController.lbBtnIrregularidade.label=Comunicar Irregularidade
|
||||||
conferenciaController.lhNombusuario.value = Bilheteiro
|
conferenciaController.lhNombusuario.value = Bilheteiro
|
||||||
conferenciaController.lhTotalVenda.value = Total Venda
|
conferenciaController.lhTotalVenda.value = Total Venda
|
||||||
conferenciaController.lhTotalCancelados.value = Total Cancelados
|
conferenciaController.lhTotalCancelados.value = Total Cancelados
|
||||||
|
@ -6635,6 +6637,15 @@ conferenciaController.lhConferido.value = Conferido
|
||||||
conferenciaController.lhNumoperacionBilhete.value = Localizador
|
conferenciaController.lhNumoperacionBilhete.value = Localizador
|
||||||
conferenciaController.lhFeccorridaServico.value = DT-Serv
|
conferenciaController.lhFeccorridaServico.value = DT-Serv
|
||||||
|
|
||||||
|
informeIrregularidadeController.window.title=Irregularidade ECF
|
||||||
|
informeIrregularidadeController.mail.msg= Pela quantidade de ECF's, estão faltando reduções Z. Favor verificar
|
||||||
|
informeIrregularidadeController.lbMail=E-mail
|
||||||
|
informeIrregularidadeController.lbMsg=Mensagem
|
||||||
|
informeIrregularidadeController.mail.enviar=Enviar
|
||||||
|
informeIrregularidadeController.mail.cancelar=Cancelar
|
||||||
|
informeIrregularidadeController.mail.configuracoes=Verifique as configurações de email!
|
||||||
|
informeIrregularidadeController.mail.erro= Falha no envio
|
||||||
|
|
||||||
# Editar LogConferencia Comissao
|
# Editar LogConferencia Comissao
|
||||||
editarLogConferenciaComissaoController.window.title = Lançamento de Observações
|
editarLogConferenciaComissaoController.window.title = Lançamento de Observações
|
||||||
editarLogConferenciaComissaoController.lhSituacaoLog.value = Situação
|
editarLogConferenciaComissaoController.lhSituacaoLog.value = Situação
|
||||||
|
|
|
@ -7,29 +7,22 @@
|
||||||
<zk xmlns="http://www.zkoss.org/2005/zul">
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||||
<window id="winConferencia"
|
<window id="winConferencia"
|
||||||
title="${c:l('conferenciaController.window.title')}"
|
title="${c:l('conferenciaController.window.title')}"
|
||||||
apply="${conferenciaController}"
|
apply="${conferenciaController}" contentStyle="overflow:auto"
|
||||||
contentStyle="overflow:auto"
|
height="500px" width="1200px" border="normal">
|
||||||
height="500px"
|
|
||||||
width="1200px"
|
|
||||||
border="normal">
|
|
||||||
<toolbar>
|
<toolbar>
|
||||||
<button id="btnCerrar"
|
<button id="btnCerrar" image="/gui/img/exit.png"
|
||||||
image="/gui/img/exit.png"
|
|
||||||
width="35px"
|
width="35px"
|
||||||
tooltiptext="${c:l('conferenciaController.btnCerrar.tooltiptext')}" />
|
tooltiptext="${c:l('conferenciaController.btnCerrar.tooltiptext')}" />
|
||||||
<button id="btnChegadaMalote"
|
<button id="btnChegadaMalote"
|
||||||
image="/gui/img/confirmar_chegada.png"
|
image="/gui/img/confirmar_chegada.png" width="35px"
|
||||||
width="35px"
|
|
||||||
tooltiptext="${c:l('conferenciaController.btnChegadaMalote.tooltiptext')}"
|
tooltiptext="${c:l('conferenciaController.btnChegadaMalote.tooltiptext')}"
|
||||||
visible="@{winConferencia$composer.exibirBotaoChegadaMalote}" />
|
visible="@{winConferencia$composer.exibirBotaoChegadaMalote}" />
|
||||||
<button id="btnEncerrarMovimentoDiario"
|
<button id="btnEncerrarMovimentoDiario"
|
||||||
image="/gui/img/encerrar.png"
|
image="/gui/img/encerrar.png" width="35px"
|
||||||
width="35px"
|
|
||||||
tooltiptext="${c:l('conferenciaController.btnEncerrarMovimentoDiario.tooltiptext')}"
|
tooltiptext="${c:l('conferenciaController.btnEncerrarMovimentoDiario.tooltiptext')}"
|
||||||
visible="@{winConferencia$composer.exibirBotaoEncerrarMovimento}" />
|
visible="@{winConferencia$composer.exibirBotaoEncerrarMovimento}" />
|
||||||
<button id="btnReabrirMovimentoDiario"
|
<button id="btnReabrirMovimentoDiario"
|
||||||
image="/gui/img/reabrir.png"
|
image="/gui/img/reabrir.png" width="35px"
|
||||||
width="35px"
|
|
||||||
tooltiptext="${c:l('conferenciaController.btnReabrirMovimentoDiario.tooltiptext')}"
|
tooltiptext="${c:l('conferenciaController.btnReabrirMovimentoDiario.tooltiptext')}"
|
||||||
visible="@{winConferencia$composer.exibirBotaoReabrirMovimento}" />
|
visible="@{winConferencia$composer.exibirBotaoReabrirMovimento}" />
|
||||||
</toolbar>
|
</toolbar>
|
||||||
|
@ -43,16 +36,22 @@
|
||||||
<rows>
|
<rows>
|
||||||
<row>
|
<row>
|
||||||
<hbox align="center">
|
<hbox align="center">
|
||||||
<label value="${c:l('conferenciaController.lbDatamovimento.label')}" />
|
<label
|
||||||
<label value="@{winConferencia$composer.datamovimento}" />
|
value="${c:l('conferenciaController.lbDatamovimento.label')}" />
|
||||||
|
<label
|
||||||
|
value="@{winConferencia$composer.datamovimento}" />
|
||||||
</hbox>
|
</hbox>
|
||||||
<hbox align="center">
|
<hbox align="center">
|
||||||
<label value="${c:l('conferenciaController.lbEmpresa.value')}" />
|
<label
|
||||||
<label value="@{winConferencia$composer.empresa.nombempresa}" />
|
value="${c:l('conferenciaController.lbEmpresa.value')}" />
|
||||||
|
<label
|
||||||
|
value="@{winConferencia$composer.empresa.nombempresa}" />
|
||||||
</hbox>
|
</hbox>
|
||||||
<hbox align="center">
|
<hbox align="center">
|
||||||
<label value="${c:l('conferenciaController.lbPuntoVenta.value')}" />
|
<label
|
||||||
<label value="@{winConferencia$composer.puntoventa}" />
|
value="${c:l('conferenciaController.lbPuntoVenta.value')}" />
|
||||||
|
<label
|
||||||
|
value="@{winConferencia$composer.puntoventa}" />
|
||||||
</hbox>
|
</hbox>
|
||||||
</row>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
|
@ -60,22 +59,31 @@
|
||||||
|
|
||||||
<tabbox id="tabboxGeral">
|
<tabbox id="tabboxGeral">
|
||||||
<tabs>
|
<tabs>
|
||||||
<tab label="${c:l('conferenciaController.tab.bilhetesManual')}" />
|
<tab
|
||||||
<tab label="${c:l('conferenciaController.tab.bilhetes')}" />
|
label="${c:l('conferenciaController.tab.bilhetesManual')}" />
|
||||||
<tab label="${c:l('conferenciaController.tab.bilhetesCancelados')}" />
|
<tab
|
||||||
<tab label="${c:l('conferenciaController.tab.bilhetesDevolvidos')}" />
|
label="${c:l('conferenciaController.tab.bilhetes')}" />
|
||||||
<tab label="${c:l('conferenciaController.tab.gabVenda')}" />
|
<tab
|
||||||
<tab label="${c:l('conferenciaController.tab.gabCancelado')}" />
|
label="${c:l('conferenciaController.tab.bilhetesCancelados')}" />
|
||||||
<tab label="${c:l('conferenciaController.tab.gabDevolvido')}" />
|
<tab
|
||||||
<tab label="${c:l('conferenciaController.tab.eventosFinanceiros')}" />
|
label="${c:l('conferenciaController.tab.bilhetesDevolvidos')}" />
|
||||||
|
<tab
|
||||||
|
label="${c:l('conferenciaController.tab.gabVenda')}" />
|
||||||
|
<tab
|
||||||
|
label="${c:l('conferenciaController.tab.gabCancelado')}" />
|
||||||
|
<tab
|
||||||
|
label="${c:l('conferenciaController.tab.gabDevolvido')}" />
|
||||||
|
<tab
|
||||||
|
label="${c:l('conferenciaController.tab.eventosFinanceiros')}" />
|
||||||
<tab label="${c:l('conferenciaController.tab.ocd')}" />
|
<tab label="${c:l('conferenciaController.tab.ocd')}" />
|
||||||
<tab label="${c:l('conferenciaController.tab.observacoes')}" />
|
<tab
|
||||||
|
label="${c:l('conferenciaController.tab.observacoes')}" />
|
||||||
<tab label="${c:l('conferenciaController.tab.resumo')}" />
|
<tab label="${c:l('conferenciaController.tab.resumo')}" />
|
||||||
</tabs>
|
</tabs>
|
||||||
<tabpanels>
|
<tabpanels>
|
||||||
|
|
||||||
<!-- Bilhetes Manual -->
|
<!-- Bilhetes Manual -->
|
||||||
<tabpanel height="370px" style="overflow:auto;" >
|
<tabpanel height="370px" style="overflow:auto;">
|
||||||
<!--
|
<!--
|
||||||
<button id="btnAlterarBilheteManual"
|
<button id="btnAlterarBilheteManual"
|
||||||
image="/gui/img/edit.png"
|
image="/gui/img/edit.png"
|
||||||
|
@ -83,14 +91,11 @@
|
||||||
-->
|
-->
|
||||||
<listbox id="bilhetesManualList"
|
<listbox id="bilhetesManualList"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||||
vflex="true"
|
vflex="true" multiple="false" height="350px">
|
||||||
multiple="false"
|
|
||||||
height="350px">
|
|
||||||
<listhead sizable="true">
|
<listhead sizable="true">
|
||||||
<listheader label="${c:l('conferenciaController.lhConferido.value')}"
|
<listheader
|
||||||
width="70px"
|
label="${c:l('conferenciaController.lhConferido.value')}"
|
||||||
align="center"
|
width="70px" align="center" sort="auto(orderExigeConferencia)" />
|
||||||
sort="auto(orderExigeConferencia)"/>
|
|
||||||
<listheader image="/gui/img/builder.gif"
|
<listheader image="/gui/img/builder.gif"
|
||||||
label="${c:l('conferenciaController.lhNombpasajero.value')}"
|
label="${c:l('conferenciaController.lhNombpasajero.value')}"
|
||||||
sort="auto(nombpasajero)" />
|
sort="auto(nombpasajero)" />
|
||||||
|
@ -136,20 +141,21 @@
|
||||||
<rows>
|
<rows>
|
||||||
<row>
|
<row>
|
||||||
<hbox>
|
<hbox>
|
||||||
<label value="${c:l('conferenciaController.lbQtdeTotal.label')}"
|
<label
|
||||||
|
value="${c:l('conferenciaController.lbQtdeTotal.label')}"
|
||||||
style="font-weight:bold;" />
|
style="font-weight:bold;" />
|
||||||
<textbox id="txtQtdeTotalBilhetesManual"
|
<textbox
|
||||||
|
id="txtQtdeTotalBilhetesManual"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
||||||
style="text-align:right"
|
style="text-align:right" readonly="true" />
|
||||||
readonly="true" />
|
|
||||||
</hbox>
|
</hbox>
|
||||||
<hbox>
|
<hbox>
|
||||||
<label value="${c:l('conferenciaController.lbValorTotal.label')}"
|
<label
|
||||||
|
value="${c:l('conferenciaController.lbValorTotal.label')}"
|
||||||
style="font-weight:bold;" />
|
style="font-weight:bold;" />
|
||||||
<textbox id="txtTotalBilhetesManual"
|
<textbox id="txtTotalBilhetesManual"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
||||||
style="text-align:right"
|
style="text-align:right" readonly="true" />
|
||||||
readonly="true" />
|
|
||||||
</hbox>
|
</hbox>
|
||||||
</row>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
|
@ -157,17 +163,14 @@
|
||||||
</tabpanel>
|
</tabpanel>
|
||||||
|
|
||||||
<!-- Bilhetes -->
|
<!-- Bilhetes -->
|
||||||
<tabpanel height="370px" style="overflow:auto;" >
|
<tabpanel height="370px" style="overflow:auto;">
|
||||||
<listbox id="bilhetesList"
|
<listbox id="bilhetesList"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||||
vflex="true"
|
vflex="true" multiple="false" height="350px">
|
||||||
multiple="false"
|
|
||||||
height="350px">
|
|
||||||
<listhead sizable="true">
|
<listhead sizable="true">
|
||||||
<listheader label="${c:l('conferenciaController.lhConferido.value')}"
|
<listheader
|
||||||
width="70px"
|
label="${c:l('conferenciaController.lhConferido.value')}"
|
||||||
align="center"
|
width="70px" align="center" sort="auto(orderExigeConferencia)" />
|
||||||
sort="auto(orderExigeConferencia)"/>
|
|
||||||
<listheader image="/gui/img/builder.gif"
|
<listheader image="/gui/img/builder.gif"
|
||||||
label="${c:l('conferenciaController.lhNombpasajero.value')}"
|
label="${c:l('conferenciaController.lhNombpasajero.value')}"
|
||||||
sort="auto(nombpasajero)" />
|
sort="auto(nombpasajero)" />
|
||||||
|
@ -213,20 +216,20 @@
|
||||||
<rows>
|
<rows>
|
||||||
<row>
|
<row>
|
||||||
<hbox>
|
<hbox>
|
||||||
<label value="${c:l('conferenciaController.lbQtdeTotal.label')}"
|
<label
|
||||||
|
value="${c:l('conferenciaController.lbQtdeTotal.label')}"
|
||||||
style="font-weight:bold;" />
|
style="font-weight:bold;" />
|
||||||
<textbox id="txtQtdeTotalBilhetes"
|
<textbox id="txtQtdeTotalBilhetes"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
||||||
style="text-align:right"
|
style="text-align:right" readonly="true" />
|
||||||
readonly="true" />
|
|
||||||
</hbox>
|
</hbox>
|
||||||
<hbox>
|
<hbox>
|
||||||
<label value="${c:l('conferenciaController.lbValorTotalVendidos.label')}"
|
<label
|
||||||
|
value="${c:l('conferenciaController.lbValorTotalVendidos.label')}"
|
||||||
style="font-weight:bold;" />
|
style="font-weight:bold;" />
|
||||||
<textbox id="txtTotalBilhetes"
|
<textbox id="txtTotalBilhetes"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
||||||
style="text-align:right"
|
style="text-align:right" readonly="true" />
|
||||||
readonly="true" />
|
|
||||||
</hbox>
|
</hbox>
|
||||||
</row>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
|
@ -234,17 +237,14 @@
|
||||||
</tabpanel>
|
</tabpanel>
|
||||||
|
|
||||||
<!-- Bilhetes Cancelados -->
|
<!-- Bilhetes Cancelados -->
|
||||||
<tabpanel height="370px" style="overflow:auto;" >
|
<tabpanel height="370px" style="overflow:auto;">
|
||||||
<listbox id="bilhetesCanceladosList"
|
<listbox id="bilhetesCanceladosList"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||||
vflex="true"
|
vflex="true" multiple="false" height="350px">
|
||||||
multiple="false"
|
|
||||||
height="350px">
|
|
||||||
<listhead sizable="true">
|
<listhead sizable="true">
|
||||||
<listheader label="${c:l('conferenciaController.lhConferido.value')}"
|
<listheader
|
||||||
width="70px"
|
label="${c:l('conferenciaController.lhConferido.value')}"
|
||||||
align="center"
|
width="70px" align="center" sort="auto(orderExigeConferencia)" />
|
||||||
sort="auto(orderExigeConferencia)"/>
|
|
||||||
<listheader image="/gui/img/builder.gif"
|
<listheader image="/gui/img/builder.gif"
|
||||||
label="${c:l('conferenciaController.lhNombpasajero.value')}"
|
label="${c:l('conferenciaController.lhNombpasajero.value')}"
|
||||||
sort="auto(nombpasajero)" />
|
sort="auto(nombpasajero)" />
|
||||||
|
@ -290,20 +290,22 @@
|
||||||
<rows>
|
<rows>
|
||||||
<row>
|
<row>
|
||||||
<hbox>
|
<hbox>
|
||||||
<label value="${c:l('conferenciaController.lbQtdeTotal.label')}"
|
<label
|
||||||
|
value="${c:l('conferenciaController.lbQtdeTotal.label')}"
|
||||||
style="font-weight:bold;" />
|
style="font-weight:bold;" />
|
||||||
<textbox id="txtQtdeTotalBilhetesCancelados"
|
<textbox
|
||||||
|
id="txtQtdeTotalBilhetesCancelados"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
||||||
style="text-align:right"
|
style="text-align:right" readonly="true" />
|
||||||
readonly="true" />
|
|
||||||
</hbox>
|
</hbox>
|
||||||
<hbox>
|
<hbox>
|
||||||
<label value="${c:l('conferenciaController.lbValorTotal.label')}"
|
<label
|
||||||
|
value="${c:l('conferenciaController.lbValorTotal.label')}"
|
||||||
style="font-weight:bold;" />
|
style="font-weight:bold;" />
|
||||||
<textbox id="txtTotalBilhetesCancelados"
|
<textbox
|
||||||
|
id="txtTotalBilhetesCancelados"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
||||||
style="text-align:right"
|
style="text-align:right" readonly="true" />
|
||||||
readonly="true" />
|
|
||||||
</hbox>
|
</hbox>
|
||||||
</row>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
|
@ -311,7 +313,7 @@
|
||||||
</tabpanel>
|
</tabpanel>
|
||||||
|
|
||||||
<!-- Bilhetes Devolvidos -->
|
<!-- Bilhetes Devolvidos -->
|
||||||
<tabpanel height="370px" style="overflow:auto;" >
|
<tabpanel height="370px" style="overflow:auto;">
|
||||||
<grid id="pesquisaBoletoDevolvido">
|
<grid id="pesquisaBoletoDevolvido">
|
||||||
<columns>
|
<columns>
|
||||||
<column width="10%" />
|
<column width="10%" />
|
||||||
|
@ -319,7 +321,8 @@
|
||||||
</columns>
|
</columns>
|
||||||
<rows>
|
<rows>
|
||||||
<row>
|
<row>
|
||||||
<label value="${c:l('conferenciaController.lhNumFolioSistema.value')}" />
|
<label
|
||||||
|
value="${c:l('conferenciaController.lhNumFolioSistema.value')}" />
|
||||||
<textbox id="txtNumfoliosistema"
|
<textbox id="txtNumfoliosistema"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
||||||
value="@{winConferencia$composer.conferencia.numfoliosistema}"
|
value="@{winConferencia$composer.conferencia.numfoliosistema}"
|
||||||
|
@ -333,14 +336,11 @@
|
||||||
|
|
||||||
<listbox id="bilhetesDevolvidosList"
|
<listbox id="bilhetesDevolvidosList"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||||
vflex="true"
|
vflex="true" multiple="false" height="350px">
|
||||||
multiple="false"
|
|
||||||
height="350px">
|
|
||||||
<listhead sizable="true">
|
<listhead sizable="true">
|
||||||
<listheader label="${c:l('conferenciaController.lhConferido.value')}"
|
<listheader
|
||||||
width="70px"
|
label="${c:l('conferenciaController.lhConferido.value')}"
|
||||||
align="center"
|
width="70px" align="center" sort="auto(orderExigeConferencia)" />
|
||||||
sort="auto(orderExigeConferencia)"/>
|
|
||||||
<listheader image="/gui/img/builder.gif"
|
<listheader image="/gui/img/builder.gif"
|
||||||
label="${c:l('conferenciaController.lhNombpasajero.value')}"
|
label="${c:l('conferenciaController.lhNombpasajero.value')}"
|
||||||
sort="auto(nombpasajero)" />
|
sort="auto(nombpasajero)" />
|
||||||
|
@ -388,36 +388,40 @@
|
||||||
<rows>
|
<rows>
|
||||||
<row>
|
<row>
|
||||||
<hbox>
|
<hbox>
|
||||||
<label value="${c:l('conferenciaController.lbQtdeTotal.label')}"
|
<label
|
||||||
|
value="${c:l('conferenciaController.lbQtdeTotal.label')}"
|
||||||
style="font-weight:bold;" />
|
style="font-weight:bold;" />
|
||||||
<textbox id="txtQtdeTotalBilhetesDevolvidos"
|
<textbox
|
||||||
|
id="txtQtdeTotalBilhetesDevolvidos"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
||||||
style="text-align:right"
|
style="text-align:right" readonly="true" />
|
||||||
readonly="true" />
|
|
||||||
</hbox>
|
</hbox>
|
||||||
<hbox>
|
<hbox>
|
||||||
<label value="${c:l('conferenciaController.lbValorTotalDevolvidos.label')}"
|
<label
|
||||||
|
value="${c:l('conferenciaController.lbValorTotalDevolvidos.label')}"
|
||||||
style="font-weight:bold;" />
|
style="font-weight:bold;" />
|
||||||
<textbox id="txtTotalBilhetesDevolvidos"
|
<textbox
|
||||||
|
id="txtTotalBilhetesDevolvidos"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
||||||
style="text-align:right"
|
style="text-align:right" readonly="true" />
|
||||||
readonly="true" />
|
|
||||||
</hbox>
|
</hbox>
|
||||||
<hbox>
|
<hbox>
|
||||||
<label value="${c:l('conferenciaController.lbValorTotalDevolvidosTroca.label')}"
|
<label
|
||||||
|
value="${c:l('conferenciaController.lbValorTotalDevolvidosTroca.label')}"
|
||||||
style="font-weight:bold;" />
|
style="font-weight:bold;" />
|
||||||
<textbox id="txtTotalBilhetesDevolvidosTroca"
|
<textbox
|
||||||
|
id="txtTotalBilhetesDevolvidosTroca"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
||||||
style="text-align:right"
|
style="text-align:right" readonly="true" />
|
||||||
readonly="true" />
|
|
||||||
</hbox>
|
</hbox>
|
||||||
<hbox>
|
<hbox>
|
||||||
<label value="${c:l('conferenciaController.lbValorTotalDevolvidosOcd.label')}"
|
<label
|
||||||
|
value="${c:l('conferenciaController.lbValorTotalDevolvidosOcd.label')}"
|
||||||
style="font-weight:bold;" />
|
style="font-weight:bold;" />
|
||||||
<textbox id="txtTotalBilhetesDevolvidosOcd"
|
<textbox
|
||||||
|
id="txtTotalBilhetesDevolvidosOcd"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
||||||
style="text-align:right"
|
style="text-align:right" readonly="true" />
|
||||||
readonly="true" />
|
|
||||||
</hbox>
|
</hbox>
|
||||||
</row>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
|
@ -425,17 +429,14 @@
|
||||||
</tabpanel>
|
</tabpanel>
|
||||||
|
|
||||||
<!-- GAP Venda -->
|
<!-- GAP Venda -->
|
||||||
<tabpanel height="370px" style="overflow:auto;" >
|
<tabpanel height="370px" style="overflow:auto;">
|
||||||
<listbox id="bilhetesGapList"
|
<listbox id="bilhetesGapList"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||||
vflex="true"
|
vflex="true" multiple="false" height="350px">
|
||||||
multiple="false"
|
|
||||||
height="350px">
|
|
||||||
<listhead sizable="true">
|
<listhead sizable="true">
|
||||||
<listheader label="${c:l('conferenciaController.lhConferido.value')}"
|
<listheader
|
||||||
width="70px"
|
label="${c:l('conferenciaController.lhConferido.value')}"
|
||||||
align="center"
|
width="70px" align="center" sort="auto(orderExigeConferencia)" />
|
||||||
sort="auto(orderExigeConferencia)"/>
|
|
||||||
<listheader image="/gui/img/builder.gif"
|
<listheader image="/gui/img/builder.gif"
|
||||||
label="${c:l('conferenciaController.lhNombpasajero.value')}"
|
label="${c:l('conferenciaController.lhNombpasajero.value')}"
|
||||||
sort="auto(nombpasajero)" />
|
sort="auto(nombpasajero)" />
|
||||||
|
@ -487,20 +488,21 @@
|
||||||
<rows>
|
<rows>
|
||||||
<row>
|
<row>
|
||||||
<hbox>
|
<hbox>
|
||||||
<label value="${c:l('conferenciaController.lbQtdeTotal.label')}"
|
<label
|
||||||
|
value="${c:l('conferenciaController.lbQtdeTotal.label')}"
|
||||||
style="font-weight:bold;" />
|
style="font-weight:bold;" />
|
||||||
<textbox id="txtQtdeTotalBilhetesGap"
|
<textbox
|
||||||
|
id="txtQtdeTotalBilhetesGap"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
||||||
style="text-align:right"
|
style="text-align:right" readonly="true" />
|
||||||
readonly="true" />
|
|
||||||
</hbox>
|
</hbox>
|
||||||
<hbox>
|
<hbox>
|
||||||
<label value="${c:l('conferenciaController.lbValorTotal.label')}"
|
<label
|
||||||
|
value="${c:l('conferenciaController.lbValorTotal.label')}"
|
||||||
style="font-weight:bold;" />
|
style="font-weight:bold;" />
|
||||||
<textbox id="txtTotalBilhetesGap"
|
<textbox id="txtTotalBilhetesGap"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
||||||
style="text-align:right"
|
style="text-align:right" readonly="true" />
|
||||||
readonly="true" />
|
|
||||||
</hbox>
|
</hbox>
|
||||||
</row>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
|
@ -508,17 +510,14 @@
|
||||||
</tabpanel>
|
</tabpanel>
|
||||||
|
|
||||||
<!-- GAP Cancelado -->
|
<!-- GAP Cancelado -->
|
||||||
<tabpanel height="370px" style="overflow:auto;" >
|
<tabpanel height="370px" style="overflow:auto;">
|
||||||
<listbox id="bilhetesGapCanceladosList"
|
<listbox id="bilhetesGapCanceladosList"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||||
vflex="true"
|
vflex="true" multiple="false" height="350px">
|
||||||
multiple="false"
|
|
||||||
height="350px">
|
|
||||||
<listhead sizable="true">
|
<listhead sizable="true">
|
||||||
<listheader label="${c:l('conferenciaController.lhConferido.value')}"
|
<listheader
|
||||||
width="70px"
|
label="${c:l('conferenciaController.lhConferido.value')}"
|
||||||
align="center"
|
width="70px" align="center" sort="auto(orderExigeConferencia)" />
|
||||||
sort="auto(orderExigeConferencia)"/>
|
|
||||||
<listheader image="/gui/img/builder.gif"
|
<listheader image="/gui/img/builder.gif"
|
||||||
label="${c:l('conferenciaController.lhNombpasajero.value')}"
|
label="${c:l('conferenciaController.lhNombpasajero.value')}"
|
||||||
sort="auto(nombpasajero)" />
|
sort="auto(nombpasajero)" />
|
||||||
|
@ -570,20 +569,22 @@
|
||||||
<rows>
|
<rows>
|
||||||
<row>
|
<row>
|
||||||
<hbox>
|
<hbox>
|
||||||
<label value="${c:l('conferenciaController.lbQtdeTotal.label')}"
|
<label
|
||||||
|
value="${c:l('conferenciaController.lbQtdeTotal.label')}"
|
||||||
style="font-weight:bold;" />
|
style="font-weight:bold;" />
|
||||||
<textbox id="txtQtdeTotalBilhetesGapCancelados"
|
<textbox
|
||||||
|
id="txtQtdeTotalBilhetesGapCancelados"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
||||||
style="text-align:right"
|
style="text-align:right" readonly="true" />
|
||||||
readonly="true" />
|
|
||||||
</hbox>
|
</hbox>
|
||||||
<hbox>
|
<hbox>
|
||||||
<label value="${c:l('conferenciaController.lbValorTotal.label')}"
|
<label
|
||||||
|
value="${c:l('conferenciaController.lbValorTotal.label')}"
|
||||||
style="font-weight:bold;" />
|
style="font-weight:bold;" />
|
||||||
<textbox id="txtTotalBilhetesGapCancelados"
|
<textbox
|
||||||
|
id="txtTotalBilhetesGapCancelados"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
||||||
style="text-align:right"
|
style="text-align:right" readonly="true" />
|
||||||
readonly="true" />
|
|
||||||
</hbox>
|
</hbox>
|
||||||
</row>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
|
@ -591,17 +592,14 @@
|
||||||
</tabpanel>
|
</tabpanel>
|
||||||
|
|
||||||
<!-- GAP Devolvido -->
|
<!-- GAP Devolvido -->
|
||||||
<tabpanel height="370px" style="overflow:auto;" >
|
<tabpanel height="370px" style="overflow:auto;">
|
||||||
<listbox id="bilhetesGapDevolvidosList"
|
<listbox id="bilhetesGapDevolvidosList"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||||
vflex="true"
|
vflex="true" multiple="false" height="350px">
|
||||||
multiple="false"
|
|
||||||
height="350px">
|
|
||||||
<listhead sizable="true">
|
<listhead sizable="true">
|
||||||
<listheader label="${c:l('conferenciaController.lhConferido.value')}"
|
<listheader
|
||||||
width="70px"
|
label="${c:l('conferenciaController.lhConferido.value')}"
|
||||||
align="center"
|
width="70px" align="center" sort="auto(orderExigeConferencia)" />
|
||||||
sort="auto(orderExigeConferencia)"/>
|
|
||||||
<listheader image="/gui/img/builder.gif"
|
<listheader image="/gui/img/builder.gif"
|
||||||
label="${c:l('conferenciaController.lhNombpasajero.value')}"
|
label="${c:l('conferenciaController.lhNombpasajero.value')}"
|
||||||
sort="auto(nombpasajero)" />
|
sort="auto(nombpasajero)" />
|
||||||
|
@ -655,36 +653,40 @@
|
||||||
<rows>
|
<rows>
|
||||||
<row>
|
<row>
|
||||||
<hbox>
|
<hbox>
|
||||||
<label value="${c:l('conferenciaController.lbQtdeTotal.label')}"
|
<label
|
||||||
|
value="${c:l('conferenciaController.lbQtdeTotal.label')}"
|
||||||
style="font-weight:bold;" />
|
style="font-weight:bold;" />
|
||||||
<textbox id="txtQtdeTotalBilhetesGapDevolvidos"
|
<textbox
|
||||||
|
id="txtQtdeTotalBilhetesGapDevolvidos"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
||||||
style="text-align:right"
|
style="text-align:right" readonly="true" />
|
||||||
readonly="true" />
|
|
||||||
</hbox>
|
</hbox>
|
||||||
<hbox>
|
<hbox>
|
||||||
<label value="${c:l('conferenciaController.lbValorTotalDevolvidos.label')}"
|
<label
|
||||||
|
value="${c:l('conferenciaController.lbValorTotalDevolvidos.label')}"
|
||||||
style="font-weight:bold;" />
|
style="font-weight:bold;" />
|
||||||
<textbox id="txtTotalBilhetesGapDevolvidos"
|
<textbox
|
||||||
|
id="txtTotalBilhetesGapDevolvidos"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
||||||
style="text-align:right"
|
style="text-align:right" readonly="true" />
|
||||||
readonly="true" />
|
|
||||||
</hbox>
|
</hbox>
|
||||||
<hbox>
|
<hbox>
|
||||||
<label value="${c:l('conferenciaController.lbValorTotalDevolvidosTroca.label')}"
|
<label
|
||||||
|
value="${c:l('conferenciaController.lbValorTotalDevolvidosTroca.label')}"
|
||||||
style="font-weight:bold;" />
|
style="font-weight:bold;" />
|
||||||
<textbox id="txtTotalBilhetesGapDevolvidosTroca"
|
<textbox
|
||||||
|
id="txtTotalBilhetesGapDevolvidosTroca"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
||||||
style="text-align:right"
|
style="text-align:right" readonly="true" />
|
||||||
readonly="true" />
|
|
||||||
</hbox>
|
</hbox>
|
||||||
<hbox>
|
<hbox>
|
||||||
<label value="${c:l('conferenciaController.lbValorTotalDevolvidosOcd.label')}"
|
<label
|
||||||
|
value="${c:l('conferenciaController.lbValorTotalDevolvidosOcd.label')}"
|
||||||
style="font-weight:bold;" />
|
style="font-weight:bold;" />
|
||||||
<textbox id="txtTotalBilhetesGapDevolvidosOcd"
|
<textbox
|
||||||
|
id="txtTotalBilhetesGapDevolvidosOcd"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
||||||
style="text-align:right"
|
style="text-align:right" readonly="true" />
|
||||||
readonly="true" />
|
|
||||||
</hbox>
|
</hbox>
|
||||||
</row>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
|
@ -692,17 +694,14 @@
|
||||||
</tabpanel>
|
</tabpanel>
|
||||||
|
|
||||||
<!-- Eventos Financeiros -->
|
<!-- Eventos Financeiros -->
|
||||||
<tabpanel height="370px" style="overflow:auto;" >
|
<tabpanel height="370px" style="overflow:auto;">
|
||||||
<listbox id="eventosFinanceirosList"
|
<listbox id="eventosFinanceirosList"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||||
vflex="true"
|
vflex="true" multiple="false" height="200px">
|
||||||
multiple="false"
|
|
||||||
height="200px">
|
|
||||||
<listhead sizable="true">
|
<listhead sizable="true">
|
||||||
<listheader label="${c:l('conferenciaController.lhConferido.value')}"
|
<listheader
|
||||||
width="70px"
|
label="${c:l('conferenciaController.lhConferido.value')}"
|
||||||
align="center"
|
width="70px" align="center" sort="auto(orderExigeConferencia)" />
|
||||||
sort="auto(orderExigeConferencia)"/>
|
|
||||||
<listheader image="/gui/img/builder.gif"
|
<listheader image="/gui/img/builder.gif"
|
||||||
label="${c:l('conferenciaController.lhNumdocumento.value')}"
|
label="${c:l('conferenciaController.lhNumdocumento.value')}"
|
||||||
sort="auto(numdocumento)" />
|
sort="auto(numdocumento)" />
|
||||||
|
@ -738,31 +737,38 @@
|
||||||
<rows>
|
<rows>
|
||||||
<row spans="3,3">
|
<row spans="3,3">
|
||||||
<hbox>
|
<hbox>
|
||||||
<label value="${c:l('conferenciaController.lbTotal.label')}"
|
<label
|
||||||
|
value="${c:l('conferenciaController.lbTotal.label')}"
|
||||||
style="font-weight:bold;" />
|
style="font-weight:bold;" />
|
||||||
</hbox>
|
</hbox>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<hbox>
|
<hbox>
|
||||||
<label value="${c:l('conferenciaController.lbTotalCreditos.label')}"
|
<label
|
||||||
|
value="${c:l('conferenciaController.lbTotalCreditos.label')}"
|
||||||
style="font-weight:bold;" />
|
style="font-weight:bold;" />
|
||||||
<textbox id="txtTotalCreditosEventoFinanceiros"
|
<textbox
|
||||||
|
id="txtTotalCreditosEventoFinanceiros"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
||||||
readonly="true"/>
|
readonly="true" />
|
||||||
</hbox>
|
</hbox>
|
||||||
<hbox>
|
<hbox>
|
||||||
<label value="${c:l('conferenciaController.lbTotalDebitos.label')}"
|
<label
|
||||||
|
value="${c:l('conferenciaController.lbTotalDebitos.label')}"
|
||||||
style="font-weight:bold;" />
|
style="font-weight:bold;" />
|
||||||
<textbox id="txtTotalDebitosEventoFinanceiros"
|
<textbox
|
||||||
|
id="txtTotalDebitosEventoFinanceiros"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
||||||
readonly="true"/>
|
readonly="true" />
|
||||||
</hbox>
|
</hbox>
|
||||||
<hbox>
|
<hbox>
|
||||||
<label value="${c:l('conferenciaController.lbDiferenca.label')}"
|
<label
|
||||||
|
value="${c:l('conferenciaController.lbDiferenca.label')}"
|
||||||
style="font-weight:bold;" />
|
style="font-weight:bold;" />
|
||||||
<textbox id="txtTotalDiferencaEventoFinanceiros"
|
<textbox
|
||||||
|
id="txtTotalDiferencaEventoFinanceiros"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
||||||
readonly="true"/>
|
readonly="true" />
|
||||||
</hbox>
|
</hbox>
|
||||||
</row>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
|
@ -770,17 +776,14 @@
|
||||||
</tabpanel>
|
</tabpanel>
|
||||||
|
|
||||||
<!-- OCD -->
|
<!-- OCD -->
|
||||||
<tabpanel height="370px" style="overflow:auto;" >
|
<tabpanel height="370px" style="overflow:auto;">
|
||||||
<listbox id="ocdsList"
|
<listbox id="ocdsList"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||||
vflex="true"
|
vflex="true" multiple="false" height="350px">
|
||||||
multiple="false"
|
|
||||||
height="350px">
|
|
||||||
<listhead sizable="true">
|
<listhead sizable="true">
|
||||||
<listheader label="${c:l('conferenciaController.lhConferido.value')}"
|
<listheader
|
||||||
width="70px"
|
label="${c:l('conferenciaController.lhConferido.value')}"
|
||||||
align="center"
|
width="70px" align="center" sort="auto(orderExigeConferencia)" />
|
||||||
sort="auto(orderExigeConferencia)"/>
|
|
||||||
<listheader image="/gui/img/builder.gif"
|
<listheader image="/gui/img/builder.gif"
|
||||||
label="${c:l('conferenciaController.lhNumoperacion.value')}"
|
label="${c:l('conferenciaController.lhNumoperacion.value')}"
|
||||||
sort="auto(numoperacion)" />
|
sort="auto(numoperacion)" />
|
||||||
|
@ -815,20 +818,20 @@
|
||||||
<rows>
|
<rows>
|
||||||
<row>
|
<row>
|
||||||
<hbox>
|
<hbox>
|
||||||
<label value="${c:l('conferenciaController.lbQtdeTotal.label')}"
|
<label
|
||||||
|
value="${c:l('conferenciaController.lbQtdeTotal.label')}"
|
||||||
style="font-weight:bold;" />
|
style="font-weight:bold;" />
|
||||||
<textbox id="txtQtdeTotalOcd"
|
<textbox id="txtQtdeTotalOcd"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
||||||
style="text-align:right"
|
style="text-align:right" readonly="true" />
|
||||||
readonly="true" />
|
|
||||||
</hbox>
|
</hbox>
|
||||||
<hbox>
|
<hbox>
|
||||||
<label value="${c:l('conferenciaController.lbValorTotal.label')}"
|
<label
|
||||||
|
value="${c:l('conferenciaController.lbValorTotal.label')}"
|
||||||
style="font-weight:bold;" />
|
style="font-weight:bold;" />
|
||||||
<textbox id="txtTotalOcdValorPagar"
|
<textbox id="txtTotalOcdValorPagar"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
||||||
style="text-align:right"
|
style="text-align:right" readonly="true" />
|
||||||
readonly="true" />
|
|
||||||
</hbox>
|
</hbox>
|
||||||
</row>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
|
@ -836,7 +839,7 @@
|
||||||
</tabpanel>
|
</tabpanel>
|
||||||
|
|
||||||
<!-- Observações -->
|
<!-- Observações -->
|
||||||
<tabpanel height="370px" style="overflow:auto;" >
|
<tabpanel height="370px" style="overflow:auto;">
|
||||||
<grid fixedLayout="true">
|
<grid fixedLayout="true">
|
||||||
<columns>
|
<columns>
|
||||||
<column width="10%" />
|
<column width="10%" />
|
||||||
|
@ -846,61 +849,53 @@
|
||||||
</columns>
|
</columns>
|
||||||
<rows>
|
<rows>
|
||||||
<row>
|
<row>
|
||||||
<label value="${c:l('conferenciaController.lhSituacaoLog.value')}" />
|
<label
|
||||||
|
value="${c:l('conferenciaController.lhSituacaoLog.value')}" />
|
||||||
<combobox id="cmbSituacaoLog"
|
<combobox id="cmbSituacaoLog"
|
||||||
width="70%"
|
width="70%" mold="rounded" buttonVisible="true"
|
||||||
mold="rounded"
|
|
||||||
buttonVisible="true"
|
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||||
constraint="no empty" />
|
constraint="no empty" />
|
||||||
|
|
||||||
<label value="${c:l('conferenciaController.lhValorLog.value')}" />
|
<label
|
||||||
|
value="${c:l('conferenciaController.lhValorLog.value')}" />
|
||||||
<textbox id="txtPrecoLog"
|
<textbox id="txtPrecoLog"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
|
||||||
precision="7"
|
precision="7" scale="2" width="50%" />
|
||||||
scale="2"
|
|
||||||
width="50%" />
|
|
||||||
</row>
|
</row>
|
||||||
|
|
||||||
<row spans="1,3">
|
<row spans="1,3">
|
||||||
<label value="${c:l('conferenciaController.lbDebitoCredito.value')}" />
|
<label
|
||||||
|
value="${c:l('conferenciaController.lbDebitoCredito.value')}" />
|
||||||
<radiogroup>
|
<radiogroup>
|
||||||
<radio id="rDebito"
|
<radio id="rDebito"
|
||||||
label="${c:l('conferenciaController.lbDebito.value')}"/>
|
label="${c:l('conferenciaController.lbDebito.value')}" />
|
||||||
<radio id="rCredito"
|
<radio id="rCredito"
|
||||||
label="${c:l('conferenciaController.lbCredito.value')}"/>
|
label="${c:l('conferenciaController.lbCredito.value')}" />
|
||||||
</radiogroup>
|
</radiogroup>
|
||||||
</row>
|
</row>
|
||||||
|
|
||||||
<row spans="1,3">
|
<row spans="1,3">
|
||||||
<label value="${c:l('conferenciaController.lhObservacao.value')}" />
|
<label
|
||||||
|
value="${c:l('conferenciaController.lhObservacao.value')}" />
|
||||||
<textbox id="txtObservacaoLog"
|
<textbox id="txtObservacaoLog"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
|
||||||
rows="5"
|
rows="5" cols="115" constraint="no empty" />
|
||||||
cols="115"
|
|
||||||
constraint="no empty" />
|
|
||||||
</row>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
|
|
||||||
<button id="btnAdicionarObservacaoLog"
|
<button id="btnAdicionarObservacaoLog" height="20"
|
||||||
height="20"
|
image="/gui/img/add.png" width="35px"
|
||||||
image="/gui/img/add.png"
|
|
||||||
width="35px"
|
|
||||||
tooltiptext="${c:l('conferenciaController.btnAdicionarObservacaoLog.tooltiptext')}"
|
tooltiptext="${c:l('conferenciaController.btnAdicionarObservacaoLog.tooltiptext')}"
|
||||||
visible="@{winConferencia$composer.movimentoNaoEncerrado}" />
|
visible="@{winConferencia$composer.movimentoNaoEncerrado}" />
|
||||||
<button id="btnRemoverObservacaoLog"
|
<button id="btnRemoverObservacaoLog" height="20"
|
||||||
height="20"
|
image="/gui/img/remove.png" width="35px"
|
||||||
image="/gui/img/remove.png"
|
|
||||||
width="35px"
|
|
||||||
tooltiptext="${c:l('conferenciaController.btnRemoverObservacaoLog.tooltiptext')}"
|
tooltiptext="${c:l('conferenciaController.btnRemoverObservacaoLog.tooltiptext')}"
|
||||||
visible="@{winConferencia$composer.movimentoNaoEncerrado}" />
|
visible="@{winConferencia$composer.movimentoNaoEncerrado}" />
|
||||||
|
|
||||||
<listbox id="logsConferenciaList"
|
<listbox id="logsConferenciaList"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||||
vflex="true"
|
vflex="true" multiple="false" height="220px">
|
||||||
multiple="false"
|
|
||||||
height="220px">
|
|
||||||
<listhead sizable="true">
|
<listhead sizable="true">
|
||||||
<listheader image="/gui/img/builder.gif"
|
<listheader image="/gui/img/builder.gif"
|
||||||
label="${c:l('conferenciaController.lhSituacaoLog.value')}"
|
label="${c:l('conferenciaController.lhSituacaoLog.value')}"
|
||||||
|
@ -948,79 +943,88 @@
|
||||||
</columns>
|
</columns>
|
||||||
<rows>
|
<rows>
|
||||||
<row spans="1,5">
|
<row spans="1,5">
|
||||||
<label value="${c:l('conferenciaController.lhTotalDeposito.value')}" />
|
<label
|
||||||
<textbox id="totalDeposito"
|
value="${c:l('conferenciaController.lhTotalDeposito.value')}" />
|
||||||
width="12%"
|
<textbox id="totalDeposito" width="12%"
|
||||||
value="@{winConferencia$composer.resumo.valorDepositoFormatado}"
|
value="@{winConferencia$composer.resumo.valorDepositoFormatado}"
|
||||||
readonly="true"
|
readonly="true" style="text-align:right" />
|
||||||
style="text-align:right" />
|
|
||||||
</row>
|
</row>
|
||||||
<row spans="1,5">
|
<row spans="1,5">
|
||||||
<label value="${c:l('conferenciaController.lhTotalVenda.value')}" />
|
<label
|
||||||
|
value="${c:l('conferenciaController.lhTotalVenda.value')}" />
|
||||||
<textbox id="totalBilhetesVendidos"
|
<textbox id="totalBilhetesVendidos"
|
||||||
width="12%"
|
width="12%"
|
||||||
value="@{winConferencia$composer.resumo.totalVendasFormatado}"
|
value="@{winConferencia$composer.resumo.totalVendasFormatado}"
|
||||||
readonly="true"
|
readonly="true" style="text-align:right" />
|
||||||
style="text-align:right" />
|
|
||||||
</row>
|
</row>
|
||||||
<row spans=",,,5,1">
|
<row spans=",,,5,1">
|
||||||
<label value="${c:l('conferenciaController.lhTotalCancelados.value')}" />
|
<label
|
||||||
|
value="${c:l('conferenciaController.lhTotalCancelados.value')}" />
|
||||||
<textbox id="txtTotalCancelados"
|
<textbox id="txtTotalCancelados"
|
||||||
width="50%"
|
width="50%"
|
||||||
value="@{winConferencia$composer.resumo.totalCanceladosFormatado}"
|
value="@{winConferencia$composer.resumo.totalCanceladosFormatado}"
|
||||||
readonly="true"
|
readonly="true" style="text-align:right" />
|
||||||
style="text-align:right" />
|
|
||||||
|
|
||||||
<label value="${c:l('conferenciaController.lhTotalDevolvidos.value')}" />
|
<label
|
||||||
|
value="${c:l('conferenciaController.lhTotalDevolvidos.value')}" />
|
||||||
<textbox id="txtTotalDevolvidos"
|
<textbox id="txtTotalDevolvidos"
|
||||||
width="18%"
|
width="18%"
|
||||||
value="@{winConferencia$composer.resumo.totalDevolvidosFormatado}"
|
value="@{winConferencia$composer.resumo.totalDevolvidosFormatado}"
|
||||||
readonly="true"
|
readonly="true" style="text-align:right" />
|
||||||
style="text-align:right" />
|
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<label value="${c:l('conferenciaController.lhTotalReceitas.value')}" />
|
<label
|
||||||
|
value="${c:l('conferenciaController.lhTotalReceitas.value')}" />
|
||||||
<textbox id="txtTotalReceitas"
|
<textbox id="txtTotalReceitas"
|
||||||
width="50%"
|
width="50%"
|
||||||
value="@{winConferencia$composer.resumo.totalReceitasFormatado}"
|
value="@{winConferencia$composer.resumo.totalReceitasFormatado}"
|
||||||
readonly="true"
|
readonly="true" style="text-align:right" />
|
||||||
style="text-align:right" />
|
|
||||||
|
|
||||||
<label value="${c:l('conferenciaController.lhTotalDespesas.value')}" />
|
<label
|
||||||
|
value="${c:l('conferenciaController.lhTotalDespesas.value')}" />
|
||||||
<textbox id="txtTotalDespesas"
|
<textbox id="txtTotalDespesas"
|
||||||
width="50%"
|
width="50%"
|
||||||
value="@{winConferencia$composer.resumo.totalDespesasFormatado}"
|
value="@{winConferencia$composer.resumo.totalDespesasFormatado}"
|
||||||
readonly="true"
|
readonly="true" style="text-align:right" />
|
||||||
style="text-align:right" />
|
|
||||||
|
|
||||||
<label value="${c:l('conferenciaController.lhTotalDiferenca.value')}" />
|
<label
|
||||||
|
value="${c:l('conferenciaController.lhTotalDiferenca.value')}" />
|
||||||
<textbox id="txtTotalDiferenca"
|
<textbox id="txtTotalDiferenca"
|
||||||
width="50%"
|
width="50%"
|
||||||
value="@{winConferencia$composer.resumo.totalDiferencaFormatado}"
|
value="@{winConferencia$composer.resumo.totalDiferencaFormatado}"
|
||||||
readonly="true"
|
readonly="true" style="text-align:right" />
|
||||||
style="text-align:right" />
|
|
||||||
</row>
|
|
||||||
<row spans="6">
|
|
||||||
<label value="${c:l('conferenciaController.tab.ocd')}" />
|
|
||||||
</row>
|
</row>
|
||||||
|
|
||||||
<row spans="1,5">
|
<row spans="1,5">
|
||||||
<label value="${c:l('conferenciaController.lbTotalOcdValorPago.label')}" />
|
<label
|
||||||
|
value="${c:l('conferenciaController.lbTotalOcdValorPago.label')}" />
|
||||||
<textbox id="txtTotalValorPagarOcd"
|
<textbox id="txtTotalValorPagarOcd"
|
||||||
width="12%"
|
width="12%"
|
||||||
value="@{winConferencia$composer.resumo.totalOcd.valorPagarFormatado}"
|
value="@{winConferencia$composer.resumo.totalOcd.valorPagarFormatado}"
|
||||||
readonly="true"
|
readonly="true" style="text-align:right" />
|
||||||
style="text-align:right" />
|
|
||||||
</row>
|
</row>
|
||||||
|
|
||||||
|
<row spans="1,1,4">
|
||||||
|
<label
|
||||||
|
value="${c:l('conferenciaController.lbQuantidadeECF.label')}" />
|
||||||
|
<textbox id="txtQtdECF" width="54%"
|
||||||
|
value="@{winConferencia$composer.resumo.quantidadeEcf}"
|
||||||
|
readonly="true" style="text-align:right" />
|
||||||
|
<button id="btnIrregularidade"
|
||||||
|
width="200px" height="21px"
|
||||||
|
label="${c:l('conferenciaController.lbBtnIrregularidade.label')}" />
|
||||||
|
</row>
|
||||||
|
|
||||||
<row spans="6">
|
<row spans="6">
|
||||||
<label value="${c:l('conferenciaController.lhTotalFormapago')}" />
|
<label
|
||||||
|
value="${c:l('conferenciaController.lhTotalFormapago')}" />
|
||||||
</row>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
|
|
||||||
</grid>
|
</grid>
|
||||||
<listbox id="formapagosList"
|
<listbox id="formapagosList"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||||
vflex="true"
|
vflex="true" multiple="false" height="195px">
|
||||||
multiple="false"
|
|
||||||
height="195px">
|
|
||||||
<listhead sizable="true">
|
<listhead sizable="true">
|
||||||
<listheader image="/gui/img/builder.gif"
|
<listheader image="/gui/img/builder.gif"
|
||||||
label="${c:l('conferenciaController.lhFormpago.value')}"
|
label="${c:l('conferenciaController.lhFormpago.value')}"
|
||||||
|
|
|
@ -0,0 +1,36 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<?page contentType="text/html;charset=UTF-8"?>
|
||||||
|
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
|
||||||
|
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" arg0="winInformeIrregularidade"?>
|
||||||
|
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
||||||
|
|
||||||
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||||
|
<window id="winInformeIrregularidade"
|
||||||
|
title="${c:l('informeIrregularidadeController.window.title')}"
|
||||||
|
apply="${informeIrregularidadeController}"
|
||||||
|
contentStyle="overflow:auto" height="400px" width="500px"
|
||||||
|
border="normal">
|
||||||
|
<vbox width="100%" height="90%">
|
||||||
|
<label
|
||||||
|
value="${c:l('informeIrregularidadeController.lbMail')}" />
|
||||||
|
<textbox id="txtEmail" width="100%"
|
||||||
|
value="@{winInformeIrregularidade$composer.puntoVenta.descCorreo}"
|
||||||
|
constraint="no empty" />
|
||||||
|
<label
|
||||||
|
value="${c:l('informeIrregularidadeController.lbMsg')}" />
|
||||||
|
<textbox id="txtConteudoEmail" width="99%" height="250px"
|
||||||
|
rows="8" cols="15" constraint="no empty"
|
||||||
|
value="${c:l('informeIrregularidadeController.mail.msg')}" />
|
||||||
|
</vbox>
|
||||||
|
<toolbar height="26px" style="padding-left:32px;">
|
||||||
|
<button id="btnEnviar" height="26px" width="200px"
|
||||||
|
label="${c:l('informeIrregularidadeController.mail.enviar')}"
|
||||||
|
image="/gui/img/icon-active.gif" />
|
||||||
|
|
||||||
|
<button id="btnCancelar" height="26px" width="200px"
|
||||||
|
label="${c:l('informeIrregularidadeController.mail.cancelar')}"
|
||||||
|
image="/gui/img/close_icon_inactive.png" />
|
||||||
|
</toolbar>
|
||||||
|
|
||||||
|
</window>
|
||||||
|
</zk>
|
Loading…
Reference in New Issue