Created
November 27, 2017 17:38
-
-
Save SalesforceCPQ/134aea2db1f7779e05db85f28b976087 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="viewController" title="Forecast" sidebar="false" showHeader="false" standardStylesheets="true"> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script> | |
| <style> | |
| div.Bottom [hidden], .slds template | |
| { | |
| display: block; | |
| } | |
| </style> | |
| <apex:slds > | |
| <div class="slds-scope"> | |
| <div class="slds-page-header"> | |
| <div class="slds-media"> | |
| <div class="slds-media__figure"> | |
| <span class="slds-icon_container slds-icon-standard-shipment" title="Description of icon when needed"> | |
| <svg class="slds-icon" aria-hidden="true"> | |
| <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="{!URLFOR($Asset.SLDS, '/assets/icons/standard-sprite/svg/symbols.svg#shipment')}"></use> | |
| </svg> | |
| </span> | |
| </div> | |
| <div class="slds-media__body"> | |
| <h1 class="slds-page-header__title slds-truncate slds-align-middle" title="Flows">[!** Header Title **!]</h1><!-- Set Header title Here!--> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <table class="slds-table slds-table_bordered slds-table_cell-buffer"> | |
| <thead><!-- These are the Column Headers --> | |
| <tr class="slds-text-title_caps"> | |
| <th scope="col"> | |
| <div class="slds-truncate" title="Year">Year</div> | |
| </th> | |
| <th scope="col"> | |
| <div class="slds-truncate" title="Total Assets">Total Assets</div> | |
| </th> | |
| <th scope="col"> | |
| <div class="slds-truncate" title="Part Count">Part Count</div> | |
| </th> | |
| <th scope="col"> | |
| <div class="slds-truncate" title="Total Rev">Total Rev</div> | |
| </th> | |
| <th scope="col"> | |
| <div class="slds-truncate" title="Acquisition">Acquisition</div> | |
| </th> | |
| <th scope="col"> | |
| <div class="slds-truncate" title="Total Exp">Target Cap</div> | |
| </th> | |
| <th scope="col"> | |
| <div class="slds-truncate" title="Change in TC">Change in TC</div> | |
| </th> | |
| <th scope="col"> | |
| <div class="slds-truncate" title="Dist Earnings">Dist Earnings</div> | |
| </th> | |
| </tr> | |
| </thead> | |
| <tbody> | |
| <apex:repeat value="{!Recs}" var="b"><!-- These are the fields to be diplayed. Change Recs to your List Name if you changed it in the Controller --> | |
| <tr> | |
| <td> | |
| <apex:outputText value="{!b.Year__c}"/> | |
| </td> | |
| <td> | |
| <apex:outputText value="{!ROUND(b.Total_Assets__c,0)}"/> | |
| </td> | |
| <td> | |
| <apex:outputText value="{!ROUND(b.Part_Count__c,0)}"/> | |
| </td> | |
| <td> | |
| <apex:outputText value="{!ROUND(b.Total_Rev__c,0)}"/> | |
| </td> | |
| <td> | |
| <apex:outputText value="{!ROUND(b.Acquisition__c,0)}"/> | |
| </td> | |
| <td> | |
| <apex:outputText value="{!ROUND(b.Target_Capital__c,0)}"/> | |
| </td> | |
| <td> | |
| <apex:outputText value="{!ROUND(b.Change_in_TC__c,0)}"/> | |
| </td> | |
| <td> | |
| <apex:outputText value="{!ROUND(b.Dist_Earnings__c,0)}"/> | |
| </td> | |
| </tr> | |
| </apex:repeat> | |
| </tbody> | |
| </table> | |
| </apex:slds> | |
| </apex:page> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment