Untitled diff
3 removals
53 lines
1 addition
52 lines
<!-------------------------------------------------------------------------------------------
<!-------------------------------------------------------------------------------------------
Created By: Soumya
Created By: Soumya
Created Date: 25/10/2013
Created Date: 25/10/2013
Description: This page is used as an Inline VF in Service Order to display related LineItems
Description: This page is used as an Inline VF in Service Order to display related LineItems
-------------------------------------------------------------------------------------------->
-------------------------------------------------------------------------------------------->
<apex:page standardController="PPS_Service_Order__c" extensions="lineItemsListCntrl2" sidebar="true">
<apex:page standardController="PPS_Service_Order__c" extensions="lineItemsListCntrl" sidebar="true">
<apex:form >
<apex:form >
<apex:pageMessages />
<apex:pageMessages />
<apex:pageBlock rendered="{!displayTable}">
<apex:pageBlock rendered="{!displayTable}">
<apex:pageblockButtons >
<apex:pageblockButtons >
<apex:commandButton value="Submit" action="{!submit}"/>
<apex:commandButton value="Submit" action="{!submit}"/>
</apex:pageblockButtons>
</apex:pageblockButtons>
<apex:outputPanel rendered="{!displayTable}">
<apex:outputPanel rendered="{!displayTable}">
<apex:pageBlockTable value="{!LineItemsList}" var="SO">
<apex:pageBlockTable value="{!LineItemsList}" var="SO">
<apex:column headerValue="Service Name" >
<apex:column headerValue="Service Name" >
<apex:outputfield value="{!SO.lineItem.Service_Name__c}" />
<apex:outputfield value="{!SO.lineItem.Service_Name__c}" />
</apex:column>
</apex:column>
<apex:column headerValue="Service Type" >
<apex:column headerValue="Service Type" >
<apex:outputfield value="{!SO.lineItem.Service_Type__c}" />
<apex:outputfield value="{!SO.lineItem.Service_Type__c}" />
</apex:column>
</apex:column>
<apex:column headerValue="Service Description" >
<apex:column headerValue="Service Description" >
<apex:outputfield value="{!SO.lineItem.DetailDescription__c}" />
<apex:outputfield value="{!SO.lineItem.DetailDescription__c}" />
</apex:column>
</apex:column>
<apex:column headerValue="Part Number" rendered="{!partFlag}">
<apex:column headerValue="Part Number" rendered="{!partFlag}">
<apex:outputfield value="{!SO.lineItem.Part_Number__c}" />
<apex:outputfield value="{!SO.lineItem.Part_Number__c}" />
</apex:column>
</apex:column>
<apex:column headerValue="Part Description" rendered="{!partFlag}">
<apex:column headerValue="Part Description" rendered="{!partFlag}">
<apex:outputfield value="{!SO.lineItem.Part_Description__c}" />
<apex:outputfield value="{!SO.lineItem.Part_Description__c}" />
</apex:column>
</apex:column>
<apex:column headerValue="Driver Number" rendered="{!driverFlag}">
<apex:column headerValue="Driver Number" rendered="{!driverFlag}">
<apex:outputfield value="{!SO.lineItem.Driver_Number__c}"/>
<apex:outputfield value="{!SO.lineItem.Driver_Number__c}"/>
</apex:column>
</apex:column>
<apex:column headerValue="Driver Description" rendered="{!driverFlag}">
<apex:column headerValue="Driver Description" rendered="{!driverFlag}">
<apex:outputfield value="{!SO.lineItem.Driver_Description__c}" />
<apex:outputfield value="{!SO.lineItem.Driver_Description__c}" />
</apex:column>
</apex:column>
<apex:column headerValue="PudoFlag" >
<apex:column headerValue="PudoFlag" >
<apex:outputfield value="{!SO.lineItem.Pudo_Flag__c}" />
<apex:outputfield value="{!SO.lineItem.Pudo_Flag__c}" />
</apex:column>
</apex:column>
<apex:column headerValue="Ext Reference" >
<apex:column headerValue="Ext Reference" >
<apex:outputfield value="{!SO.lineItem.Ext_Reference__c}" />
<apex:outputfield value="{!SO.lineItem.Ext_Reference__c}" />
</apex:column>
</apex:column>
<apex:column headerValue="Status" >
<apex:column headerValue="Status" >
<apex:selectList size="1" value="{!SO.status}">
<apex:selectList size="1" value="{!SO.status}">
<apex:selectOptions value="{!options}" />
<apex:selectOptions value="{!options}" />
</apex:selectList>
</apex:selectList>
</apex:column>
</apex:column>
</apex:pageBlockTable>
</apex:pageBlockTable>
</apex:outputPanel>
</apex:outputPanel>
</apex:pageBlock>
</apex:pageBlock>
</apex:form>
</apex:form>
</apex:page>
</apex:page>