maia/.svn/pristine/20/2075be66fdea2a4a0752b6dad09...

52 lines
3.2 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="numdocumento" value="#{msg_armas.lbl_numeroDeDocumento}:" style="display:block;width:120px;"/>
<p:inputText id="numdocumento" value="#{reporteIngresoVentaArmExpUserController.numeroDocumento}" maxlength="13" style="width:160px;" required="true" readonly="true"/>
<p:spacer width="10"/>
<p:outputLabel for="txtRazonSocial" value="#{msg_armas.lbl_nombrerazonsocial}:" style="width:150px;display:block;"/>
<p:inputText id="txtRazonSocial" value="#{reporteIngresoVentaArmExpUserController.razonSocial}" maxlength="13" style="width:400px;" required="true" readonly="true"/>
<p:spacer width="10"/>
</h:panelGrid>
<h:panelGrid columns="6" >
<p:outputLabel for="fechaInicio" value="Fecha Inicio:" style="display:block;width:120px;"/>
<p:calendar id="fechaInicio" value="#{reporteIngresoVentaArmExpUserController.fechaInicio}" style="width:150px" showOn="button" navigator="true" pattern="#{msg_general.dateformat}" converter="converter.date" required="true" maxlength="10">
<p:ajax event="dateSelect" listener="#{reporteIngresoVentaArmExpUserController.cambioFechaDeCorte}" />
</p:calendar>
<p:message for="fechaInicio" />
<p:outputLabel for="fechaFin" value="Fecha Fin:" />
<p:calendar id="fechaFin" value="#{reporteIngresoVentaArmExpUserController.fechaFin}" style="width:150px" showOn="button" navigator="true" pattern="#{msg_general.dateformat}" converter="converter.date" required="true" maxlength="10">
<p:ajax event="dateSelect" listener="#{reporteIngresoVentaArmExpUserController.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="#{reporteIngresoVentaArmExpUserController.generateReport2()}"
ajax="false" process="@this" value="#{msg_armas.btn_generarReporte}" >
</p:commandButton>
</h:panelGrid>
</h:form>
</ui:define>
</ui:composition>