-
-
Save vanrysss/8a3634f99e029338368d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <apex:page controller="IntegratedOrdersReportController" docType="html-5.0"> | |
| <apex:pageBlock title="Integrated Orders Report"> | |
| <div align="right"> | |
| <apex:outputLink value="{!$Page.IntegratedOrdersExcelExport}" >Export Details | |
| <apex:param name="startDate" | |
| value="{!startDate}" | |
| assignTo="{!startDate}"/> | |
| <apex:param name="endDate" | |
| value="{!endDate}" | |
| assignTo="{!endDate}"/> | |
| </apex:outputLink> | |
| </div> | |
| <apex:form > | |
| <pageBlockSectionItem> | |
| <apex:outputLabel value="Start Date: "/> | |
| <apex:input type="date" value="{!startDate}" label="Start Date: "/> | |
| </pageBlockSectionItem> | |
| <pageBlockSectionItem> | |
| <apex:outputLabel value="End Date: "/> | |
| <apex:input type="date" value="{!endDate}" label="End Date: "/> | |
| </pageBlockSectionItem> | |
| <apex:commandButton value="Compute" action="{!computeOrders}" reRender="orderTable" /> | |
| </apex:form> | |
| <apex:pageBlockTable value="{!mergedOrders}" var="order" id="orderTable"> | |
| <apex:column value="{!order.orderNumber}" headerValue="Order Number"/> | |
| <apex:column value="{!order.shippedDate}" headerValue="Shipped Date"/> | |
| <apex:column value="{!order.quantityInIDS}" headerValue="Quantity In IDS"/> | |
| <apex:column value="{!order.quantityInSFDC}" headerValue="Quantity In SDFC"/> | |
| <apex:column value="{!order.dateInSFDC}" headerValue="Date In SFDC"/> | |
| <apex:column value="{!order.id}" headerValue="Id"/> | |
| </apex:pageBlockTable> | |
| </apex:pageBlock> | |
| </apex:page> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment