96 lines
5.2 KiB
HTML
96 lines
5.2 KiB
HTML
<ui:composition
|
|
xmlns="http://www.w3.org/1999/xhtml"
|
|
xmlns:h="http://java.sun.com/jsf/html"
|
|
xmlns:f="http://java.sun.com/jsf/core"
|
|
xmlns:ui="http://java.sun.com/jsf/facelets"
|
|
xmlns:p="http://primefaces.org/ui"
|
|
xmlns:pe="http://primefaces.org/ui/extensions"
|
|
xmlns:maia="http://java.sun.com/jsf/composite/maiaComponents"
|
|
template="/WEB-INF/templates/template.xhtml">
|
|
|
|
<ui:define name="content">
|
|
<h:form id="formTable">
|
|
<maia:pageEvents controller="#{reportePermisosVencerce}"
|
|
queryProcess=":formTable:filters"
|
|
queryUpdate=":formTable:permisosVencerce :formTable:data-content"
|
|
saveProcess=""
|
|
saveUpdate=""
|
|
focusContainer=":formTable:filters" />
|
|
|
|
<p:panelGrid id="filters" columns="5" styleClass="m-filters">
|
|
<f:facet name="header">
|
|
<h:outputText value="#{msg_general.lbl_filters}" />
|
|
</f:facet>
|
|
<p:outputLabel for="fechavencimiento" value="#{msg_armas.lbl_fechaCaducidad}:"/>
|
|
<p:calendar id="fechavencimiento" value="#{reportePermisosVencerceController.fechavencimiento}" maxlength="30" pattern="dd-MM-yyyy" disabled="false" required="true" size="27" onkeyup="Maia.forceupper(event, this);">
|
|
<p:ajax event="dateSelect" update="fechavencimiento" />
|
|
</p:calendar>
|
|
<p:outputLabel for="fautorizacion" value="#{msg_armas.lbl_jurisdiccion}:" />
|
|
|
|
<p:selectOneMenu id="fautorizacion" value="#{reportePermisosVencerceController.jurisdiccion}"
|
|
style="width:190px" required="true" disabled="#{!reportePermisosVencerceController.administrador}" >
|
|
|
|
<f:selectItem itemLabel="TODOS" itemValue="TODOS" />
|
|
<f:selectItems value="#{reportePermisosVencerceController.ljurisdicciones}" var="aut" itemLabel="#{aut.description}" itemValue="#{aut.pk.provincecode}"/>
|
|
</p:selectOneMenu>
|
|
|
|
|
|
|
|
</p:panelGrid>
|
|
|
|
<h:panelGrid columns="7" id="controls" styleClass="m-controls">
|
|
<maia:pageControls controller="#{reportePermisosVencerceController}"
|
|
queryProcess=":formTable:filters"
|
|
queryUpdate=":formTable:data-content"
|
|
createUpdate=""
|
|
dialogWidgetVar="" showCreateBtn="false" showSaveBtn="false"/>
|
|
|
|
<p:commandButton id="reporte" value="#{msg_armas.lbl_imprimir}" actionListener="#{reportePermisosVencerceController.generarReportePermisosVencerse()}" ajax="false" process="@this"/>
|
|
|
|
</h:panelGrid>
|
|
|
|
<p:panelGrid id="data-content" columns="1" styleClass="m-data-content">
|
|
<f:facet name="header">
|
|
<h:outputText value="#{msg_general.htbl_catalogdetail}" />
|
|
</f:facet>
|
|
<p:dataTable id="permisosVencerce" var="row" value="#{reportePermisosVencerceController.lrecord}"
|
|
rows="15" style="min-width: 500px; width: auto;" rowKey="#{row.rowkey()}" selectionMode="single">
|
|
|
|
<p:column headerText="#{msg_general.lbl_code}" >
|
|
<h:outputText value="#{row.pk}" />
|
|
</p:column>
|
|
|
|
<p:column headerText="#{msg_armas.lbl_tipotramite}" >
|
|
<h:outputText value="#{row.modifiedData['description']}" />
|
|
</p:column>
|
|
|
|
<p:column headerText="#{msg_armas.lbl_tipoautorizacion}" >
|
|
<h:outputText value="#{row.modifiedData['descriptionTipoAut']}" />
|
|
</p:column>
|
|
|
|
<p:column headerText="#{msg_general.lbl_category}">
|
|
<h:outputText value="#{row.modifiedData['descriptiontram']}" />
|
|
</p:column>
|
|
<p:column headerText="#{msg_armas.lbl_usoactividad}" >
|
|
<h:outputText value="#{row.modifiedData['descriptionact']}" />
|
|
</p:column>
|
|
|
|
<p:column headerText="#{msg_armas.lbl_fechaexpiracion}">
|
|
<h:outputText value="#{row.fechaexpiracion}" />
|
|
</p:column>
|
|
<p:column headerText="#{msg_armas.lbl_identificacion}" >
|
|
<h:outputText value="#{row.modifiedData['identificacion']}" />
|
|
</p:column>
|
|
<p:column headerText="#{msg_armas.lbl_nombre}" >
|
|
<h:outputText value="#{row.modifiedData['nombre']}" />
|
|
</p:column>
|
|
<p:column headerText="#{msg_armas.lbl_centroControl}" >
|
|
<h:outputText value="#{row.modifiedData['nombrecentro']}" />
|
|
</p:column>
|
|
</p:dataTable>
|
|
</p:panelGrid>
|
|
</h:form>
|
|
|
|
|
|
</ui:define>
|
|
</ui:composition> |