fixed bug #6373 - Commit de alteração em trunk
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@50260 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
0768d70932
commit
05677acd28
|
@ -103,5 +103,9 @@
|
||||||
<attribute name="owner.project.facets" value="java"/>
|
<attribute name="owner.project.facets" value="java"/>
|
||||||
</attributes>
|
</attributes>
|
||||||
</classpathentry>
|
</classpathentry>
|
||||||
|
|
||||||
|
<classpathentry combineaccessrules="false" kind="src" path="/WSTotvs"/>
|
||||||
|
<classpathentry kind="lib" path="/LibreriasAdmVenta/integracaoReceitaDespesa.jar"/>
|
||||||
|
|
||||||
<classpathentry kind="output" path="build/classes"/>
|
<classpathentry kind="output" path="build/classes"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
|
|
|
@ -29,6 +29,7 @@ import org.zkoss.zul.Listcell;
|
||||||
import org.zkoss.zul.Listitem;
|
import org.zkoss.zul.Listitem;
|
||||||
import org.zkoss.zul.ListitemRenderer;
|
import org.zkoss.zul.ListitemRenderer;
|
||||||
import org.zkoss.zul.Messagebox;
|
import org.zkoss.zul.Messagebox;
|
||||||
|
import org.zkoss.zul.Radio;
|
||||||
import org.zkoss.zul.Row;
|
import org.zkoss.zul.Row;
|
||||||
import org.zkoss.zul.Textbox;
|
import org.zkoss.zul.Textbox;
|
||||||
|
|
||||||
|
@ -78,6 +79,8 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
||||||
private MyTextbox txtNome;
|
private MyTextbox txtNome;
|
||||||
private MyTextbox txtCNPJ;
|
private MyTextbox txtCNPJ;
|
||||||
private MyTextbox txtCodantt;
|
private MyTextbox txtCodantt;
|
||||||
|
private Radio rdgFechaVenta;
|
||||||
|
private Radio rdgFechaSalida;
|
||||||
private MyListbox empresaImpostoList;
|
private MyListbox empresaImpostoList;
|
||||||
private List<EmpresaImposto> lsEmpresaImposto;
|
private List<EmpresaImposto> lsEmpresaImposto;
|
||||||
private Button btnApagar;
|
private Button btnApagar;
|
||||||
|
@ -97,6 +100,7 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
||||||
private MyTextbox txtInscEstadual;
|
private MyTextbox txtInscEstadual;
|
||||||
private Button btnRemoverInscEstadual;
|
private Button btnRemoverInscEstadual;
|
||||||
|
|
||||||
|
|
||||||
private List<InstiFinanceira> lsBanco;
|
private List<InstiFinanceira> lsBanco;
|
||||||
private Combobox cmbBanco;
|
private Combobox cmbBanco;
|
||||||
private Textbox txtNomeBanco;
|
private Textbox txtNomeBanco;
|
||||||
|
@ -165,6 +169,14 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
super.doAfterCompose(comp);
|
super.doAfterCompose(comp);
|
||||||
|
|
||||||
|
if(empresa.getIndfechatarifa() == null){
|
||||||
|
rdgFechaSalida.setChecked(Boolean.TRUE);
|
||||||
|
}else if(empresa.getIndfechatarifa()){
|
||||||
|
rdgFechaVenta.setChecked(Boolean.TRUE);
|
||||||
|
}else{
|
||||||
|
rdgFechaSalida.setChecked(Boolean.TRUE);
|
||||||
|
}
|
||||||
|
|
||||||
lsEmpresaContaBancaria = new ArrayList<EmpresaContaBancaria>();
|
lsEmpresaContaBancaria = new ArrayList<EmpresaContaBancaria>();
|
||||||
empresaContaBancariaList.setItemRenderer(new RenderEmpresaContaBancaria());
|
empresaContaBancariaList.setItemRenderer(new RenderEmpresaContaBancaria());
|
||||||
|
|
||||||
|
@ -255,6 +267,7 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
||||||
if (empresa.getIndExterna() == null) {
|
if (empresa.getIndExterna() == null) {
|
||||||
empresa.setIndExterna(Boolean.FALSE);
|
empresa.setIndExterna(Boolean.FALSE);
|
||||||
}
|
}
|
||||||
|
empresa.setIndfechatarifa(rdgFechaVenta.isChecked());
|
||||||
|
|
||||||
empresa.setIndcarboletosdevolvidosconf(chkIndcarboletosdevolvidosconf.isChecked());
|
empresa.setIndcarboletosdevolvidosconf(chkIndcarboletosdevolvidosconf.isChecked());
|
||||||
|
|
||||||
|
@ -394,6 +407,7 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
||||||
public void onClick$btnAdicionarInscEstadual(Event ev) throws InterruptedException {
|
public void onClick$btnAdicionarInscEstadual(Event ev) throws InterruptedException {
|
||||||
Estado estado = (Estado) cmbEstadoInscEstadual.getSelectedItem().getValue();
|
Estado estado = (Estado) cmbEstadoInscEstadual.getSelectedItem().getValue();
|
||||||
String inscEstadual = txtInscEstadual.getValue();
|
String inscEstadual = txtInscEstadual.getValue();
|
||||||
|
|
||||||
String inscEstLogradouro = txtInscEstLogradouro.getValue();
|
String inscEstLogradouro = txtInscEstLogradouro.getValue();
|
||||||
String inscEstNumero = txtInscEstNumero.getValue();
|
String inscEstNumero = txtInscEstNumero.getValue();
|
||||||
String inscEstComplemento = txtInscEstComplemento.getValue();
|
String inscEstComplemento = txtInscEstComplemento.getValue();
|
||||||
|
@ -471,6 +485,7 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
||||||
this.btnRemoverInscEstadual = btnRemoverInscEstadual;
|
this.btnRemoverInscEstadual = btnRemoverInscEstadual;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void onSelect$cmbBanco() {
|
public void onSelect$cmbBanco() {
|
||||||
InstiFinanceira banco = (InstiFinanceira) cmbBanco.getSelectedItem().getValue();
|
InstiFinanceira banco = (InstiFinanceira) cmbBanco.getSelectedItem().getValue();
|
||||||
txtNomeBanco.setValue(banco.getNome());
|
txtNomeBanco.setValue(banco.getNome());
|
||||||
|
|
|
@ -128,10 +128,12 @@ public class EditarTotnaofiscalEmpresaController extends MyGenericForwardCompose
|
||||||
}
|
}
|
||||||
|
|
||||||
totnaofiscalEmpresa.setDescricao(txtDescricao.getText());
|
totnaofiscalEmpresa.setDescricao(txtDescricao.getText());
|
||||||
|
|
||||||
fiscalImpressoraService.suscribirActualizarTotnaofiscalEmpresa(totnaofiscalEmpresa);
|
fiscalImpressoraService.suscribirActualizarTotnaofiscalEmpresa(totnaofiscalEmpresa);
|
||||||
totnaofiscalEmpresaList.updateItem(totnaofiscalEmpresa);
|
totnaofiscalEmpresaList.updateItem(totnaofiscalEmpresa);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Messagebox.show(
|
Messagebox.show(
|
||||||
Labels.getLabel("editarTotnaofiscalEmpresaController.MSG.suscribirOK"),
|
Labels.getLabel("editarTotnaofiscalEmpresaController.MSG.suscribirOK"),
|
||||||
Labels.getLabel("editarTotnaofiscalEmpresaController.window.title"),
|
Labels.getLabel("editarTotnaofiscalEmpresaController.window.title"),
|
||||||
|
|
|
@ -798,6 +798,7 @@ editarEmpresaController.estado.label = Estado
|
||||||
editarEmpresaController.inscricaoestadual.label=Insc.Estadual
|
editarEmpresaController.inscricaoestadual.label=Insc.Estadual
|
||||||
editarEmpresaController.lhUFInscEstadual.label=UF
|
editarEmpresaController.lhUFInscEstadual.label=UF
|
||||||
editarEmpresaController.telefono.label = Teléfono
|
editarEmpresaController.telefono.label = Teléfono
|
||||||
|
|
||||||
editarEmpresaController.contaBancaria.label = Contas Bancárias
|
editarEmpresaController.contaBancaria.label = Contas Bancárias
|
||||||
editarEmpresaController.contaBancaria.instiFinanceira = Instituição Financeira
|
editarEmpresaController.contaBancaria.instiFinanceira = Instituição Financeira
|
||||||
editarEmpresaController.contaBancaria.conta = Número da Conta
|
editarEmpresaController.contaBancaria.conta = Número da Conta
|
||||||
|
|
|
@ -822,6 +822,9 @@ editarEmpresaController.equivalenciaElektraId.label = Equivalencia
|
||||||
editarEmpresaController.rfc.label = DOC
|
editarEmpresaController.rfc.label = DOC
|
||||||
editarEmpresaController.cnpj.label = CNPJ
|
editarEmpresaController.cnpj.label = CNPJ
|
||||||
editarEmpresaController.codantt.label = COD. ANTT
|
editarEmpresaController.codantt.label = COD. ANTT
|
||||||
|
editarEmpresaController.fechatarifa.label = Data da Tarifa
|
||||||
|
editarEmpresaController.fechaventa.label = Data da Venda
|
||||||
|
editarEmpresaController.fechasalida.label = Data da Viagem
|
||||||
editarEmpresaController.endereco.label = Endereço
|
editarEmpresaController.endereco.label = Endereço
|
||||||
editarEmpresaController.impostos.label = Impostos
|
editarEmpresaController.impostos.label = Impostos
|
||||||
editarEmpresaController.logradouro.label = Logradouro
|
editarEmpresaController.logradouro.label = Logradouro
|
||||||
|
@ -834,6 +837,7 @@ editarEmpresaController.estado.label = Estado
|
||||||
editarEmpresaController.inscricaoestadual.label=Insc.Estadual
|
editarEmpresaController.inscricaoestadual.label=Insc.Estadual
|
||||||
editarEmpresaController.lhUFInscEstadual.label=UF
|
editarEmpresaController.lhUFInscEstadual.label=UF
|
||||||
editarEmpresaController.telefono.label = Telefone
|
editarEmpresaController.telefono.label = Telefone
|
||||||
|
|
||||||
editarEmpresaController.contaBancaria.label = Contas Bancárias
|
editarEmpresaController.contaBancaria.label = Contas Bancárias
|
||||||
editarEmpresaController.contaBancaria.instiFinanceira = Instituição Financeira
|
editarEmpresaController.contaBancaria.instiFinanceira = Instituição Financeira
|
||||||
editarEmpresaController.contaBancaria.conta = Número da Conta
|
editarEmpresaController.contaBancaria.conta = Número da Conta
|
||||||
|
|
|
@ -81,6 +81,14 @@
|
||||||
value="@{winEditarEmpresa$composer.empresa.codantt}"
|
value="@{winEditarEmpresa$composer.empresa.codantt}"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||||
</row>
|
</row>
|
||||||
|
<row>
|
||||||
|
<label
|
||||||
|
value="${c:l('editarEmpresaController.fechatarifa.label')}" />
|
||||||
|
<radiogroup id="rdgFechaTarifa" >
|
||||||
|
<radio id="rdgFechaVenta" label="${c:l('editarEmpresaController.fechaventa.label')}"/>
|
||||||
|
<radio id="rdgFechaSalida" label="${c:l('editarEmpresaController.fechasalida.label')}"/>
|
||||||
|
</radiogroup>
|
||||||
|
</row>
|
||||||
<row id="rowEquivalencia">
|
<row id="rowEquivalencia">
|
||||||
<label
|
<label
|
||||||
value="${c:l('lb.Equivalencia')}" />
|
value="${c:l('lb.Equivalencia')}" />
|
||||||
|
|
|
@ -57,11 +57,23 @@
|
||||||
<listheader image="/gui/img/create_doc.gif"
|
<listheader image="/gui/img/create_doc.gif"
|
||||||
label="${c:l('busquedaTotnaofiscalEmpresaController.tipototalizador.label')}" sort="auto(tipototalizador)"/>
|
label="${c:l('busquedaTotnaofiscalEmpresaController.tipototalizador.label')}" sort="auto(tipototalizador)"/>
|
||||||
|
|
||||||
|
<<<<<<< .working
|
||||||
<listheader image="/gui/img/create_doc.gif"
|
<listheader image="/gui/img/create_doc.gif"
|
||||||
|
=======
|
||||||
|
|
||||||
|
<listheader image="/gui/img/create_doc.gif"
|
||||||
|
|
||||||
|
>>>>>>> .merge-right.r50239
|
||||||
label="${c:l('busquedaTotnaofiscalEmpresaController.descricao.label')}" sort="auto(descricao)"/>
|
label="${c:l('busquedaTotnaofiscalEmpresaController.descricao.label')}" sort="auto(descricao)"/>
|
||||||
|
|
||||||
|
<<<<<<< .working
|
||||||
|
<listheader image="/gui/img/create_doc.gif"
|
||||||
|
label="${c:l('busquedaTotnaofiscalEmpresaController.tipoeventoextra.label')}" sort="auto(tipoeventoextra.descTipoEvento)"/>
|
||||||
|
=======
|
||||||
|
|
||||||
<listheader image="/gui/img/create_doc.gif"
|
<listheader image="/gui/img/create_doc.gif"
|
||||||
label="${c:l('busquedaTotnaofiscalEmpresaController.tipoeventoextra.label')}" sort="auto(tipoeventoextra.descTipoEvento)"/>
|
label="${c:l('busquedaTotnaofiscalEmpresaController.tipoeventoextra.label')}" sort="auto(tipoeventoextra.descTipoEvento)"/>
|
||||||
|
>>>>>>> .merge-right.r50239
|
||||||
|
|
||||||
</listhead>
|
</listhead>
|
||||||
</listbox>
|
</listbox>
|
||||||
|
|
|
@ -67,7 +67,10 @@
|
||||||
value="@{winEditarTotnaofiscalEmpresa$composer.totnaofiscalEmpresa.descricao}"
|
value="@{winEditarTotnaofiscalEmpresa$composer.totnaofiscalEmpresa.descricao}"
|
||||||
constraint="no empty"/>
|
constraint="no empty"/>
|
||||||
</row>
|
</row>
|
||||||
|
<<<<<<< .working
|
||||||
|
|
||||||
|
=======
|
||||||
|
>>>>>>> .merge-right.r50239
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue