wilian 2017-03-29 19:48:43 +00:00
parent ec84b3c129
commit 3420dc99e2
4 changed files with 118 additions and 109 deletions

View File

@ -660,7 +660,7 @@ public class ConferenciaController extends MyGenericForwardComposer {
}
private void carregarResumo(List<BoletoComissao> boletosComissaos) throws BusinessException {
resumo = conferenciaComissaoService.gerarResumo(conferencia, boletosComissaos, lsEventosFinanceiros, totalBilhetesManual, totalBilhetesVendidos, totalBilhetesCancelados, totalBilhetesDevolvidos, totalBilhetesGap, totalBilhetesGapCancelados, totalBilhetesGapDevolvidos, totalCreditosEventoFinanceiros, totalDebitosEventoFinanceiros, ocdTotal);
resumo = conferenciaComissaoService.gerarResumo(conferencia, boletosComissaos, lsEventosFinanceiros, totalBilhetesManual, totalBilhetesVendidos, totalBilhetesCancelados, totalBilhetesDevolvidos, totalBilhetesGap, totalBilhetesGapCancelados, totalBilhetesGapDevolvidos, totalCreditosEventoFinanceiros, totalDebitosEventoFinanceiros, ocdTotal, totalBilhetesDevolvidosTroca, totalBilhetesGapDevolvidosTroca);
formapagosList.setData(resumo.getTotalFormapago());
}

View File

@ -6628,6 +6628,7 @@ conferenciaController.lhNombusuario.value = Cajero
conferenciaController.lhTotalVenda.value = Total Venda
conferenciaController.lhTotalCancelados.value = Total Cancelados
conferenciaController.lhTotalDevolvidos.value = Total Devueltos
conferenciaController.lhTotalTrocados.value = Total Intercambiados
conferenciaController.lhTotalReceitas.value = Total Recetas
conferenciaController.lhTotalDespesas.value = Total Despesas
conferenciaController.lhTotalFormapago = Forma de pago

View File

@ -6819,6 +6819,7 @@ conferenciaController.lhNombusuario.value = Bilheteiro
conferenciaController.lhTotalVenda.value = Total Venda
conferenciaController.lhTotalCancelados.value = Total Cancelados
conferenciaController.lhTotalDevolvidos.value = Total Devolvidos
conferenciaController.lhTotalTrocados.value = Total Trocados
conferenciaController.lhTotalReceitas.value = Total Receitas
conferenciaController.lhTotalDespesas.value = Total Despesas
conferenciaController.lhTotalFormapago = Forma de pagamentos

View File

@ -70,6 +70,8 @@
<tabbox id="tabboxGeral">
<tabs>
<tab id="tabResumo"
label="${c:l('conferenciaController.tab.resumo')}" />
<tab id="tabBilhetesManual"
label="${c:l('conferenciaController.tab.bilhetesManual')}" />
<tab id="tabBilhetesVenda"
@ -90,11 +92,122 @@
label="${c:l('conferenciaController.tab.ocd')}" />
<tab id="tabObservacoes"
label="${c:l('conferenciaController.tab.observacoes')}" />
<tab id="tabResumo"
label="${c:l('conferenciaController.tab.resumo')}" />
</tabs>
<tabpanels>
<!-- Resumo -->
<tabpanel>
<grid fixedLayout="true">
<columns>
<column width="13%" />
<column width="20%" />
<column width="13%" />
<column width="20%" />
<column width="13%" />
<column width="21%" />
</columns>
<rows>
<row spans="1,5">
<label
value="${c:l('conferenciaController.lhTotalDeposito.value')}" />
<textbox id="totalDeposito" width="12%"
value="@{winConferencia$composer.resumo.valorDepositoFormatado}"
readonly="true" style="text-align:right" />
</row>
<row spans="1,5">
<label
value="${c:l('conferenciaController.lhTotalVenda.value')}" />
<textbox id="totalBilhetesVendidos"
width="12%"
value="@{winConferencia$composer.resumo.totalVendasFormatado}"
readonly="true" style="text-align:right" />
</row>
<row>
<label
value="${c:l('conferenciaController.lhTotalCancelados.value')}" />
<textbox id="txtTotalCancelados"
width="50%"
value="@{winConferencia$composer.resumo.totalCanceladosFormatado}"
readonly="true" style="text-align:right" />
<label
value="${c:l('conferenciaController.lhTotalDevolvidos.value')}" />
<textbox id="txtTotalDevolvidos"
width="50%"
value="@{winConferencia$composer.resumo.totalDevolvidosFormatado}"
readonly="true" style="text-align:right" />
<label
value="${c:l('conferenciaController.lhTotalTrocados.value')}" />
<textbox id="txtTotalTrocados"
width="50%"
value="@{winConferencia$composer.resumo.totalTrocaFormatado}"
readonly="true" style="text-align:right" />
</row>
<row>
<label
value="${c:l('conferenciaController.lhTotalReceitas.value')}" />
<textbox id="txtTotalReceitas"
width="50%"
value="@{winConferencia$composer.resumo.totalReceitasFormatado}"
readonly="true" style="text-align:right" />
<label
value="${c:l('conferenciaController.lhTotalDespesas.value')}" />
<textbox id="txtTotalDespesas"
width="50%"
value="@{winConferencia$composer.resumo.totalDespesasFormatado}"
readonly="true" style="text-align:right" />
<label
value="${c:l('conferenciaController.lhTotalDiferenca.value')}" />
<textbox id="txtTotalDiferenca"
width="50%"
value="@{winConferencia$composer.resumo.totalDiferencaFormatado}"
readonly="true" style="text-align:right" />
</row>
<row spans="1,5">
<label
value="${c:l('conferenciaController.lbTotalOcdValorPago.label')}" />
<textbox id="txtTotalValorPagarOcd"
width="12%"
value="@{winConferencia$composer.resumo.totalOcd.valorPagarFormatado}"
readonly="true" style="text-align:right" />
</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">
<label
value="${c:l('conferenciaController.lhTotalFormapago')}" />
</row>
</rows>
</grid>
<listbox id="formapagosList"
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
vflex="true" multiple="false" height="195px">
<listhead sizable="true">
<listheader image="/gui/img/builder.gif"
label="${c:l('conferenciaController.lhFormpago.value')}"
sort="auto(descpago)" />
<listheader image="/gui/img/builder.gif"
label="${c:l('conferenciaController.lbValorTotal.label')}"
sort="auto(importe)" />
</listhead>
</listbox>
</tabpanel>
<!-- Bilhetes Manual -->
<tabpanel height="370px" style="overflow:auto;">
<!--
@ -984,112 +1097,6 @@
</listhead>
</listbox>
</tabpanel>
<!-- Resumo -->
<tabpanel>
<grid fixedLayout="true">
<columns>
<column width="13%" />
<column width="20%" />
<column width="13%" />
<column width="20%" />
<column width="13%" />
<column width="21%" />
</columns>
<rows>
<row spans="1,5">
<label
value="${c:l('conferenciaController.lhTotalDeposito.value')}" />
<textbox id="totalDeposito" width="12%"
value="@{winConferencia$composer.resumo.valorDepositoFormatado}"
readonly="true" style="text-align:right" />
</row>
<row spans="1,5">
<label
value="${c:l('conferenciaController.lhTotalVenda.value')}" />
<textbox id="totalBilhetesVendidos"
width="12%"
value="@{winConferencia$composer.resumo.totalVendasFormatado}"
readonly="true" style="text-align:right" />
</row>
<row spans=",,,5,1">
<label
value="${c:l('conferenciaController.lhTotalCancelados.value')}" />
<textbox id="txtTotalCancelados"
width="50%"
value="@{winConferencia$composer.resumo.totalCanceladosFormatado}"
readonly="true" style="text-align:right" />
<label
value="${c:l('conferenciaController.lhTotalDevolvidos.value')}" />
<textbox id="txtTotalDevolvidos"
width="18%"
value="@{winConferencia$composer.resumo.totalDevolvidosFormatado}"
readonly="true" style="text-align:right" />
</row>
<row>
<label
value="${c:l('conferenciaController.lhTotalReceitas.value')}" />
<textbox id="txtTotalReceitas"
width="50%"
value="@{winConferencia$composer.resumo.totalReceitasFormatado}"
readonly="true" style="text-align:right" />
<label
value="${c:l('conferenciaController.lhTotalDespesas.value')}" />
<textbox id="txtTotalDespesas"
width="50%"
value="@{winConferencia$composer.resumo.totalDespesasFormatado}"
readonly="true" style="text-align:right" />
<label
value="${c:l('conferenciaController.lhTotalDiferenca.value')}" />
<textbox id="txtTotalDiferenca"
width="50%"
value="@{winConferencia$composer.resumo.totalDiferencaFormatado}"
readonly="true" style="text-align:right" />
</row>
<row spans="1,5">
<label
value="${c:l('conferenciaController.lbTotalOcdValorPago.label')}" />
<textbox id="txtTotalValorPagarOcd"
width="12%"
value="@{winConferencia$composer.resumo.totalOcd.valorPagarFormatado}"
readonly="true" style="text-align:right" />
</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">
<label
value="${c:l('conferenciaController.lhTotalFormapago')}" />
</row>
</rows>
</grid>
<listbox id="formapagosList"
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
vflex="true" multiple="false" height="195px">
<listhead sizable="true">
<listheader image="/gui/img/builder.gif"
label="${c:l('conferenciaController.lhFormpago.value')}"
sort="auto(descpago)" />
<listheader image="/gui/img/builder.gif"
label="${c:l('conferenciaController.lbValorTotal.label')}"
sort="auto(importe)" />
</listhead>
</listbox>
</tabpanel>
</tabpanels>
</tabbox>
</window>