54 lines
3.1 KiB
Plaintext
Executable File
54 lines
3.1 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="#{reporteLiquidacionEconomicaController}"
|
|
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="3" >
|
|
<p:outputLabel for="unidad" value="#{msg_armas.lbl_unidad}:" style="display:block;width:120px;"/>
|
|
<p:selectOneMenu id="unidad" value="#{reporteLiquidacionEconomicaController.idCentroControl}"
|
|
var="p" style="width:220px" panelStyle="width:220px" required="true">
|
|
<f:selectItem itemLabel="" itemValue="" />
|
|
<f:selectItem itemLabel="TODOS" itemValue="TODOS" />
|
|
<f:selectItems value="#{reporteLiquidacionEconomicaController.centroControlList}" var="vmod" itemLabel="#{vmod.modifiedData['desnombreinstitucion']}" itemValue="#{vmod.pk}" />
|
|
</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="#{reporteLiquidacionEconomicaController.fechaInicio}" style="width:150px" showOn="button" navigator="true" pattern="#{msg_general.dateformat}" converter="converter.date" required="true" maxlength="10">
|
|
<p:ajax event="dateSelect" listener="#{reporteLiquidacionEconomicaController.cambioFechaDeCorte}" />
|
|
</p:calendar>
|
|
<p:message for="fechaInicio" />
|
|
<p:outputLabel for="fechaFin" value="Fecha Fin:" />
|
|
<p:calendar id="fechaFin" value="#{reporteLiquidacionEconomicaController.fechaFin}" style="width:150px" showOn="button" navigator="true" pattern="#{msg_general.dateformat}" converter="converter.date" required="true" maxlength="10">
|
|
<p:ajax event="dateSelect" listener="#{reporteLiquidacionEconomicaController.cambioFechaDeCorte}" />
|
|
</p:calendar>
|
|
<p:message for="fechaFin" />
|
|
</h:panelGrid>
|
|
</p:panelGrid>
|
|
<h:panelGrid columns="7" id="controls" styleClass="m-controls">
|
|
<p:commandButton id="btnGenerarReporte" actionListener="#{reporteLiquidacionEconomicaController.generateReport()}"
|
|
ajax="false" process="@this" value="#{msg_armas.btn_generarReporte}" >
|
|
</p:commandButton>
|
|
</h:panelGrid>
|
|
</h:form>
|
|
|
|
</ui:define>
|
|
</ui:composition> |