maia_modificado/.svn/pristine/7b/7b338e58d23bab5a349beb4d5af...

63 lines
2.8 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" xmlns:maia="http://java.sun.com/jsf/composite/maiaComponents">
<h:panelGrid columns="7" id="controls" styleClass="m-controls">
<maia:pageControls controller="#{auditReportController.safeAudit}"
queryProcess=":formTable:tabopciones:safeaudit" queryUpdate=":formTable:tabopciones:safeaudit"
dialogWidgetVar="dialog" showCreateBtn="false" showQueryBtn="false" showSaveBtn="false" />
</h:panelGrid>
<p:dataTable id="safeaudit" var="row" value="#{auditReportController.safeAudit.lrecord}" rows="10"
style="min-width: 500px; width: auto;" rowKey="#{row.rowkey()}" selectionMode="single" scrollable="true" scrollWidth="100%">
<p:column headerText="#{msg_general.lbl_date}" resizable="true" style="width:60px">
<h:outputText value="#{row.pk.changedate}" />
</p:column>
<p:column headerText="#{msg_general.lbl_realDate}" resizable="true" style="width:60px">
<h:outputText value="#{row.pk.realdate}">
</h:outputText>
</p:column>
<p:column headerText="#{msg_general.lbl_branch}" resizable="true" style="width:60px">
<h:outputText value="#{row.modifiedData['branchdesc']}" />
</p:column>
<p:column headerText="#{msg_general.lbl_office}" resizable="true" style="width:100px">
<h:outputText value="#{row.modifiedData['officedesc']}" />
</p:column>
<p:column headerText="#{msg_general.lbl_terminal}" resizable="true" style="width:60px">
<h:outputText value="#{row.terminalcode}" />
</p:column>
<p:column headerText="#{msg_general.lbl_usuario}" resizable="true" style="width:60px">
<h:outputText value="#{row.usercode}" />
</p:column>
<p:column headerText="#{msg_general.lbl_client}" resizable="true" style="width:60px">
<h:outputText value="#{row.modifiedData['personname']}" />
</p:column>
<p:column headerText="#{msg_general.lbl_transaction}" resizable="true" style="width:150px">
<h:outputText value="#{row.modifiedData['transactiondesc']}" />
</p:column>
<p:column headerText="#{msg_general.lbl_table}" resizable="true" style="width:120px">
<h:outputText value="#{row.pk.tablename}" />
</p:column>
<p:column headerText="#{msg_general.lbl_filed}" resizable="true" style="width:120px">
<h:outputText value="#{row.pk.columnname}" />
</p:column>
<p:column headerText="#{msg_general.lbl_previousvalue}" resizable="true" style="width:140px">
<h:outputText value="#{row.oldvalue}" />
</p:column>
<p:column headerText="#{msg_general.lbl_currentvalue}" resizable="true" style="width:140px">
<h:outputText value="#{row.newvalue}" />
</p:column>
</p:dataTable>
</ui:composition>