Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:p="http://primefaces.org/ui"
- xmlns:j="http://jleaf.org/faces" xmlns:jl="http://java.sun.com/jsf/composite/jlcomponents">
- <ui:composition template="/WEB-INF/layouts/base.xhtml">
- <ui:define name="headPart">
- <link href="${request.contextPath}/jleaf.resource/org/jleaf/erp/fin/web/resources/css/style.css" type="text/css"
- rel="stylesheet" />
- <j:lang id="lang" prefix="org.jleaf.erp.fin.web" />
- <title>#{piece['reportTaggingPoInternalSoIgs']}</title>
- <script src="${request.contextPath}/jleaf.resource/org/jleaf/erp/fin/web/resources/js/general.js" />
- <script>
- $(document).ready(function() {
- doSelectOu();
- });
- </script>
- </ui:define>
- <ui:define name="contentPart">
- <j:authorize task="downloadReportTaggingPoInternalSoIgs" forbidden="true">
- <input type="hidden" value="#{reportTaggingPoInternalSoIgsController}" />
- <div class="page_title">
- <span>#{piece['reportTaggingPoInternalSoIgs']}</span>
- </div>
- <p:messages id="messages" autoUpdate="true" />
- <p:remoteCommand name="doSelectOu" process=":rootform:comboPoInternalOu:comboPoInternalOu :rootform:comboSoOu:comboSoOu" />
- <p:spacer height="10px" />
- <p:panel>
- <h:panelGrid columns="4" style="width: 500px">
- <h:outputText value="#{piece['filterBy']}" />
- <h:outputText/>
- <h:outputText/>
- <h:outputText/>
- <p:selectOneMenu id="filterBy" value="#{filterBean.data['filterBy']}">
- <f:selectItem itemValue="PO Internal" itemLabel="#{piece['poInternal']}" />
- <f:selectItem itemValue="Sales Order" itemLabel="#{piece['salesOrder']}" />
- <p:ajax ajax="true"
- listener="#{reportTaggingPoInternalSoIgsController.onFilterByChanged}"
- update=":rootform:ou"/>
- </p:selectOneMenu>
- <h:outputText/>
- <h:outputText/>
- <h:outputText/>
- <h:outputText value="#{piece['ouBusinessUnit']}" />
- <h:outputText value="#{piece['docNo']}" />
- <h:outputText value="#{piece['year']}" />
- <h:outputText value="#{piece['month']}" />
- <h:panelGrid columns="2" id="ou">
- <jl:comboBox id="comboPoInternalOu" value="#{filterBean.data['poInternalOu']}"
- taskName="system" comboName="authorizedOUMainBu"
- args=",,Y" itemLabel="#{item['code']} / #{item['name']}"
- rendered="#{filterBean.data['filterBy'] == 'PO Internal'}" />
- <jl:comboBox id="comboSoOu" value="#{filterBean.data['soOu']}" taskName="system"
- comboName="authorizedOUMainBuOrBranch" args=",,Y" itemLabel="#{item['name']}"
- rendered="#{filterBean.data['filterBy'] == 'Sales Order'}" />
- </h:panelGrid>
- <p:inputText value="#{filterBean.data['docNo']}" />
- <p:spinner id="year" size="4" maxlength="4" value="#{filterBean.data['year']}" min="1900" max="2999"/>
- <p:selectOneMenu id="month" value="#{filterBean.data['month']}">
- <f:selectItem itemValue="01" itemLabel="#{piece['january']}" />
- <f:selectItem itemValue="02" itemLabel="#{piece['february']}" />
- <f:selectItem itemValue="03" itemLabel="#{piece['march']}" />
- <f:selectItem itemValue="04" itemLabel="#{piece['april']}" />
- <f:selectItem itemValue="05" itemLabel="#{piece['may']}" />
- <f:selectItem itemValue="06" itemLabel="#{piece['june']}" />
- <f:selectItem itemValue="07" itemLabel="#{piece['july']}" />
- <f:selectItem itemValue="08" itemLabel="#{piece['august']}" />
- <f:selectItem itemValue="09" itemLabel="#{piece['september']}" />
- <f:selectItem itemValue="10" itemLabel="#{piece['october']}" />
- <f:selectItem itemValue="11" itemLabel="#{piece['november']}" />
- <f:selectItem itemValue="12" itemLabel="#{piece['december']}" />
- </p:selectOneMenu>
- <p:spacer height="10px"/>
- <h:outputText/>
- <h:outputText/>
- <h:outputText/>
- <p:commandButton value="#{piece['download']}" actionListener="#{reportTaggingPoInternalSoIgsController.doDownload()}"
- ajax="true" />
- <h:outputText />
- </h:panelGrid>
- </p:panel>
- </j:authorize>
- </ui:define>
- </ui:composition>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement