102 lines
6.4 KiB
Plaintext
Executable File
102 lines
6.4 KiB
Plaintext
Executable File
<ui:composition
|
|
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"
|
|
template="/WEB-INF/templates/template.xhtml"
|
|
xmlns:maia="http://java.sun.com/jsf/composite/maiaComponents">
|
|
<ui:define name="content">
|
|
|
|
<h:form id="formTable">
|
|
<maia:pageEvents controller="#{ReporteAutorizacionesController}"
|
|
queryProcess=":formTable:filters"
|
|
queryUpdate=":formTable:filters"
|
|
focusContainer=":formTable:filters"
|
|
saveProcess=":formTable:filters"
|
|
saveUpdate=":formTable:controls, :formTable:filters" />
|
|
|
|
<p:panelGrid id="filters" columns="1" styleClass="m-filters">
|
|
<f:facet name="header">
|
|
<h:outputText value="#{msg_general.lbl_filters}" />
|
|
</f:facet>
|
|
<h:panelGrid columns="6" >
|
|
<p:outputLabel for="txtLovTipoTramite" value="#{msg_armas['lbl_tipotramite']}:" style="display:block;width:120px;"/>
|
|
<p:inputText id="txtLovTipoTramite" value="#{reporteAutorizacionesController.solicitud.mfilelds['tipoTramite']}" disabled="true" required="true" style="width:220px;" />
|
|
<p:commandButton icon="ui-icon-link" styleClass="m-lov-button" actionListener="#{reporteAutorizacionesController.openLovTramite}" immediate="true" process="@this" update="@this" >
|
|
<p:ajax event="dialogReturn" listener="#{reporteAutorizacionesController.onReturnTramite}" process="@this" update="txtLovTipoTramite filters " immediate="true"/>
|
|
</p:commandButton>
|
|
<p:message for="txtLovTipoTramite" />
|
|
</h:panelGrid>
|
|
<h:panelGrid columns="2" >
|
|
<p:outputLabel for="txtLovTramite" value="#{msg_armas['lbl_tramite']}:" style="width:120px;display:block;"/>
|
|
<p:inputText id="txtLovTramite" value="#{reporteAutorizacionesController.solicitud.mfilelds['tipoAutorizacion']}" disabled="true" required="true" style="width:500px;"/>
|
|
<p:outputLabel for="txtLovCategoria" value="#{msg_armas['lbl_categoria']}:" style="width:120px;display:block;"/>
|
|
<p:inputText id="txtLovCategoria" disabled="true" value="#{reporteAutorizacionesController.solicitud.mfilelds['categoria']}" required="true" style="width:500px;"/>
|
|
<p:outputLabel for="txtLovActividad" value="#{msg_armas['lbl_usoActividad']}:" style="width:120px;display:block;"/>
|
|
<p:inputText id="txtLovActividad" disabled="true" value="#{reporteAutorizacionesController.solicitud.mfilelds['actividad']}" required="true" style="width:500px;"/>
|
|
|
|
</h:panelGrid>
|
|
|
|
<h:panelGrid columns="6" >
|
|
|
|
<p:outputLabel for="control" value="#{msg_armas.lbl_centroControl}:" style="display:block;width:120px;"/>
|
|
<p:selectOneMenu id="control" value="#{reporteAutorizacionesController.idControl}"
|
|
var="p" style="width:220px" panelStyle="width:220px" >
|
|
|
|
<f:selectItem itemLabel="TODOS" itemValue="TODOS" />
|
|
<f:selectItems value="#{reporteAutorizacionesController.controlList}" var="id"
|
|
itemLabel="#{id.description}" itemValue="#{id.pk.catalog}" />
|
|
</p:selectOneMenu>
|
|
<p:message for="control" />
|
|
<p:outputLabel for="unidad" value="#{msg_armas.lbl_estadoDocumento}:" style="display:block;width:120px;"/>
|
|
<p:selectOneMenu id="unidad" value="#{reporteAutorizacionesController.idCentroControl}"
|
|
var="p" style="width:220px" panelStyle="width:220px" >
|
|
|
|
<f:selectItem itemLabel="TODOS" itemValue="TODOS" />
|
|
<f:selectItems value="#{reporteAutorizacionesController.centroControlList}" var="id"
|
|
itemLabel="#{id.description}" itemValue="#{id.pk.catalog}" />
|
|
|
|
</p:selectOneMenu>
|
|
<p:message for="unidad" />
|
|
|
|
</h:panelGrid>
|
|
|
|
<h:panelGrid columns="6" >
|
|
<p:outputLabel for="fechaInicio" value="Fecha Inicio:" style="display:block;width:120px;"/>
|
|
<p:calendar id="fechaInicio" value="#{reporteAutorizacionesController.fechaInicio}" style="width:220px" showOn="button" navigator="true" pattern="#{msg_general.dateformat}" converter="converter.date" maxlength="10">
|
|
<p:ajax event="dateSelect" listener="#{reporteAutorizacionesController.cambioFechaDeCorte}" />
|
|
</p:calendar>
|
|
<p:message for="fechaInicio" />
|
|
<p:outputLabel for="fechaFin" value="Fecha Fin:" />
|
|
<p:calendar id="fechaFin" value="#{reporteAutorizacionesController.fechaFin}" style="width:220px" showOn="button" navigator="true" pattern="#{msg_general.dateformat}" converter="converter.date" maxlength="10">
|
|
<p:ajax event="dateSelect" listener="#{reporteAutorizacionesController.cambioFechaDeCorte}" />
|
|
</p:calendar>
|
|
<p:message for="fechaFin" />
|
|
</h:panelGrid>
|
|
<h:panelGrid columns="6" >
|
|
<p:outputLabel for="identificacion" value="#{msg_armas.lbl_tipoidentiicacion}:" style="display:block;width:120px;"/>
|
|
<p:selectOneMenu id="identificacion" value="#{reporteAutorizacionesController.idIdentificacion}"
|
|
var="p" style="width:220px" panelStyle="width:220px" >
|
|
|
|
<f:selectItem itemLabel="TODOS" itemValue="TODOS" />
|
|
<f:selectItems value="#{reporteAutorizacionesController.tipoDocumentoList}" var="id"
|
|
itemLabel="#{id.description}" itemValue="#{id.pk.catalog}" />
|
|
</p:selectOneMenu>
|
|
<p:message for="identificacion" />
|
|
<p:spacer width="10"/>
|
|
<p:outputLabel for="numdocumento" value="#{msg_armas.lbl_numeroDeDocumento}:" style="display:block;width:120px;"/>
|
|
<p:inputText id="numdocumento" value="#{reporteAutorizacionesController.numeroDocumento}" maxlength="13" style="width:220px;" />
|
|
<p:message for="numdocumento" />
|
|
</h:panelGrid>
|
|
</p:panelGrid>
|
|
|
|
<h:panelGrid columns="7" id="controls" styleClass="m-controls">
|
|
<p:commandButton id="btnGenerarReporte" actionListener="#{reporteAutorizacionesController.generateReport()}"
|
|
ajax="false" process="@this" value="#{msg_armas.btn_generarReporte}" >
|
|
</p:commandButton>
|
|
</h:panelGrid>
|
|
</h:form>
|
|
|
|
</ui:define>
|
|
</ui:composition> |