gleimar 2015-08-24 18:27:35 +00:00
parent a6f138c35d
commit 2b8d51c8e8
4 changed files with 13 additions and 5 deletions

View File

@ -32,6 +32,9 @@ public class RenderSegVKM implements ListitemRenderer {
lc = new Listcell(seg.getValor() == null ? "-" : seg.getValor().toString()); lc = new Listcell(seg.getValor() == null ? "-" : seg.getValor().toString());
lc.setParent(lstm); lc.setParent(lstm);
lc = new Listcell(seg.getOrgaoConcedente() == null ? "-" : seg.getOrgaoConcedente().getDescOrgao());
lc.setParent(lstm);
lstm.setAttribute("data", seg); lstm.setAttribute("data", seg);
} }

View File

@ -4651,6 +4651,7 @@ busquedaSegVKmController.btnCerrar.tooltiptext = Fechar
busquedaSegVKmController.serie.label = Série busquedaSegVKmController.serie.label = Série
busquedaSegVKmController.km.label = KM busquedaSegVKmController.km.label = KM
busquedaSegVKmController.valor.label = Valor busquedaSegVKmController.valor.label = Valor
busquedaSegVKmController.orgao.label = Órgão Concedente
# Editar SegVKM # Editar SegVKM
editarSegVKmController.window.title = Seguro VKM editarSegVKmController.window.title = Seguro VKM

View File

@ -4707,6 +4707,7 @@ busquedaSegVKmController.btnCerrar.tooltiptext = Fechar
busquedaSegVKmController.serie.label = Série busquedaSegVKmController.serie.label = Série
busquedaSegVKmController.km.label = KM busquedaSegVKmController.km.label = KM
busquedaSegVKmController.valor.label = Valor busquedaSegVKmController.valor.label = Valor
busquedaSegVKmController.orgao.label = Órgão Concedente
# Editar SegVKM # Editar SegVKM
editarSegVKmController.window.title = Seguro VKM editarSegVKmController.window.title = Seguro VKM

View File

@ -7,7 +7,7 @@
<zk xmlns="http://www.zkoss.org/2005/zul"> <zk xmlns="http://www.zkoss.org/2005/zul">
<window id="winBusquedaSegVKm" title="${c:l('busquedaSegVKmController.window.title')}" <window id="winBusquedaSegVKm" title="${c:l('busquedaSegVKmController.window.title')}"
apply="${busquedaSegVKMController}" contentStyle="overflow:auto" apply="${busquedaSegVKMController}" contentStyle="overflow:auto"
height="450px" width="500px" border="normal" > height="450px" width="600px" border="normal" >
<toolbar> <toolbar>
<button id="btnRefresh" image="/gui/img/refresh.png" width="35px" <button id="btnRefresh" image="/gui/img/refresh.png" width="35px"
tooltiptext="${c:l('busquedaSegVKmController.btnRefresh.tooltiptext')}" /> tooltiptext="${c:l('busquedaSegVKmController.btnRefresh.tooltiptext')}" />
@ -41,18 +41,21 @@
<listbox id="segVKmList" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox" <listbox id="segVKmList" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
multiple="false"> multiple="false">
<listhead sizable="true"> <listhead sizable="true">
<listheader width="50px" image="/gui/img/builder.gif" <listheader width="10%" image="/gui/img/builder.gif"
label="${c:l('lb.id')}" label="${c:l('lb.id')}"
sort="auto(segVKMId)"/> sort="auto(segVKMId)"/>
<listheader image="/gui/img/builder.gif" <listheader width="20%" image="/gui/img/builder.gif"
label="${c:l('busquedaSegVKmController.serie.label')}" label="${c:l('busquedaSegVKmController.serie.label')}"
sort="auto(serie)"/> sort="auto(serie)"/>
<listheader image="/gui/img/builder.gif" <listheader width="20%" image="/gui/img/builder.gif"
label="${c:l('busquedaSegVKmController.km.label')}" label="${c:l('busquedaSegVKmController.km.label')}"
sort="auto(km)"/> sort="auto(km)"/>
<listheader image="/gui/img/builder.gif" <listheader width="20%" image="/gui/img/builder.gif"
label="${c:l('busquedaSegVKmController.valor.label')}" label="${c:l('busquedaSegVKmController.valor.label')}"
sort="auto(valor)"/> sort="auto(valor)"/>
<listheader width="30%" image="/gui/img/builder.gif"
label="${c:l('busquedaSegVKmController.orgao.label')}"
sort="auto(orgaoConcedente.descOrgao)"/>
</listhead> </listhead>
</listbox> </listbox>
</window> </window>