116 lines
6.3 KiB
Plaintext
Executable File
116 lines
6.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="#{reporteDestruccionArmasController}"
|
|
queryProcess=":formTable:filters"
|
|
queryUpdate=":formTable:dt-table"
|
|
focusContainer=":formTable:filters"
|
|
saveProcess=""
|
|
saveUpdate="" />
|
|
|
|
<p:panelGrid id="filters" columns="1" styleClass="m-filters"
|
|
style="padding-right: 200px;">
|
|
<f:facet name="header">
|
|
<h:outputText value="#{msg_general.lbl_filters}" />
|
|
</f:facet>
|
|
<h:panelGrid columns="3" style="font-weight: bold;color: rgb(90, 78, 78);" id="transaccion">
|
|
<p:outputLabel for="fpkTransaccion" value="#{msg_armas.lbl_numerotransaccion}:" style="display:block;width:200px;"/>
|
|
<p:inputText id="fpkTransaccion"
|
|
value="#{reporteDestruccionArmasController.numeroTransaccionEnvio}"
|
|
maxlength="14" style="width: 200px;" disabled="true"/>
|
|
<p:message for="fpkTransaccion" />
|
|
|
|
<p:outputLabel for="fechaCorte" value="#{msg_armas.lbl_fechaDeCorte}:" style="display:block;width:200px;"/>
|
|
<p:calendar id="fechaCorte" value="#{reporteDestruccionArmasController.fechaCorte}"
|
|
pattern="#{msg_general.dateformat}" disabled="true" size="30" >
|
|
<f:converter converterId="converter.date" for="fechaCorte"/>
|
|
</p:calendar>
|
|
<p:message for="fechaCorte" />
|
|
|
|
<p:outputLabel for="centroControl" value="#{msg_armas.lbl_organismocontrol}:" style="width:200px;"/>
|
|
<p:inputText id="centroControl" value="#{reporteDestruccionArmasController.institucionCentroControl}" disabled="true" style="width:350px;"/>
|
|
<p:message for="centroControl" />
|
|
|
|
<p:outputLabel for="unidadControl" value="#{msg_armas.lbl_unidadcontrol}:" style="width:200px;"/>
|
|
<p:inputText id="unidadControl" value="#{reporteDestruccionArmasController.institucionUnidadControl}" disabled="true" style="width:350px;"/>
|
|
<p:message for="unidadControl" />
|
|
</h:panelGrid>
|
|
</p:panelGrid>
|
|
|
|
<h:panelGrid columns="7" id="controls" styleClass="m-controls">
|
|
|
|
<maia:pageControls controller="#{reporteDestruccionArmasController}"
|
|
queryProcess=":formTable:filters "
|
|
queryUpdate=":formTable:dt-table, :formTable:filters, :formTable:fpkTransaccion"
|
|
createProcess=""
|
|
saveProcess=":formTable:filters"
|
|
saveUpdate=":formTable:filters, :formTable:dt-table, :formTable:fpkTransaccion"
|
|
createUpdate=":formTable:fpkTransaccion"
|
|
dialogWidgetVar=""
|
|
showCreateBtn = "false"
|
|
showSaveBtn = "false"
|
|
showQueryBtn = "false" showNextBtn="false" showPreviousBtn="false"/>
|
|
<maia:commentsBpmButton id="idBtnBpm" idPopup="idCommentsBpm" value="#{msg_armas.btn_enviar}" rendered="true"/>
|
|
</h:panelGrid>
|
|
|
|
<p:panelGrid id="data-content" columns="1" styleClass="m-data-content" style="text-align: center;">
|
|
<f:facet name="header">
|
|
<h:outputText value="#{msg_armas.htbl_detalledelmaterialm}" />
|
|
</f:facet>
|
|
<p:dataTable id="dt-table" var="row" value="#{reporteDestruccionArmasController.lrecord}"
|
|
rowIndexVar="index" rowKey="#{row.rowkey()}" selectionMode="single" style="width:100%"
|
|
paginator="true" paginatorPosition="top" rows="1000" paginatorTemplate=" {PreviousPageLink} {NextPageLink}" >
|
|
<p:column headerText="#{msg_armas.lbl_nodecomiso}" resizable="true" width="90">
|
|
<h:outputText value="#{row.modifiedData['numerotransaccion']}" />
|
|
</p:column>
|
|
<p:column headerText="#{msg_armas.lbl_codigo}" resizable="true" >
|
|
<h:outputText value="#{row.modifiedData['ncodigoarma']}" />
|
|
</p:column>
|
|
<p:column headerText="#{msg_armas.lbl_clase}" resizable="true" >
|
|
<h:outputText value="#{row.modifiedData['nclase']}" />
|
|
</p:column>
|
|
<p:column headerText="#{msg_armas.lbl_tipo2}" resizable="true" >
|
|
<h:outputText value="#{row.modifiedData['ntipo']}" />
|
|
</p:column>
|
|
<p:column headerText="#{msg_armas.lbl_calibre}" width="60" resizable="true" >
|
|
<h:outputText value="#{row.modifiedData['ncalibre']}" />
|
|
</p:column>
|
|
<p:column headerText="#{msg_armas.lbl_marca}" resizable="true" >
|
|
<h:outputText value="#{row.modifiedData['nmarca']}" />
|
|
</p:column>
|
|
<p:column headerText="#{msg_armas.lbl_serie}" resizable="true" >
|
|
<h:outputText value="#{row.modifiedData['nserie']}" />
|
|
</p:column>
|
|
<p:column headerText="#{msg_armas.lbl_cantidad}" resizable="true" >
|
|
<h:outputText value="#{row.cantidad}" />
|
|
</p:column>
|
|
<p:column headerText="#{msg_armas.lbl_uniMedida}" resizable="true" >
|
|
<h:outputText value="#{row.modifiedData['nunidad']}" />
|
|
</p:column>
|
|
<p:column headerText="#{msg_armas.lbl_fecDecimiso}" resizable="true" >
|
|
<h:outputText value="#{row.fdecomiso}" />
|
|
</p:column>
|
|
<p:column headerText="#{msg_armas.lbl_documento}" resizable="true" >
|
|
<h:outputText value="#{row.modifiedData['documento']}" />
|
|
</p:column>
|
|
<p:column headerText="#{msg_armas.lbl_nombrerazonsocial}" resizable="true" >
|
|
<h:outputText value="#{row.modifiedData['nrazons']}" />
|
|
</p:column>
|
|
<p:column headerText="#{msg_armas.lbl_noRecibo}" resizable="true" >
|
|
<h:outputText value="#{row.modifiedData['nrecibo']}" />
|
|
</p:column>
|
|
</p:dataTable>
|
|
</p:panelGrid>
|
|
|
|
</h:form>
|
|
<maia:commentBpmTask id="idCommentsBpm" controller="#{reporteDestruccionArmasController}" aprNegMod="false" aprNeg="true" aprMod="false" />
|
|
</ui:define>
|
|
</ui:composition> |