Skip to content

Instantly share code, notes, and snippets.

@pritaunk
Last active November 10, 2017 10:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pritaunk/b9e20a86dbeb365a36a1048bf4ab7817 to your computer and use it in GitHub Desktop.
Save pritaunk/b9e20a86dbeb365a36a1048bf4ab7817 to your computer and use it in GitHub Desktop.
AccPlanv2
<apex:page standardController="Account_Plan__c">
<apex:form >
<apex:pageBlock title="This area can be used to add any info/instructions for AMs ">
<apex:pageBlockSection columns="2" showHeader="true" title="Account Overview">
<apex:pageblocksection columns="1">
<p> <b>Account Director</b> {!Account_Plan__c.Account_Director__c} </p>
<p><b>Account Tier</b> {!Account_Plan__c.Account_Tier__c} </p>
<p><b>CS Tier</b> {!Account_Plan__c.CS_Tier__c} </p>
<p><b>Country Tier</b> {!Account_Plan__c.Country__c} </p>
</apex:pageblocksection>
<apex:pageblocksection columns="1">
<p><b>Account Status</b> {!Account_Plan__c.Account_Status__c} </p>
<p><b>Customer Since</b> {!Account_Plan__c.Customer_Since__c} </p>
<p><b>Customer Success Manager</b> {!Account_Plan__c.Customer_Success_Manager__c} </p>
<p><b>Account Healthcheck</b> {!Account_Plan__c.CS_Account_Healthcheck__c} </p>
</apex:pageblocksection> </apex:pageBlockSection> </apex:pageBlock>
<apex:pageBlock title="{!Account_Plan__c.Name}">
<apex:pageBlockSection columns="1" collapsible="true" showHeader="true" title="Objective and Status">
<apex:inputfield value="{!Account_Plan__c.Period__c}"/>
<apex:inputField value="{!Account_Plan__c.Account_Plan_Status__c}"/>
<apex:inputField value="{!Account_Plan__c.Objective__c}"/>
<apex:inputfield value="{!Account_Plan__c.Account_Plan_Objective__c}"/>
</apex:pageBlockSection>
<apex:pageBlockSection columns="1" collapsible="true" showHeader="true" title="Next Steps">
<apex:inputfield value="{!Account_Plan__c.Next_Steps__c}"/>
<apex:inputfield value="{!Account_Plan__c.Next_Steps_History__c}"/>
</apex:pageBlockSection>
<apex:inlineEditSupport showOnEdit="save_id" disabled="false" event="ondblclick" />
<apex:pageBlockButtons >
<apex:commandButton action="{!save}" value="Save your Account Plan"/>
</apex:pageBlockButtons>
</apex:pageBlock>
</apex:form>
</apex:page>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment