Correção de erro em tela de cadastro de totalizadores.

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@45191 d1611594-4594-4d17-8e1d-87c2c4800839
master
thiago 2015-06-19 19:38:23 +00:00
parent c35a6cb898
commit c3ae7dd71a
4 changed files with 0 additions and 26 deletions

View File

@ -123,8 +123,6 @@ public class EditarTotnaofiscalEmpresaController extends MyGenericForwardCompose
}
totnaofiscalEmpresa.setDescricao(txtDescricao.getText());
totnaofiscalEmpresa.setIndice(StringUtils.leftPad(txtIndice.getText(), 2, "0"));
totnaofiscalEmpresa.setIndimportar(chkImportarImp.isChecked());
totnaofiscalEmpresa.setActivo(true);
totnaofiscalEmpresa.setFecmodif(Calendar.getInstance().getTime());

View File

@ -22,14 +22,9 @@ public class TotnaofiscalEmpresaListItemRenderer implements ListitemRenderer {
Listcell tipoTotalizadorCell = new Listcell(totnaofiscalEmpresa.getTipototalizador());
tipoTotalizadorCell.setParent(listItem);
Listcell indiceCell = new Listcell(totnaofiscalEmpresa.getIndice());
indiceCell.setParent(listItem);
Listcell descricaoCell = new Listcell(totnaofiscalEmpresa.getDescricao());
descricaoCell.setParent(listItem);
Listcell indimportarCell = new Listcell((totnaofiscalEmpresa.getIndimportar())?"Sim":"Năo");
indimportarCell.setParent(listItem);
TipoEventoExtra tipoEventoExtra = totnaofiscalEmpresa.getTipoeventoextra();
Listcell tipoeventoextraCell = new Listcell((tipoEventoExtra != null)?tipoEventoExtra.toString():"");

View File

@ -61,15 +61,9 @@
<listheader image="/gui/img/create_doc.gif" align="right"
label="${c:l('busquedaTotnaofiscalEmpresaController.tipototalizador.label')}" sort="auto(tipototalizador)"/>
<listheader image="/gui/img/create_doc.gif" align="right"
label="${c:l('busquedaTotnaofiscalEmpresaController.indice.label')}" sort="auto(indice)" width="10%"/>
<listheader image="/gui/img/create_doc.gif" align="right"
label="${c:l('busquedaTotnaofiscalEmpresaController.descricao.label')}" sort="auto(descricao)"/>
<listheader image="/gui/img/create_doc.gif" align="right"
label="${c:l('busquedaTotnaofiscalEmpresaController.indimportar.label')}" sort="auto(indimportar)" width="7%"/>
<listheader image="/gui/img/create_doc.gif" align="right"
label="${c:l('busquedaTotnaofiscalEmpresaController.tipoeventoextra.label')}" sort="auto(tipoeventoextra)"/>

View File

@ -58,14 +58,6 @@
selectedItem="@{winEditarTotnaofiscalEmpresa$composer.totnaofiscalEmpresa.tipoeventoextra}"/>
</row>
<row>
<label value="${c:l('busquedaTotnaofiscalEmpresaController.indice.label')}" />
<textbox id="txtIndice" width="30px"
maxlength="2"
value="@{winEditarTotnaofiscalEmpresa$composer.totnaofiscalEmpresa.indice}"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
constraint="no empty"/>
</row>
<row>
<label value="${c:l('busquedaTotnaofiscalEmpresaController.descricao.label')}" />
<textbox id="txtDescricao" width="300px"
@ -75,11 +67,6 @@
constraint="no empty"/>
</row>
<row>
<label value="${c:l('busquedaTotnaofiscalEmpresaController.indimportar.label')}" />
<checkbox id="chkImportarImp"
checked="@{winEditarTotnaofiscalEmpresa$composer.totnaofiscalEmpresa.indimportar}" />
</row>
</rows>
</grid>