X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Fincludes%2Fheader2.inc;h=2f23a36ac719b2a5d0ccb1a06dfc3b7315269334;hb=e8f8879003c1918b59e6da26be7f3927115ec21f;hp=3f7986bf6882a3df874a1aaae9b46bf138ad717d;hpb=a254199b8f60c441de8b5154c2a9a9ab2a4d95e3;p=fa-stable.git diff --git a/reporting/includes/header2.inc b/reporting/includes/header2.inc index 3f7986bf..2f23a36a 100644 --- a/reporting/includes/header2.inc +++ b/reporting/includes/header2.inc @@ -1,4 +1,14 @@ . +***********************************************************************/ $this->row = $this->pageHeight - $this->topMargin; @@ -179,7 +189,9 @@ $this->TextWrap($col, $this->row, $width, $doc_Due_Date, 'C'); $this->row = $iline3 - $this->lineHeight - 1; $col = $this->leftMargin; - if (isset($sales_order["customer_ref"])) + if ($doctype == 8) + $this->TextWrap($col, $this->row, $width, $myrow['supp_account_no'], 'C'); + elseif (isset($sales_order["customer_ref"])) $this->TextWrap($col, $this->row, $width, $sales_order["customer_ref"], 'C'); $col += $width; if ($branch != null)