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"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
|
||||
<classpathentry combineaccessrules="false" kind="src" path="/WSTotvs"/>
|
||||
<classpathentry kind="lib" path="/LibreriasAdmVenta/integracaoReceitaDespesa.jar"/>
|
||||
|
||||
<classpathentry kind="output" path="build/classes"/>
|
||||
</classpath>
|
||||
|
|
|
@ -29,6 +29,7 @@ import org.zkoss.zul.Listcell;
|
|||
import org.zkoss.zul.Listitem;
|
||||
import org.zkoss.zul.ListitemRenderer;
|
||||
import org.zkoss.zul.Messagebox;
|
||||
import org.zkoss.zul.Radio;
|
||||
import org.zkoss.zul.Row;
|
||||
import org.zkoss.zul.Textbox;
|
||||
|
||||
|
@ -78,6 +79,8 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
|||
private MyTextbox txtNome;
|
||||
private MyTextbox txtCNPJ;
|
||||
private MyTextbox txtCodantt;
|
||||
private Radio rdgFechaVenta;
|
||||
private Radio rdgFechaSalida;
|
||||
private MyListbox empresaImpostoList;
|
||||
private List<EmpresaImposto> lsEmpresaImposto;
|
||||
private Button btnApagar;
|
||||
|
@ -97,6 +100,7 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
|||
private MyTextbox txtInscEstadual;
|
||||
private Button btnRemoverInscEstadual;
|
||||
|
||||
|
||||
private List<InstiFinanceira> lsBanco;
|
||||
private Combobox cmbBanco;
|
||||
private Textbox txtNomeBanco;
|
||||
|
@ -164,6 +168,14 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
|||
lsBanco = instFinanceiraService.obtenerTodos();
|
||||
|
||||
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>();
|
||||
empresaContaBancariaList.setItemRenderer(new RenderEmpresaContaBancaria());
|
||||
|
@ -255,6 +267,7 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
|||
if (empresa.getIndExterna() == null) {
|
||||
empresa.setIndExterna(Boolean.FALSE);
|
||||
}
|
||||
empresa.setIndfechatarifa(rdgFechaVenta.isChecked());
|
||||
|
||||
empresa.setIndcarboletosdevolvidosconf(chkIndcarboletosdevolvidosconf.isChecked());
|
||||
|
||||
|
@ -394,6 +407,7 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
|||
public void onClick$btnAdicionarInscEstadual(Event ev) throws InterruptedException {
|
||||
Estado estado = (Estado) cmbEstadoInscEstadual.getSelectedItem().getValue();
|
||||
String inscEstadual = txtInscEstadual.getValue();
|
||||
|
||||
String inscEstLogradouro = txtInscEstLogradouro.getValue();
|
||||
String inscEstNumero = txtInscEstNumero.getValue();
|
||||
String inscEstComplemento = txtInscEstComplemento.getValue();
|
||||
|
@ -471,6 +485,7 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
|||
this.btnRemoverInscEstadual = btnRemoverInscEstadual;
|
||||
}
|
||||
|
||||
|
||||
public void onSelect$cmbBanco() {
|
||||
InstiFinanceira banco = (InstiFinanceira) cmbBanco.getSelectedItem().getValue();
|
||||
txtNomeBanco.setValue(banco.getNome());
|
||||
|
@ -689,4 +704,4 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
|||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -128,8 +128,10 @@ public class EditarTotnaofiscalEmpresaController extends MyGenericForwardCompose
|
|||
}
|
||||
|
||||
totnaofiscalEmpresa.setDescricao(txtDescricao.getText());
|
||||
|
||||
fiscalImpressoraService.suscribirActualizarTotnaofiscalEmpresa(totnaofiscalEmpresa);
|
||||
totnaofiscalEmpresaList.updateItem(totnaofiscalEmpresa);
|
||||
|
||||
|
||||
|
||||
Messagebox.show(
|
||||
|
|
|
@ -25,7 +25,7 @@ public class TotnaofiscalEmpresaListItemRenderer implements ListitemRenderer {
|
|||
Listcell descricaoCell = new Listcell(totnaofiscalEmpresa.getDescricao());
|
||||
descricaoCell.setParent(listItem);
|
||||
|
||||
|
||||
|
||||
TipoEventoExtra tipoEventoExtra = totnaofiscalEmpresa.getTipoeventoextra();
|
||||
Listcell tipoeventoextraCell = new Listcell((tipoEventoExtra != null)?tipoEventoExtra.toString():"");
|
||||
tipoeventoextraCell.setParent(listItem);
|
||||
|
|
|
@ -798,6 +798,7 @@ editarEmpresaController.estado.label = Estado
|
|||
editarEmpresaController.inscricaoestadual.label=Insc.Estadual
|
||||
editarEmpresaController.lhUFInscEstadual.label=UF
|
||||
editarEmpresaController.telefono.label = Teléfono
|
||||
|
||||
editarEmpresaController.contaBancaria.label = Contas Bancárias
|
||||
editarEmpresaController.contaBancaria.instiFinanceira = Instituição Financeira
|
||||
editarEmpresaController.contaBancaria.conta = Número da Conta
|
||||
|
|
|
@ -822,6 +822,9 @@ editarEmpresaController.equivalenciaElektraId.label = Equivalencia
|
|||
editarEmpresaController.rfc.label = DOC
|
||||
editarEmpresaController.cnpj.label = CNPJ
|
||||
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.impostos.label = Impostos
|
||||
editarEmpresaController.logradouro.label = Logradouro
|
||||
|
@ -834,6 +837,7 @@ editarEmpresaController.estado.label = Estado
|
|||
editarEmpresaController.inscricaoestadual.label=Insc.Estadual
|
||||
editarEmpresaController.lhUFInscEstadual.label=UF
|
||||
editarEmpresaController.telefono.label = Telefone
|
||||
|
||||
editarEmpresaController.contaBancaria.label = Contas Bancárias
|
||||
editarEmpresaController.contaBancaria.instiFinanceira = Instituição Financeira
|
||||
editarEmpresaController.contaBancaria.conta = Número da Conta
|
||||
|
|
|
@ -81,6 +81,14 @@
|
|||
value="@{winEditarEmpresa$composer.empresa.codantt}"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||
</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">
|
||||
<label
|
||||
value="${c:l('lb.Equivalencia')}" />
|
||||
|
|
|
@ -57,11 +57,23 @@
|
|||
<listheader image="/gui/img/create_doc.gif"
|
||||
label="${c:l('busquedaTotnaofiscalEmpresaController.tipototalizador.label')}" sort="auto(tipototalizador)"/>
|
||||
|
||||
<<<<<<< .working
|
||||
<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)"/>
|
||||
|
||||
<<<<<<< .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"
|
||||
label="${c:l('busquedaTotnaofiscalEmpresaController.tipoeventoextra.label')}" sort="auto(tipoeventoextra.descTipoEvento)"/>
|
||||
>>>>>>> .merge-right.r50239
|
||||
|
||||
</listhead>
|
||||
</listbox>
|
||||
|
|
|
@ -67,7 +67,10 @@
|
|||
value="@{winEditarTotnaofiscalEmpresa$composer.totnaofiscalEmpresa.descricao}"
|
||||
constraint="no empty"/>
|
||||
</row>
|
||||
<<<<<<< .working
|
||||
|
||||
=======
|
||||
>>>>>>> .merge-right.r50239
|
||||
</rows>
|
||||
</grid>
|
||||
|
||||
|
|
Loading…
Reference in New Issue