54 lines
3.3 KiB
Plaintext
Executable File
54 lines
3.3 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="#{reporteIngresoVentaArmExpController}"
|
|
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="txtTipoDocumento" value="#{msg_armas['lbl_tipodocumento']}:" style="width:150px;display:block;"/>
|
|
<p:selectOneMenu id="txtTipoDocumento" value="#{reporteIngresoVentaArmExpController.tipoDocumento}" required="true">
|
|
<f:selectItems value="#{reporteIngresoVentaArmExpController.ltipoidenti}" var="tipoidentificacion" itemLabel="#{tipoidentificacion.description}" itemValue="#{tipoidentificacion.pk.catalog}"/>
|
|
</p:selectOneMenu>
|
|
<p:spacer width="10"/>
|
|
<p:outputLabel for="numdocumento" value="#{msg_armas.lbl_numeroDeDocumento}:" style="display:block;width:120px;"/>
|
|
<p:inputText id="numdocumento" value="#{reporteIngresoVentaArmExpController.numeroDocumento}" maxlength="13" style="width:160px;" required="true"/>
|
|
<p:message for="numdocumento" />
|
|
</h:panelGrid>
|
|
<h:panelGrid columns="6" >
|
|
<p:outputLabel for="fechaInicio" value="Fecha Inicio:" style="display:block;width:120px;"/>
|
|
<p:calendar id="fechaInicio" value="#{reporteIngresoVentaArmExpController.fechaInicio}" style="width:150px" showOn="button" navigator="true" pattern="#{msg_general.dateformat}" converter="converter.date" required="true" maxlength="10">
|
|
<p:ajax event="dateSelect" listener="#{reporteIngresoVentaArmExpController.cambioFechaDeCorte}" />
|
|
</p:calendar>
|
|
<p:message for="fechaInicio" />
|
|
<p:outputLabel for="fechaFin" value="Fecha Fin:" />
|
|
<p:calendar id="fechaFin" value="#{reporteIngresoVentaArmExpController.fechaFin}" style="width:150px" showOn="button" navigator="true" pattern="#{msg_general.dateformat}" converter="converter.date" required="true" maxlength="10">
|
|
<p:ajax event="dateSelect" listener="#{reporteIngresoVentaArmExpController.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="#{reporteIngresoVentaArmExpController.generateReport2()}"
|
|
ajax="false" process="@this" value="#{msg_armas.btn_generarReporte}" >
|
|
</p:commandButton>
|
|
</h:panelGrid>
|
|
</h:form>
|
|
|
|
</ui:define>
|
|
</ui:composition> |