From: Joe Hunt Date: Thu, 26 Nov 2009 22:30:41 +0000 (+0000) Subject: Minor fix X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=0ee206bd053e79d8fbe95a135c8160625613e26b;p=textcart.git Minor fix --- diff --git a/reporting/includes/header2.inc b/reporting/includes/header2.inc index 386f6d6..c4cff63 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'); }