Merged changes from stable branch up to 2.3.23.
[fa-stable.git] / reporting / rep409.php
index b2ddd39da55f8598c2953274ac2d5c8ed304ba57..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);