Last active
April 16, 2020 18:36
-
-
Save SalesforceCPQ/cb63e9ff8330b760b15856f4bf8d17ce 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 showHeader="false" sidebar="false" cache="false" contentType="text/xml" controller="DiscountSchedulePrintController"> | |
| <block> | |
| <apex:repeat var="line" value="{!linesWithTiers}"> | |
| <block>{!line.name}</block> | |
| <block> | |
| <table table-layout="fixed" width="100%" border-color="#000000" border-width="1px"> | |
| <!--<table-column column-width="{!dataColumnWidth}%"/>--> | |
| <table-column column-width="{!dataColumnWidth}%"/> | |
| <table-column column-width="{!dataColumnWidth}%"/> | |
| <table-header> | |
| <table-row height="10pt" font-weight="bold" text-align="center" color="#000000" background-color="#D7D7D7"> | |
| <table-cell border="1px solid black" margin="0pt" padding="5pt"><block>Units</block></table-cell> | |
| <table-cell border="1px solid black" margin="0pt" padding="5pt"><block>Discount</block></table-cell> | |
| </table-row> | |
| </table-header> | |
| <table-body> | |
| <apex:repeat var="tier" value="{!line.tiers}"> | |
| <table-row font-size="0.9em"> | |
| <table-cell text-align="center" padding="1pt" padding-left="1pt" padding-right="1pt" border="1px solid black"> | |
| <block font-weight="bold"><apex:outputText value="{!tier.tierName}"/></block> | |
| </table-cell> | |
| <table-cell text-align="center" padding="1pt" padding-left="1pt" padding-right="1pt" border="1px solid black"> | |
| <block font-weight="bold"><apex:outputText value="{0, number, ###%}"><apex:param value="{!tier.price}"/></apex:outputText></block> | |
| </table-cell> | |
| </table-row> | |
| </apex:repeat> | |
| </table-body> | |
| </table> | |
| </block> | |
| <block> </block> | |
| </apex:repeat> | |
| </block> | |
| </apex:page> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment