Fixed typo in Suppliers Report.
[fa-stable.git] / reporting / rep409.php
index 20f9dae488d9a076cad80e8498a3853254d310a6..218f07faa59191b84f20cdda2c54c61325e2bb59 100644 (file)
@@ -38,7 +38,6 @@ function print_workorders()
        $comments = $_POST['PARAM_3'];
        $orientation = $_POST['PARAM_4'];
 
-
        if (!$from || !$to) return;
 
        $orientation = ($orientation ? 'L' : 'P');
@@ -73,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);
@@ -82,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);
@@ -146,4 +145,3 @@ function print_workorders()
                $rep->End();
 }
 
-?>
\ No newline at end of file