Access control system description.
[fa-stable.git] / reporting / includes / header2.inc
index 5755b627e984e118903b552788c061cc9314c537..7fae9f64fa2a5dac79f9dff8629be2c7adf28a1e 100644 (file)
                $col += $width;
                if ($doctype == 26)
                        $this->TextWrap($col, $this->row, $width, sql2date($myrow["required_by"]), 'C');
-               else
+               elseif (!isset($packing_slip) || $packing_slip == 0)
                {
                        $id = $myrow['payment_terms'];
                        $sql = "SELECT terms FROM ".TB_PREF."payment_terms WHERE terms_indicator='$id'";