X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Fincludes%2Fheader2.inc;h=2f23a36ac719b2a5d0ccb1a06dfc3b7315269334;hb=e8f8879003c1918b59e6da26be7f3927115ec21f;hp=c71ce254f49cc9b2dc3c87d2e3dbc071f81fff20;hpb=45b9663b6305cb70c2f3f1782406232d3ed0d755;p=fa-stable.git diff --git a/reporting/includes/header2.inc b/reporting/includes/header2.inc index c71ce254..2f23a36a 100644 --- a/reporting/includes/header2.inc +++ b/reporting/includes/header2.inc @@ -1,13 +1,13 @@ . + See the License here . ***********************************************************************/ $this->row = $this->pageHeight - $this->topMargin; @@ -189,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)