fixed bug #7245 - Inclusão de campo em empresas para venda dentro do ponto de venda, que valida se , ao fechar o caixa do ponto de venda, será exibido o relatório de caixa ou não.
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@54023 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
d31912562c
commit
ec457cafb8
|
@ -334,6 +334,7 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
|||
private Radio radIndPermisoTasaEmbarqueNo;
|
||||
private Checkbox checkPtoVtaEmpresaIndTerceirizada;
|
||||
private Checkbox checkPtoVtaEmpresaIndBloqueada;
|
||||
private Checkbox checkPtoVtaEmpresaIndMostrarCaja;
|
||||
private Textbox txtNumeroSitef;
|
||||
private Checkbox ckIsento;
|
||||
private Checkbox checkSimulaIntegracion;
|
||||
|
@ -1750,6 +1751,7 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
|||
ptovtaEmpresa.setFecmodif(Calendar.getInstance().getTime());
|
||||
ptovtaEmpresa.setIndTerceirizada(checkPtoVtaEmpresaIndTerceirizada.isChecked());
|
||||
ptovtaEmpresa.setIndBloqueada(checkPtoVtaEmpresaIndBloqueada.isChecked());
|
||||
ptovtaEmpresa.setIndMostrarCaja(checkPtoVtaEmpresaIndMostrarCaja.isChecked());
|
||||
ptovtaEmpresa.setNumeroSitef(txtNumeroSitef.getText());
|
||||
|
||||
if (cmbEmpresasContaBancarias.getSelectedItem() != null){
|
||||
|
|
|
@ -96,6 +96,7 @@ public class RelatorioArquivoBGMController extends MyGenericForwardComposer {
|
|||
|
||||
compactarArquivos(files, fileZip);
|
||||
File filez = new File(fileZip);
|
||||
log.info(filez.exists());
|
||||
if (filez.exists()) {
|
||||
log.debug("download dos arquivos");
|
||||
inputStream = new FileInputStream(filez);
|
||||
|
@ -133,6 +134,7 @@ public class RelatorioArquivoBGMController extends MyGenericForwardComposer {
|
|||
|
||||
private void compactarArquivos(List<File> arquivosEOuPastas, String arquivoDeSaida){
|
||||
System.out.println(arquivoDeSaida);
|
||||
log.debug(arquivoDeSaida);
|
||||
|
||||
// Create a buffer for reading the files
|
||||
byte[] buf = new byte[1024];
|
||||
|
@ -162,7 +164,8 @@ public class RelatorioArquivoBGMController extends MyGenericForwardComposer {
|
|||
|
||||
// Complete the ZIP file
|
||||
out.close();
|
||||
} catch (IOException e) {
|
||||
} catch (IOException e) {
|
||||
log.error(e.getMessage(),e);
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -34,6 +34,9 @@ public class PtovtaEmpresaRender implements ListitemRenderer {
|
|||
|
||||
lc = new Listcell(ptoVta.getEmpresaContaBancaria() != null ? ptoVta.getEmpresaContaBancaria().toString() : "");
|
||||
lc.setParent(lstm);
|
||||
|
||||
lc = new Listcell(ptoVta.getIndMostrarCaja() != null && ptoVta.getIndMostrarCaja() ? Labels.getLabel("MSG.SI") : Labels.getLabel("MSG.NO"));
|
||||
lc.setParent(lstm);
|
||||
|
||||
lstm.setAttribute("data", ptoVta);
|
||||
|
||||
|
|
|
@ -940,6 +940,7 @@ editarPuntoVentaController.lbNodo.value = Servidor
|
|||
editarPuntoVentaController.lbEmpresa.value = Empresa
|
||||
editarPuntoVentaController.lbEmpresaContaBancaria.value = Conta Bancária
|
||||
editarPuntoVentaController.lbEmpresaBloqueada.value = Bloqueada
|
||||
editarPuntoVentaController.lbMostrarCaja.value = Mostrar Caja en el Cierre
|
||||
editarPuntoVentaController.lbNumeroSitef.value = Número SITEF
|
||||
editarPuntoVentaController.lbEmpresaTerceirizada.value = Terceirizada
|
||||
editarPuntoVentaController.lbparada.value = Parada
|
||||
|
|
|
@ -981,6 +981,7 @@ editarPuntoVentaController.lbNodo.value = Servidor
|
|||
editarPuntoVentaController.lbEmpresa.value = Empresa
|
||||
editarPuntoVentaController.lbEmpresaContaBancaria.value = Conta Bancária
|
||||
editarPuntoVentaController.lbEmpresaBloqueada.value = Bloqueada
|
||||
editarPuntoVentaController.lbMostrarCaja.value = Exibir Caixa no Fechamento
|
||||
editarPuntoVentaController.lbNumeroSitef.value = Número SITEF
|
||||
editarPuntoVentaController.lbEmpresaTerceirizada.value = Terceirizada
|
||||
editarPuntoVentaController.lbparada.value = Localidade
|
||||
|
|
|
@ -955,6 +955,12 @@
|
|||
<checkbox id="checkPtoVtaEmpresaIndBloqueada"
|
||||
checked="false" />
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarPuntoVentaController.lbMostrarCaja.value')}" />
|
||||
<checkbox id="checkPtoVtaEmpresaIndMostrarCaja"
|
||||
checked="false" />
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarPuntoVentaController.lbNumeroSitef.value')}" />
|
||||
|
@ -986,7 +992,8 @@
|
|||
<listheader image="/gui/img/builder.gif" label="${c:l('editarPuntoVentaController.lbEmpresaTerceirizada.value')}" width="20%" />
|
||||
<listheader image="/gui/img/builder.gif" label="${c:l('editarPuntoVentaController.lbEmpresaBloqueada.value')}" width="20%" />
|
||||
<listheader image="/gui/img/builder.gif" label="${c:l('editarPuntoVentaController.lbNumeroSitef.value')}" width="20%" />
|
||||
<listheader image="/gui/img/builder.gif" label="${c:l('editarPuntoVentaController.lbEmpresaContaBancaria.value')}" width="20%" />
|
||||
<listheader image="/gui/img/builder.gif" label="${c:l('editarPuntoVentaController.lbEmpresaContaBancaria.value')}" width="20%" />
|
||||
<listheader image="/gui/img/builder.gif" label="${c:l('editarPuntoVentaController.lbMostrarCaja.value')}" width="20%" />
|
||||
</listhead>
|
||||
</listbox>
|
||||
</tabpanel>
|
||||
|
|
Loading…
Reference in New Issue