Two new fields in company table, accumulate_shipping and logal_text
[fa-stable.git] / reporting / includes / header2.inc
index 9ee5b8136533adfcb9df7d9c911c5729518685ed..f1cadabb2becb31115a859647b389fbb7d2aabd4 100644 (file)
                        $this->TextWrap($ccol, $this->row, $right - $ccol, $this->params['comments'], 'C');
                        $this->NewLine();
                }
+               $legal = get_company_pref('legal_text');
+               if ($doctype == 10 && $legal != "") 
+               {
+                       $this->TextWrap($ccol, $this->row, $right - $ccol, $legal, 'C');
+                       $this->NewLine();
+               }
                $this->Font();
                $temp = $iline6 - $this->lineHeight - 2;
 ?>
\ No newline at end of file