Skip to content

Commit

Permalink
http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7399
Browse files Browse the repository at this point in the history
  • Loading branch information
joebordes committed Jun 5, 2014
1 parent 6db1806 commit d0bb412
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions modules/SalesOrder/SalesOrderPDFController.php
Expand Up @@ -27,8 +27,6 @@ function getHeaderViewer() {

function buildHeaderModelColumnLeft() {
$modelColumnLeft = parent::buildHeaderModelColumnLeft();
$modelColumnLeft['fieldlabel'] = getTranslatedString('Quote Name', $this->moduleName);
$modelColumnLeft['fieldvalue'] = $this->resolveReferenceLabel($this->focusColumnValue('quote_id'), 'Quotes');
return $modelColumnLeft;
}

Expand All @@ -37,17 +35,20 @@ function buildHeaderModelColumnCenter() {
$customerName = $this->resolveReferenceLabel($this->focusColumnValue('account_id'), 'Accounts');
$contactName = $this->resolveReferenceLabel($this->focusColumnValue('contact_id'), 'Contacts');
$purchaseOrder = $this->focusColumnValue('vtiger_purchaseorder');
$quote = $this->resolveReferenceLabel($this->focusColumnValue('quote_id'), 'Quotes');

$subjectLabel = getTranslatedString('Subject', $this->moduleName);
$customerNameLabel = getTranslatedString('Customer Name', $this->moduleName);
$contactNameLabel = getTranslatedString('Contact Name', $this->moduleName);
$purchaseOrderLabel = getTranslatedString('Purchase Order', $this->moduleName);
$quoteLabel = getTranslatedString('Quote Name', $this->moduleName);

$modelColumn1 = array(
$subjectLabel => $subject,
$customerNameLabel => $customerName,
$contactNameLabel => $contactName,
$purchaseOrderLabel => $purchaseOrder
//$purchaseOrderLabel => $purchaseOrder,
$quoteLabel => $quote
);
return $modelColumn1;
}
Expand Down

0 comments on commit d0bb412

Please sign in to comment.