Fixed typo in Suppliers Report.
[fa-stable.git] / reporting / rep409.php
index 7db6a4ef2b7255408371f20be0a49d56aeb28981..218f07faa59191b84f20cdda2c54c61325e2bb59 100644 (file)
@@ -72,7 +72,6 @@ function print_workorders()
                        $rep->title = _('WORK ORDER');
                        $rep->filename = "WorkOrder" . $myrow['wo_ref'] . ".pdf";
                }
-               $rep->SetHeaderType('Header2');
                $rep->currency = $cur;
                $rep->Font();
                $rep->Info($params, $cols, null, $aligns);
@@ -81,6 +80,7 @@ function print_workorders()
                        'name' => $myrow['contact'], 'name2' => '', 'contact');
 
                $rep->SetCommonData($myrow, null, null, '', 26, $contact);
+               $rep->SetHeaderType('Header2');
                $rep->NewPage();
 
                $result = get_wo_requirements($i);
@@ -145,4 +145,3 @@ function print_workorders()
                $rep->End();
 }
 
-?>
\ No newline at end of file