From: Joe Hunt Date: Thu, 26 Nov 2009 22:30:41 +0000 (+0000) Subject: Minor fix X-Git-Tag: 2.3-final~1117 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=77f9a6d91a73cb22aed50fbc285120312c9ff1b5;p=fa-stable.git Minor fix --- diff --git a/reporting/includes/header2.inc b/reporting/includes/header2.inc index 386f6d6a..c4cff631 100644 --- a/reporting/includes/header2.inc +++ b/reporting/includes/header2.inc @@ -245,8 +245,6 @@ $ref = get_reference(ST_CUSTDELIVERY, $delivery); if ($ref) $delivery = $ref; - else - continue; } if ($line == "") $line .= "$delivery"; @@ -257,12 +255,12 @@ } elseif ($doctype == 13) { - $ref = $myrow['order_']; + $ref = ""; if ($print_invoice_no == 0) { $ref = get_reference(ST_SALESORDER, $myrow['order_']); if (!$ref) - $ref = ""; + $ref = $myrow['order_']; } $this->TextWrap($col, $this->row, $width, $ref, 'C'); }