<apex:page standardController="Quotes__c" extensions="NEWCreateSWOQuoteController" showChat="false" showHeader="true" sidebar="false" action="{!init}" id="Page">
|
|
<apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.NewQuoteEntryJS)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.SWOJS)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.connection20)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.apex20)}"/>
|
<apex:includeScript value="{! URLFOR($Resource.AWSService, 'AWSService.js') }" />
|
<script type="text/javascript">
|
// 20220311 PI改造 by Bright start
|
AWSService.sfSessionId = '{!GETSESSIONID()}';
|
var staticResource = JSON.parse('{!staticResource}');
|
var contactstaticResource = JSON.parse('{!contactstaticResource}');
|
|
var aws_data = {};
|
|
function Decrypt(r,dataIds,callback){
|
if (!(dataIds && dataIds.length)) {
|
if(callback)callback();
|
return;
|
}
|
|
let Foo = function(){
|
for (const id of dataIds) {
|
if (aws_data.hasOwnProperty(id)) {
|
let d = aws_data[id];
|
let $e =j$("[aws-id='"+d.dataId+ "']");
|
$e.each((i,e)=>{
|
j$(e).html(d[j$(e).attr("aws-api")]);
|
})
|
|
}
|
}
|
if(callback)callback();
|
}
|
let ids = [];
|
for (const id of dataIds) {
|
if (!aws_data.hasOwnProperty(id)) {
|
ids.push(id);
|
}
|
}
|
if (ids.length > 0) {
|
|
AWSService.search(r.searchUrl,JSON.stringify({
|
"dataIds":ids
|
}),function(data){
|
|
if(data.object && data.object.length > 0){
|
|
for(let d of data.object){
|
if(d.dataId){
|
aws_data[d.dataId] = d;
|
}
|
}
|
Foo();
|
}else{
|
if(callback)callback();
|
}
|
},r.token);
|
}else{
|
Foo();
|
}
|
}
|
|
function DecryptAll(callback){
|
let dataIds1 = [];
|
j$('[aws-id][aws-obj="Contact"]').each((i,e)=>{
|
let v = j$(e).attr('aws-id');
|
if (v) {
|
dataIds1.push(v);
|
}
|
});
|
Decrypt(contactstaticResource,dataIds1,callback);
|
|
let dataIds2 = [];
|
j$('[aws-id][aws-obj="Quotes__c"]').each((i,e)=>{
|
let v = j$(e).attr('aws-id');
|
if (v) {
|
dataIds2.push(v);
|
}
|
});
|
Decrypt(staticResource,dataIds2,callback);
|
}
|
|
j$(function(){
|
DecryptAll();
|
|
})
|
// 20220311 PI改造 by Bright end
|
</script>
|
<style type="text/css">
|
.Page{
|
margin-left: 20px;
|
margin-right: 20px;
|
}
|
|
.title{
|
height: 30px;
|
background-color: #DFE6F0;
|
font-size: 15px;
|
color:#607799;
|
font-weight: bold;
|
line-height:30px;
|
}
|
.title1{
|
height: 15px;
|
background-color: #607799;
|
/*background-color: #DFE6F0!important;*/
|
font-size: 15px;
|
color:#FFFFFF;
|
font-weight: bold;
|
line-height:15px;
|
|
}
|
.title2{
|
height: 15px;
|
/*background-color: #607799;*/
|
background-color: #DFE6F0!important;
|
font-size: 15px;
|
color:#FFFFFF;
|
font-weight: bold;
|
line-height:15px;
|
|
}
|
.pbSubheader {
|
background: #BFB19C!important;
|
/*background-color: #FFFFFF!important;*/
|
/*background: #BFB19C;*/
|
/*background-color: #44A3BB!important;
|
background-color: #E6E6FA!important;*/
|
/*background-color: #1797c0!important;*/
|
background-color: #DFE6F0!important;
|
/*color:#607799;*/
|
/*color:#FFFFFF!important;*/
|
/*background-color: #FFFFFF!important;*/
|
/*font-size:12pt;
|
font-family:verdana;*/
|
font-weight:bold;
|
|
}
|
.red {
|
background-color:#B22222;
|
text-align: right;
|
}
|
|
.centerLong {
|
/*line-height:30px;
|
height:30px;*/
|
text-align: center;
|
font-weight: bold;
|
}
|
.center {
|
line-height:30px;
|
height:30px;
|
text-align: center;
|
font-size: 10px;
|
color:#FFFFFF;
|
font-weight: bold;
|
}
|
.centerItem {
|
line-height:20px;
|
height:20px;
|
/*padding: 8px 0 ;*/
|
/*padding: 2px 5px 2px 0px;*/
|
|
/*border: 3px solid green;*/
|
text-align: left;
|
}
|
.textRed{
|
color: #B22222;
|
font-size: 16px;
|
font-weight: 700;
|
}
|
</style>
|
<apex:form id="allForm">
|
<input type="hidden" id="Id" value="{!Id}"/>
|
<apex:actionFunction name="Save" action="{!Save}" rerender="allForm,allPanel,message" oncomplete="focusFunction();unblockUI();" ></apex:actionFunction>
|
|
<apex:pageBlock title="Quotes" id="allBlock">
|
<apex:commandButton onclick="save2btn();return false;" value="Save" oncomplete="unblockUI();" style="width:5%;" rerender="dummy" />
|
<apex:outputPanel id="message">
|
|
<apex:pagemessages />
|
</apex:outputPanel>
|
<apex:pageblocksection columns="1" title="QuotesInfo" id="Quotes" >
|
|
<apex:outputPanel id="allPanel" >
|
<apex:pageBlock title="" id="unEditable" rendered="true">
|
|
<table class="formtable" width="100%" border="0">
|
<colgroup>
|
|
<col width="27%"/>
|
<col width="5%"/>
|
<col width="27%"/>
|
<col width="5%"/>
|
<col width="2%"/>
|
<col width="1%"/>
|
<col width="10%"/>
|
<col width="5%"/>
|
<col width="20%"/>
|
</colgroup>
|
<tr>
|
<td colspan="9"> <hr/></td>
|
</tr>
|
<th colspan="9" class="title">Estimate</th>
|
<tr>
|
<td colspan="2" align="left" >{!$ObjectType.Quotes__c.fields.CURRENCY__c.label}</td>
|
<td colspan="2" align="left" >{!$ObjectType.Quotes__c.fields.CONTACT_NAME__c.label}</td>
|
</tr>
|
<tr>
|
|
<td colspan="2" align="left" ><apex:inputField id="CURRENCY" value="{!QuotesPage.CURRENCY__c}" style="width: 56%"/></td>
|
<td colspan="2" align="left" >
|
<a href="/{!QuotesPage.CONTACT_NAME__c}" aws-obj="Contact" aws-api="lastName" aws-id="{!QuotesPage.CONTACT_NAME__r.AWS_Data_Id__c}">{!QuotesPage.CONTACT_NAME__r.Name}</a>
|
</td>
|
<td colspan="2"/>
|
<td colspan="2" class="title1">Summary</td>
|
<td/>
|
<td/>
|
|
</tr>
|
<tr>
|
<td align="left" >CUSTOMER:JOB</td>
|
|
<td/>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.CONTACT_PHONE__c.label}</td>
|
<td colspan="3"/>
|
<td class="title2">{!$ObjectType.Quotes__c.fields.SUBTOTAL__c.label}</td>
|
<td class="title2" align="left" ><apex:outputField value="{!QuotesPage.SUBTOTAL__c}" style="width: 62%"/></td>
|
<td/>
|
</tr>
|
<tr>
|
<td colspan="2" align="left" ><apex:outputField id="COMPANY" value="{!QuotesPage.COMPANY__c}"/>
|
<!-- <apex:outputLink value="/{!QuotesPage.COMPANYId__c}" target="LINK_{!QuotesPage.COMPANYId__c}" ><c:PDFWbr targetStr="{!QuotesPage.COMPANYName__c}"/></apex:outputLink> -->
|
</td>
|
<td align="left" ><apex:outputField html-aws-obj="Quotes__c" html-aws-api="contactPhone" html-aws-id="{!QuotesPage.AWS_Data_Id__c}" id="CONTACT_PHONE" value="{!QuotesPage.CONTACT_PHONE__c}"/></td>
|
<td colspan="3"/>
|
<td class="title2">{!$ObjectType.Quotes__c.fields.DISCOUNT__c.label}</td>
|
<td class="title2" align="left" ><apex:outputField value="{!QuotesPage.DISCOUNT__c}" style="width: 62%"/></td>
|
<td/>
|
</tr>
|
<tr>
|
|
<td align="left" >{!$ObjectType.Quotes__c.fields.DATE__c.label}<span class="textRed">*</span></td>
|
<td ></td>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.CONTACT_FAX__c.label}</td>
|
<td colspan="3"/>
|
<td class="title2">{!$ObjectType.Quotes__c.fields.TAX__c.label}</td>
|
<td class="title2" align="left" ><apex:outputField value="{!QuotesPage.TAX__c}" style="width: 62%"/></td>
|
<td/>
|
|
|
</tr>
|
<tr>
|
<td align="left" ><apex:inputField id="DATE" value="{!QuotesPage.DATE__c }" />
|
</td>
|
<td></td>
|
<td align="left" ><apex:outputField id="CONTACT_FAX" value="{!QuotesPage.CONTACT_FAX__c}"/></td>
|
<td colspan="3"/>
|
<td class="title2">{!$ObjectType.Quotes__c.fields.TOTAL__c.label}</td>
|
<td class="title2" align="left" ><apex:outputField value="{!QuotesPage.TOTAL__c}" style="width: 62%"/></td>
|
<td/>
|
</tr>
|
<tr>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.ESTIMATE__c.label}</td>
|
<td></td>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.CONTACT_EMAIL__c.label}</td>
|
<td/>
|
<td/>
|
</tr>
|
<tr>
|
<td align="left" ><apex:outputField id="ESTIMATE" value="{!QuotesPage.ESTIMATE__c }" /></td>
|
<td/>
|
<td align="left" ><apex:outputField id="CONTACT_EMAIL" value="{!QuotesPage.CONTACT_EMAIL__c}"/></td>
|
|
</tr>
|
<tr>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.OPPORTUNITY__c.label}</td>
|
<td></td>
|
<td align="left" ><apex:inputField id="GSA_ORDER" value="{!QuotesPage.GSA_ORDER__c}"/>{!$ObjectType.Quotes__c.fields.GSA_ORDER__c.label}</td>
|
</tr>
|
<tr>
|
<td align="left" ><apex:inputField id="OPPORTUNITY" value="{!QuotesPage.OPPORTUNITY__c }"/></td>
|
<td/>
|
<td align="left" ><apex:inputField id="GOVERNMENT_ORDER" value="{!QuotesPage.GOVERNMENT_ORDER__c}"/>{!$ObjectType.Quotes__c.fields.GOVERNMENT_ORDER__c.label}</td>
|
</tr>
|
<tr>
|
|
<td colspan="2" align="left" >{!$ObjectType.Quotes__c.fields.SUBSIDIARY__c.label}</td>
|
<td colspan="3" align="left" ><apex:inputField id="SALES_TEAM_AUTO_ASSIGNMENT_OVERRIDE" value="{!QuotesPage.SALES_TEAM_AUTO_ASSIGNMENT_OVERRIDE__c}"/>{!$ObjectType.Quotes__c.fields.SALES_TEAM_AUTO_ASSIGNMENT_OVERRIDE__c.label}</td>
|
</tr>
|
|
<tr>
|
<td colspan="2" align="left" ><apex:inputField id="SUBSIDIARY" value="{!QuotesPage.SUBSIDIARY__c}"/></td>
|
<td colspan="2" align="left" ><apex:inputField id="SALES_TEAM_AUTO_ASSIGN_ON_SAVE" value="{!QuotesPage.SALES_TEAM_AUTO_ASSIGN_ON_SAVE__c}"/>{!$ObjectType.Quotes__c.fields.SALES_TEAM_AUTO_ASSIGN_ON_SAVE__c.label}</td>
|
</tr>
|
<tr>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.TAX_ID__c.label}</td>
|
<td/>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.LEAD_TIME__c.label}<span class="textRed">*</span></td>
|
|
|
</tr>
|
<tr>
|
<td align="left" ><apex:inputField id="TAX_ID" value="{!QuotesPage.TAX_ID__c }" /></td>
|
<td></td>
|
<td align="left" ><apex:inputField id="LEAD_TIME" value="{!QuotesPage.LEAD_TIME__c }" style="width: 95%"/>
|
</td>
|
</tr>
|
<tr>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.STATUS__c.label}<span class="textRed">*</span></td>
|
<td/>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.BILLING_SCHEDULE__c.label}</td>
|
</tr>
|
<tr>
|
<td align="left" ><apex:inputField id="STATUS" value="{!QuotesPage.STATUS__c }" onchange="StatusChangeFunction();" style="width: 100%"/>
|
</td>
|
<td/>
|
<td align="left" ><apex:inputField id="BILLING_SCHEDULE" value="{!QuotesPage.BILLING_SCHEDULE__c }" style="width: 95%"/>
|
</td>
|
</tr>
|
<tr>
|
<td colspan="2" align="left" >{!$ObjectType.Quotes__c.fields.DISCOUNT_WORKFLOW_TYPE__c.label}</td>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.LEAD_SOURCE__c.label}</td>
|
<td/>
|
</tr>
|
<tr>
|
<td colspan="2" align="left" ><apex:inputField id="DISCOUNT_WORKFLOW_TYPE" value="{!QuotesPage.DISCOUNT_WORKFLOW_TYPE__c}" style="width: 65%"/>
|
</td>
|
<td align="left" ><apex:inputField id="LEAD_SOURCE" value="{!QuotesPage.LEAD_SOURCE__c}"/>
|
</td>
|
|
</tr>
|
|
<tr>
|
<td colspan="2" align="left" >{!$ObjectType.Quotes__c.fields.DISCOUNT_STATUS__c.label}</td>
|
|
<td/>
|
<td/>
|
</tr>
|
<tr>
|
<td align="left" ><apex:inputField id="DISCOUNT_STATUS" value="{!QuotesPage.DISCOUNT_STATUS__c}" style="width: 100%"/>
|
</td>
|
<td/>
|
<td align="left" ><apex:inputField id="ONLINE_BILLING" value="{!QuotesPage.ONLINE_BILLING__c }"/>{!$ObjectType.Quotes__c.fields.ONLINE_BILLING__c.label}
|
</td>
|
|
</tr>
|
<tr>
|
<!-- <td/> -->
|
<td colspan="2" align="left" ><apex:inputField id="INITIATE_APPROVAL_ROUTING" value="{!QuotesPage.INITIATE_APPROVAL_ROUTING__c }"/>{!$ObjectType.Quotes__c.fields.INITIATE_APPROVAL_ROUTING__c.label}
|
</td>
|
</tr>
|
<tr>
|
<td colspan="2" align="left" >{!$ObjectType.Quotes__c.fields.DISCOUNT_STATUS_ROUTING__c.label} </td>
|
|
<td align="left" >{!$ObjectType.Quotes__c.fields.ONLINE_BILLING_ADDRESS__c.label}</td>
|
|
|
|
</tr>
|
<tr>
|
<td align="left" ><apex:inputField id="DISCOUNT_STATUS_ROUTING" value="{!QuotesPage.DISCOUNT_STATUS_ROUTING__c}" style="width: 100%"/></td>
|
<td/>
|
<td align="left" ><apex:inputField id="ONLINE_BILLING_ADDRESS" value="{!QuotesPage.ONLINE_BILLING_ADDRESS__c}"/></td>
|
</tr>
|
<tr>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.PROBABILITY__c.label}<span class="textRed">*</span></td>
|
<td/>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.PRODUCT_SEGMENT__c.label}<span class="textRed">*</span></td>
|
</tr>
|
<tr>
|
<td align="left" ><apex:outputText id="PROBABILITY" value="{!QuotesPage.PROBABILITY__c }"/>
|
<apex:inputText id="DisplayPROBABILITY" value="{!QuotesPage.PROBABILITY__c}" style="display: none;"/>
|
</td>
|
<td/>
|
<td align="left" ><apex:inputField id="PRODUCT_SEGMENT" value="{!QuotesPage.PRODUCT_SEGMENT__c}" style="width: 95%"/></td>
|
</tr>
|
<tr>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.LOCATION__c.label}<span class="textRed">*</span></td>
|
<td/>
|
<td colspan="2" align="left" ><apex:inputField value="{!QuotesPage.FDA_REPORT_COMPLETE__c }"/>{!$ObjectType.Quotes__c.fields.FDA_REPORT_COMPLETE__c.label}</td>
|
</tr>
|
<tr>
|
|
|
<td align="left" ><apex:inputField id="LOCATION" value="{!QuotesPage.LOCATION__c }" style="width: 100%"/>
|
</td>
|
<td/>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.SWOName__c.label}</td>
|
|
</tr>
|
<tr>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.TERMS__c.label}<span class="textRed">*</span></td>
|
<td/>
|
<td align="left" >
|
<apex:outputLink value="/apex/SWOPageRead?id={!QuotesPage.SWO__c}&type=Quotes" target="LINK_{!QuotesPage.SWO__c}" ><c:PDFWbr targetStr="{!QuotesPage.SWOName__c}"/></apex:outputLink>
|
</td>
|
</tr>
|
<tr>
|
<td align="left" ><apex:inputField id="TERMS" value="{!QuotesPage.TERMS__c }" style="width: 100%"/>
|
</td>
|
<td/>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.CONTRACT_NAME__c.label}</td>
|
|
</tr>
|
<tr>
|
<td align="left" ><apex:inputField id="TERMS_OVERRIDE" value="{!QuotesPage.TERMS_OVERRIDE__c }" />{!$ObjectType.Quotes__c.fields.TERMS_OVERRIDE__c.label}
|
</td>
|
<td/>
|
<td align="left" ><apex:inputField id="CONTRACT_NAME" value="{!QuotesPage.CONTRACT_NAME__c}" style="width: 95%"/> </td>
|
</tr>
|
|
<tr>
|
|
<td align="left" >{!$ObjectType.Quotes__c.fields.PO__c.label}</td>
|
|
<td/>
|
|
<td align="left" >{!$ObjectType.Quotes__c.fields.QUOTE_TITLE__c.label}</td>
|
</tr>
|
<tr>
|
<td align="left" ><apex:inputField id="PO" value="{!QuotesPage.PO__c }"/></td>
|
<td/>
|
<td align="left" ><apex:inputField id="QUOTE_TITLE" value="{!QuotesPage.QUOTE_TITLE__c}"/></td>
|
</tr>
|
|
<tr>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.EXPIRES__c.label}<span class="textRed">*</span></td>
|
<td/>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.PKMS_PO_FOR_RECEIPT__c.label}</td>
|
|
|
</tr>
|
<tr>
|
<td align="left" ><apex:inputField id="EXPIRES" value="{!QuotesPage.EXPIRES__c }" />
|
</td>
|
<td/>
|
<td align="left" ><apex:inputField id="PKMS_PO_FOR_RECEIPT" value="{!QuotesPage.PKMS_PO_FOR_RECEIPT__c}"/></td>
|
</tr>
|
<tr>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.EXP_CLOSE__c.label}<span class="textRed">*</span></td>
|
<td/>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.REVISION_NEEDED__c.label}</td>
|
|
|
</tr>
|
<tr>
|
<td align="left" ><apex:inputField id="EXP_CLOSE" value="{!QuotesPage.EXP_CLOSE__c }"/></td>
|
<td/>
|
<td align="left" ><apex:inputField id="REVISION_NEEDED" value="{!QuotesPage.REVISION_NEEDED__c}" style="width: 95%"/></td>
|
</tr>
|
<tr>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.ORDER_TYPE__c.label}<span class="textRed">*</span></td>
|
<td/>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.COLLECTION_STATUS__c.label}</td>
|
|
</tr>
|
<tr>
|
|
<td align="left" ><apex:inputField id="ORDER_TYPE" value="{!QuotesPage.ORDER_TYPE__c }" style="width: 100%"/>
|
</td>
|
<td/>
|
<td align="left" ><apex:inputField id="COLLECTION_STATUS" value="{!QuotesPage.COLLECTION_STATUS__c}" style="width: 95%"/></td>
|
</tr>
|
<tr>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.NO_CHARGE_TYPE__c.label}</td>
|
<td/>
|
<td colspan="2" align="left" >CONSOLIDATED INVOICE NUMBER</td>
|
</tr>
|
<tr>
|
<td align="left" ><apex:inputField id="NO_CHARGE_TYPE" value="{!QuotesPage.NO_CHARGE_TYPE__c }" style="width: 100%"/></td>
|
<td/>
|
<td/>
|
</tr>
|
<tr>
|
<td/>
|
<td/>
|
<td colspan="2" align="left" >{!$ObjectType.Quotes__c.fields.SHIP_TO_ENTITY_USE_CODE__c.label}</td>
|
</tr>
|
<tr>
|
<td/>
|
<td/>
|
<td colspan="2" align="left" ><apex:inputField id="SHIP_TO_ENTITY_USE_CODE" value="{!QuotesPage.SHIP_TO_ENTITY_USE_CODE__c}" style="width: 56%"/></td>
|
</tr>
|
<tr>
|
<td/>
|
<td/>
|
<td colspan="2" align="left" >{!$ObjectType.Quotes__c.fields.BILL_TO_ENTITY_USE_CODE__c.label}</td>
|
</tr>
|
<tr>
|
<td/>
|
<td/>
|
<td colspan="2" align="left" ><apex:inputField id="BILL_TO_ENTITY_USE_CODE" value="{!QuotesPage.BILL_TO_ENTITY_USE_CODE__c}" style="width: 54%"/></td>
|
</tr>
|
<tr>
|
<td/>
|
<td/>
|
<td colspan="3" align="left" >{!$ObjectType.Quotes__c.fields.INVOICE_MESSAGING__c.label}</td>
|
|
</tr>
|
<tr>
|
<td/>
|
<td/>
|
<td colspan="3" align="left" ><apex:inputField id="INVOICE_MESSAGING" value="{!QuotesPage.INVOICE_MESSAGING__c}" style="width: 63%"/></td>
|
</tr>
|
<tr>
|
<td/>
|
<td/>
|
<td colspan="2" align="left" ><apex:inputField id="IS_SELLER_IMPORTER_OF_RECORD" value="{!QuotesPage.IS_SELLER_IMPORTER_OF_RECORD__c }" />{!$ObjectType.Quotes__c.fields.IS_SELLER_IMPORTER_OF_RECORD__c.label}
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
<td colspan="9"> <hr/></td>
|
</tr>
|
<th colspan="9" class="title">Address</th>
|
<tr>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.BILL_TO__c.label}</td>
|
<td/>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.SHIP_TO__c.label}</td>
|
</tr>
|
<tr>
|
<td colspan="2" align="left" ><apex:inputField html-aws-obj="Quotes__c" html-aws-api="billTo" html-aws-id="{!QuotesPage.AWS_Data_Id__c}" id="BILL_TO" value="{!QuotesPage.BILL_TO__c }" style="width: 90%;height: 80PX"/></td>
|
<td colspan="2" align="left" ><apex:inputField html-aws-obj="Quotes__c" html-aws-api="shipTo" html-aws-id="{!QuotesPage.AWS_Data_Id__c}" id="SHIP_TO" value="{!QuotesPage.SHIP_TO__c}" style="width: 90%;height: 80PX"/></td>
|
</tr>
|
<tr>
|
<td colspan="9"> <hr/></td>
|
</tr>
|
<th colspan="9" class="title">Shipping</th>
|
|
<tr>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.SHIPPING_COST__c.label}</td>
|
<td/>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.SHIPPING_TAX_RATE__c.label}</td>
|
</tr>
|
<tr>
|
<td align="left" ><apex:inputField id="SHIPPING_COST" value="{!QuotesPage.SHIPPING_COST__c }" />
|
</td>
|
<td/>
|
<td align="left" ><apex:inputField id="SHIPPING_TAX_RATE" value="{!QuotesPage.SHIPPING_TAX_RATE__c}" style="width: 90%"/></td>
|
</tr>
|
<tr>
|
<td colspan="2" align="left" >{!$ObjectType.Quotes__c.fields.TOTAL_TRANSACTION_ITEM_WEIGHT_KGS__c.label}</td>
|
<td/>
|
<td/>
|
</tr>
|
<tr>
|
<td align="left" ><apex:inputField id="TOTAL_TRANSACTION_ITEM_WEIGHT_KGS" value="{!QuotesPage.TOTAL_TRANSACTION_ITEM_WEIGHT_KGS__c }"/></td>
|
<td/>
|
<td/>
|
|
</tr>
|
<tr>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.SHIPPING_CARRIER__c.label}</td>
|
<td/>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.SHIPPING_TAX_CODE__c.label}</td>
|
</tr>
|
<tr>
|
<td align="left" ><apex:inputField id="SHIPPING_CARRIER" value="{!QuotesPage.SHIPPING_CARRIER__c }" style="width: 100%"/></td>
|
<td/>
|
<td align="left" ><apex:inputField id="SHIPPING_TAX_CODE" value="{!QuotesPage.SHIPPING_TAX_CODE__c}" style="width: 95%"/></td>
|
|
</tr>
|
<tr>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.SHIP_VIA__c.label}</td>
|
<td/>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.INCOTERM__c.label}</td>
|
</tr>
|
<tr>
|
<td align="left" ><apex:inputField id="SHIP_VIA" value="{!QuotesPage.SHIP_VIA__c }" style="width: 100%"/>
|
</td>
|
<td/>
|
<td align="left" ><apex:inputField id="INCOTERM" value="{!QuotesPage.INCOTERM__c}" style="width: 95%"/></td>
|
</tr>
|
<tr>
|
<td colspan="9"> <hr/></td>
|
</tr>
|
<th colspan="9" class="title">Items</th>
|
|
<tr>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.DISCOUNT_ITEM__c.label}</td>
|
<td/>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.SWO_PART_NUMBERS__c.label}</td>
|
</tr>
|
<tr>
|
<td align="left" ><apex:inputField id="DISCOUNT_ITEM" value="{!QuotesPage.DISCOUNT_ITEM__c }" onchange="DISCOUNTITEMChangeFunction();" style="width: 100%"/>
|
</td>
|
<td/>
|
<td colspan="2" align="left" ><apex:inputField id="SWO_PART_NUMBERS" value="{!QuotesPage.SWO_PART_NUMBERS__c}"/></td>
|
</tr>
|
<tr>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.RATE__c.label}</td>
|
<td/>
|
<td align="left" ><apex:inputField id="TAX_OVERRIDE" value="{!QuotesPage.TAX_OVERRIDE__c}"/>{!$ObjectType.Quotes__c.fields.TAX_OVERRIDE__c.label}</td>
|
</tr>
|
<tr>
|
<td align="left" ><apex:outputText id="RATE" value="{!QuotesPage.RATE__c }"/>
|
<apex:inputText id="RATEDisplay" value="{!QuotesPage.RATE__c}" style="display: none;"/>
|
<td/>
|
<td/>
|
</td>
|
</tr>
|
<tr>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.SWO_SERIAL__c.label}</td>
|
<td/>
|
|
</tr>
|
<tr>
|
<td align="left" ><apex:outputField id="SWO_SERIAL" value="{!QuotesPage.SWO_SERIAL__c }"/>
|
</td>
|
<td/>
|
</tr>
|
|
<tr>
|
<td colspan="9"> <hr/></td>
|
</tr>
|
<th colspan="9" class="title">Messages</th>
|
<tr>
|
<td colspan="9"> <hr/></td>
|
</tr>
|
<tr>
|
<td align="left" >{!$ObjectType.Quotes__c.fields.QuotesType__c.label}</td>
|
<td/>
|
<td/>
|
<td/>
|
<td/>
|
<td/>
|
<td/>
|
</tr>
|
<tr>
|
<td align="left" ><apex:inputField id="QuotesType" value="{!QuotesPage.QuotesType__c }" onchange="QuotesTypeChangeFunction();" style="width: 70%"/>
|
</td>
|
<td>
|
|
</td>
|
<td/>
|
<td/>
|
<td/>
|
<td/>
|
<td/>
|
</tr>
|
|
<tr>
|
<apex:outputPanel layout="none" rendered="{!IF(aftORbef == false && aftORbef1 == false, true, false)}">
|
<td colspan="9">
|
<apex:outputText id="message01" value="{!Messages01}" style="resize:vertical;width: 100%"/>
|
</td>
|
</apex:outputPanel>
|
</tr>
|
<tr>
|
<apex:outputPanel layout="none" rendered="{!IF(aftORbef == true || aftORbef1 == true, true, false)}">
|
<td colspan="9">
|
<apex:outputText value="-维修质保只涵盖于本次维修的配件,维修质保期为仪器发货后三个月加八天。" style="resize:vertical;width: 100%"/>
|
</td>
|
</apex:outputPanel>
|
</tr>
|
<tr>
|
<td colspan="9">
|
<apex:outputText id="message02" value="{!Messages02}" style="resize:vertical;width: 100%"/>
|
</td>
|
</tr>
|
<tr>
|
<td colspan="9">
|
<apex:outputText id="message03" value="{!Messages03}" style="resize:vertical;width: 100%"/>
|
</td>
|
</tr>
|
<tr>
|
<td colspan="9">
|
<apex:outputText id="message04" value="{!Messages04}" style="resize:vertical;width: 100%"/>
|
</td>
|
</tr>
|
<tr>
|
<td colspan="9">
|
<apex:outputText id="message05" value="{!Messages05}" style="resize:vertical;width: 100%"/>
|
</td>
|
</tr>
|
<tr>
|
<td colspan="9">
|
<apex:outputText id="message06" value="{!Messages06}" style="resize:vertical;width: 100%"/>
|
</td>
|
</tr>
|
<tr>
|
<td colspan="9">
|
<apex:outputText id="message07" value="{!Messages07}" style="resize:vertical;width: 100%"/>
|
</td>
|
</tr>
|
|
</table>
|
</apex:pageBlock>
|
</apex:outputPanel>
|
|
</apex:pageblocksection>
|
<apex:pageblocksection columns="1" title="QuotesItem" id="ProductInfoList">
|
<apex:outputPanel >
|
<!-- <table > -->
|
<!-- <td style="width:130px;"> -->
|
<apex:commandButton rerender="dummy" id="Btn_RowUp" onclick="radioChecker2('up');return false;" value="上调行号" style="width:60px;"/>
|
<apex:commandButton rerender="dummy" id="Btn_RowDown" onclick="radioChecker2('down');return false;" value="下调行号" style="width:60px;"/>
|
<!-- </td> -->
|
<!-- </table> -->
|
<DIV style="OVERFLOW-Y: hidden; OVERFLOW-X:auto;width:1260px">
|
|
<div id="ProductInfoList:tablediv" style="OVERFLOW-X: hidden; OVERFLOW-Y:auto;width:4000px; height:200px">
|
|
<table id="theTable_header" border="2" style="width:4000px;border-bottom-width: 0px; font-size:11px; border-spacing:0;text-align: left;" styleClass="list">
|
<thead>
|
|
<tr style="background-color: #ccc;">
|
<td class="center" style ="width: 1%;text-align: center" scope="col"></td>
|
<td class="center" style ="width: 1%;text-align: center" scope="col">No</td>
|
|
|
|
<td class="center" style ="width: 2%;text-align: center" scope="col">ProductName</td>
|
<td class="center" style ="width: 3%;text-align: center" scope="col">{!$ObjectType.Quotes_item__c.fields.QuotesItemName__c.label}</td>
|
|
<td class="center" style ="width: 3%;;text-align: center" scope="col">{!$ObjectType.Quotes_item__c.fields.PART_NUMBERNew__c.label}</td>
|
|
<td class="center" style ="width: 2%;text-align: center" scope="col">{!$ObjectType.Quotes_item__c.fields.ON_HAND__c.label}</td>
|
|
<td class="center" style ="width: 2%;;text-align: center" scope="col">{!$ObjectType.Quotes_item__c.fields.QUANTITY__c.label}</td>
|
|
|
<td class="center" style ="width: 5%;text-align: center" scope="col">{!$ObjectType.Quotes_item__c.fields.DESCRIPTION__c.label}</td>
|
<td class="center" style ="width: 2%;text-align: center" scope="col">{!$ObjectType.Quotes_item__c.fields.PRICE_LEVEL__c.label}</td>
|
|
<td class="center" style ="width: 2%;text-align: center" scope="col">{!$ObjectType.Quotes_item__c.fields.RATE__c.label}</td>
|
|
<td class="center" style ="width: 3%;text-align: center" scope="col">{!$ObjectType.Quotes_item__c.fields.AMOUNT__c.label}</td>
|
|
<td class="centerLong" style ="width: 2%;text-align: center" scope="col">{!$ObjectType.Quotes_item__c.fields.PRE_APPROVED_DISCOUNT__c.label}</td>
|
|
<td class="center" style ="width: 2%;text-align: center" scope="col">{!$ObjectType.Quotes_item__c.fields.DISCOUNTED_RATE__c.label}</td>
|
|
<td class="center" style ="width: 2%;text-align: center" scope="col">{!$ObjectType.Quotes_item__c.fields.EST_COST__c.label}</td>
|
|
<td class="centerLong" style ="width: 2%;text-align: center" scope="col">{!$ObjectType.Quotes_item__c.fields.EST_GROSS_MARGIN__c.label}</td>
|
|
<td class="center" style ="width: 2%;text-align: center" scope="col">{!$ObjectType.Quotes_item__c.fields.TAX_CODE__c.label}<span class="textRed">*</span></td>
|
|
<td class="center" style ="width: 2%;text-align: center" scope="col">{!$ObjectType.Quotes_item__c.fields.TAX_RATE__c.label}</td>
|
|
<td class="center" style ="width: 2%;text-align: center" scope="col">{!$ObjectType.Quotes_item__c.fields.TAX_AMT__c.label}</td>
|
|
<td class="center" style ="width: 2%;text-align: center" scope="col">{!$ObjectType.Quotes_item__c.fields.GROSS_AMT__c.label}</td>
|
|
<td class="center" style ="width: 4%;text-align: center" scope="col">{!$ObjectType.Quotes_item__c.fields.LOCATION__c.label}<span class="textRed">*</span></td>
|
|
<td class="center" style ="width: 2%;text-align: center" scope="col">{!$ObjectType.Quotes_item__c.fields.OPTIONS__c.label}</td>
|
|
<td class="center" style ="width: 3%;text-align: center" scope="col">{!$ObjectType.Quotes_item__c.fields.EXPECTED_SHIP_DATE__c.label}</td>
|
|
<td class="center" style ="width: 5%;text-align: center" scope="col">{!$ObjectType.Quotes_item__c.fields.ITEM_NOTE__c.label}</td>
|
|
<td class="center" style ="width: 2%;text-align: center" scope="col">{!$ObjectType.Quotes_item__c.fields.SERIALIZED__c.label}</td>
|
|
<td class="centerLong" style ="width: 3%;text-align: center" scope="col">{!$ObjectType.Quotes_item__c.fields.SWOName__c.label}</td>
|
|
|
</tr>
|
</thead>
|
</table>
|
<apex:dataTable value="{!productInfoList}" var="ProductInfo" id="theTable_content" border="2"
|
style="width:4000px;border-bottom-width: 0px; font-size:11px; border-spacing:0;text-align: left;" styleClass="list">
|
<apex:column style="width: 1%">
|
<input type="checkbox" name="checklist" value="{!ProductInfo.lineNumber}" style="width:10px;"/>
|
</apex:column>
|
<!--No -->
|
<apex:column style="width: 1%">
|
<apex:outputText id="lineNumber" value="{!ProductInfo.lineNumber}" style="resize:vertical;width: 100%"/>
|
<!-- <apex:inputText id="lineNumberDisplay" value="{!ProductInfo.quotesItemINFO.LineNumber__c}" style="display: none;"/> -->
|
<apex:inputText id="quotesItemIdDisplay" value="{!ProductInfo.quotesItemId}" style="display: none;"/>
|
</apex:column>
|
|
<!-- ProductName -->
|
<apex:column style="width: 2%">
|
<!-- <apex:inputText styleClass="centerItem" id="ProductName" value="{!ProductInfo.productName}" onclick="searchProduct('{!ProductInfo.lineNumber}',this.value)" onchange="doReroadJs('{!ProductInfo.lineNumber}');" style="resize:vertical;width: 95%">
|
|
</apex:inputText> -->
|
<apex:inputText styleClass="centerItem" id="ProductName" value="{!ProductInfo.productName}" onclick="searchProduct('{!ProductInfo.lineNumber}',this.value)" style="resize:vertical;width: 95%">
|
|
</apex:inputText>
|
<apex:inputText id="productId" value="{!ProductInfo.productId}" style="display: none;"/>
|
</apex:column>
|
<!-- ITEM -->
|
<apex:column style="width: 3%">
|
|
<apex:outputLink styleClass="centerItemLink" id="QuotesItemNameLink" value="/{!ProductInfo.quotesItemINFO.Id}" target="LINK_{!ProductInfo.quotesItemINFO.Id}" ><c:PDFWbr targetStr="{!ProductInfo.quotesItemINFO.QuotesItemName__c}"/></apex:outputLink>
|
</apex:column>
|
<!-- Part Number -->
|
<!-- align -->
|
<apex:column style="width: 3%" >
|
<apex:outputText id="PART_NUMBER" styleClass="centerItem" style="width:95%;text-align:left;" value="{!ProductInfo.quotesItemINFO.PART_NUMBERNew__c}"
|
/>
|
</apex:column>
|
<!-- ON HAND -->
|
<apex:column style="width: 2%">
|
<apex:inputField styleClass="centerItem" id="ON_HAND" style="width:95%;text-align:center;" value="{!ProductInfo.quotesItemINFO.ON_HAND__c}" />
|
</apex:column>
|
<!-- Quantity -->
|
<apex:column style="width: 2%">
|
<apex:inputText styleClass="centerItem" id="quantity" value="{!ProductInfo.quotesItemINFO.QUANTITY__c}" onchange="sum('{!ProductInfo.lineNumber}');" style="width:95%;text-align:left;">
|
|
</apex:inputText>
|
</apex:column>
|
<!-- Description -->
|
<apex:column style="width: 5%">
|
<apex:inputField id="Description" style="width:95%;text-align:left;" value="{!ProductInfo.quotesItemINFO.DESCRIPTION__c}" />
|
</apex:column>
|
<!-- PRICE LEVEL -->
|
<apex:column style="width: 2%">
|
<apex:inputField styleClass="centerItem" id="PRICE_LEVEL" style="width:95%;text-align:center;" value="{!ProductInfo.quotesItemINFO.PRICE_LEVEL__c}" />
|
</apex:column>
|
<!-- RATE -->
|
<apex:column style="width:2%">
|
<apex:inputText styleClass="centerItem" id="RATE" style="width:95%;text-align:center;" value="{!ProductInfo.quotesItemINFO.RATE__c}" onchange="sum('{!ProductInfo.lineNumber}');"/>
|
</apex:column>
|
<!-- AMOUNT -->
|
<apex:column style="width: 3%">
|
<!-- <apex:outputText styleClass="centerItem" id="AMOUNT" style="width:95%;text-align:center;" value="{!ProductInfo.quotesItemINFO.AMOUNT__c}" /> -->
|
<apex:outputText styleClass="centerItem" id="AMOUNT" style="width:95%;text-align:center;" value="{0,number,###,###,##0.00}" >
|
<apex:param value="{!ProductInfo.quotesItemINFO.AMOUNT__c}"/>
|
</apex:outputText>
|
</apex:column>
|
<!-- PRE-APPROVED_DISCOUNT -->
|
<apex:column style="width: 2%">
|
<apex:inputField styleClass="centerItem" id="PRE-APPROVED_DISCOUNT" style="width:95%;text-align:center;" value="{!ProductInfo.quotesItemINFO.PRE_APPROVED_DISCOUNT__c}" />
|
</apex:column>
|
<!-- DISCOUNTED RATE -->
|
<apex:column style="width: 2%">
|
<apex:inputField styleClass="centerItem" id="DISCOUNTED_RATE" style="width:95%;text-align:center;" value="{!ProductInfo.quotesItemINFO.DISCOUNTED_RATE__c}" />
|
</apex:column>
|
<!-- EST. COST -->
|
<apex:column style="width: 2%">
|
<apex:inputField styleClass="centerItem" id="EST_COST" style="width:95%;text-align:center;" value="{!ProductInfo.quotesItemINFO.EST_COST__c}" />
|
</apex:column>
|
<!-- EST. GROSS MARGIN -->
|
<apex:column style="width: 2%">
|
<apex:inputField styleClass="centerItem" id="EST_GROSS_MARGIN" style="width:95%;text-align:center;" value="{!ProductInfo.quotesItemINFO.EST_GROSS_MARGIN__c}" />
|
</apex:column>
|
<!-- TAX CODE -->
|
<apex:column style="width: 2%">
|
<apex:inputField styleClass="centerItem" id="TAX_CODE" style="width:95%;text-align:center;" value="{!ProductInfo.quotesItemINFO.TAX_CODE__c}" onchange="TAXCODEChangeFunction('{!ProductInfo.lineNumber}');">
|
|
</apex:inputField>
|
</apex:column>
|
<!-- TAX RATE -->
|
<apex:column style="width: 2%">
|
<apex:outputText styleClass="centerItem" id="TAX_RATE" style="width:95%;text-align:center;" value="{!ProductInfo.quotesItemINFO.TAX_RATE__c}" />
|
<apex:inputText styleClass="centerItem" id="TAX_RATEDisplay" value="{!ProductInfo.quotesItemINFO.TAX_RATE__c}" style="display: none;"/>
|
</apex:column>
|
<!-- TAX AMT -->
|
<apex:column style="width: 2%">
|
<!-- <apex:outputText styleClass="centerItem" id="TAX_AMT" style="width:95%;text-align:center;" value="{!ProductInfo.quotesItemINFO.TAX_AMT__c}" /> -->
|
<apex:outputText styleClass="centerItem" id="TAX_AMT" style="width:95%;text-align:center;" value="{0,number,###,###,##0.00}" >
|
<apex:param value="{!ProductInfo.quotesItemINFO.TAX_AMT__c}"/>
|
</apex:outputText>
|
<apex:inputText id="TAX_AMTDisplay" value="{!ProductInfo.quotesItemINFO.TAX_AMT__c}" style="display: none;"/>
|
</apex:column>
|
<!-- GROSS AMT -->
|
<apex:column style="width: 2%">
|
<!-- <apex:outputText styleClass="centerItem" id="GROSS_AMT" style="width:95%;text-align:center;" value="{!ProductInfo.quotesItemINFO.GROSS_AMT__c}" /> -->
|
<apex:outputText styleClass="centerItem" id="GROSS_AMT" style="width:95%;text-align:center;" value="{0,number,###,###,##0.00}" >
|
<apex:param value="{!ProductInfo.quotesItemINFO.GROSS_AMT__c}"/>
|
</apex:outputText>
|
<apex:inputText id="GROSS_AMTDisplay" value="{!ProductInfo.quotesItemINFO.GROSS_AMT__c}" style="display: none;"/>
|
</apex:column>
|
<!-- LOCATION -->
|
<apex:column style="width: 4%">
|
<apex:inputField styleClass="centerItem" id="LOCATION" style="width:95%;text-align:center;" value="{!ProductInfo.quotesItemINFO.LOCATION__c}" />
|
</apex:column>
|
<!-- OPTIONS -->
|
<apex:column style="width: 2%">
|
<apex:inputField styleClass="centerItem" id="OPTIONS" style="width:95%;text-align:center;" value="{!ProductInfo.quotesItemINFO.OPTIONS__c}" />
|
</apex:column>
|
<!-- EXPECTED SHIP DATE -->
|
<apex:column style="width: 3%">
|
<apex:inputField styleClass="centerItem" id="EXPECTED_SHIP_DATE" style="width:50%;text-align:center;" value="{!ProductInfo.quotesItemINFO.EXPECTED_SHIP_DATE__c}" />
|
</apex:column>
|
<!-- ITEM NOTE -->
|
<apex:column style="width: 5%">
|
<apex:inputField styleClass="centerItem" id="ITEM_NOTE" style="width:95%;text-align:center;" value="{!ProductInfo.quotesItemINFO.ITEM_NOTE__c}" />
|
</apex:column>
|
<!-- SERIALIZED -->
|
<apex:column style="width: 2%">
|
<apex:inputField styleClass="centerItem" id="SERIALIZED" style="width:95%;text-align:center;" value="{!ProductInfo.quotesItemINFO.SERIALIZED__c}" />
|
</apex:column>
|
<!-- SERVICE WORK ORDER -->
|
<apex:column style="width: 3%">
|
|
<apex:outputLink styleClass="centerItem" value="/{!ProductInfo.quotesItemINFO.SERVICE_WORK_ORDER__c}" target="LINK_{!ProductInfo.quotesItemINFO.SERVICE_WORK_ORDER__c}" ><c:PDFWbr targetStr="{!ProductInfo.quotesItemINFO.SWOName__c}"/></apex:outputLink>
|
</apex:column>
|
|
</apex:dataTable>
|
</div>
|
</DIV>
|
</apex:outputPanel>
|
</apex:pageblocksection>
|
|
<apex:pageblocksection columns="1" title="Mail_Merge" id="Mail_Merge" >
|
<apex:pageBlockSection >
|
<apex:outputPanel >
|
<br/>
|
<apex:commandButton id="openPDF" value="Mail" onclick="openPDF();return false;" style="width: 5%" />
|
|
<br/>
|
<table id="mailTable" border="0" style="width: 1100PX">
|
<colgroup>
|
<col width="1%"/>
|
<col width="9%"/>
|
<col width="4%"/>
|
<col width="25%"/>
|
<col width="1%"/>
|
<col width="12%"/>
|
<col width="12%"/>
|
<col width="2%"/>
|
<col width="5%"/>
|
<col width="1%"/>
|
</colgroup>
|
<tr style="background-color: #ccc;font-size:14px;line-height: 20px;width: 98%;">
|
|
<th>VIEW</th>
|
<th>DATE</th>
|
<th>AUTHOR</th>
|
<th>MESSAGE</th>
|
<th>EMAIL SENT</th>
|
<th>PRIMARY RECIPIENT</th>
|
<th>CC</th>
|
<th>FILES</th>
|
<th>ATTACHMENTS</th>
|
<th>INTERNAL ONLY</th>
|
</tr>
|
<apex:repeat value="{!mailList}" var="mail" id="lines">
|
<tr>
|
<td><apex:outputLink value="/apex/SendEmail?id={!mail.mm.ID}&type=Quotes&typeid={!Id}&openType=View">View</apex:outputLink> <apex:outputLink value="/apex/SendEmail?id={!mail.mm.ID}&type=Quotes&typeid={!Id}&openType=Reply">Reply</apex:outputLink></td>
|
<td><apex:outputField value="{!mail.mm.DATE__c}" /></td>
|
<td><apex:outputField value="{!mail.mm.FROM__c}" /></td>
|
<td><apex:outputField value="{!mail.mm.MESSAGE__c}" /></td>
|
<td><apex:outputText value="{!mail.mm.EMAIL_SENT__c}" /></td>
|
<td><apex:outputField value="{!mail.mm.toName__c}" /></td>
|
<td><apex:outputField value="{!mail.mm.ccName__c}" /></td>
|
<td><apex:outputText value="{!mail.haveAtt}" /></td>
|
<td>
|
<apex:repeat value="{!mail.attList}" var="att" id="lines">
|
<apex:outputLink value="/{!att.Id}" target="LINK_{!att.Id}"><c:PDFWbr targetStr="{!att.Name}" /></apex:outputLink>
|
<br/>
|
</apex:repeat>
|
</td>
|
<td><apex:outputText value="YES" /></td>
|
</tr>
|
|
</apex:repeat>
|
|
</table>
|
</apex:outputPanel>
|
</apex:pageBlockSection>
|
</apex:pageblocksection>
|
<apex:commandButton onclick="save2btn();return false;" value="Save" oncomplete="unblockUI();" style="width:5%;" rerender="dummy" />
|
</apex:pageBlock>
|
|
<table border="0">
|
</table>
|
</apex:form>
|
<!-- <apex:relatedList list="ProcessSteps"/> -->
|
</apex:page>
|