X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep409.php;h=218f07faa59191b84f20cdda2c54c61325e2bb59;hb=17b390efcf904072b02ec866b2a427490471a260;hp=20f9dae488d9a076cad80e8498a3853254d310a6;hpb=40da959b32eb27fcb0422207a284eed13cc27d7e;p=fa-stable.git diff --git a/reporting/rep409.php b/reporting/rep409.php index 20f9dae4..218f07fa 100644 --- a/reporting/rep409.php +++ b/reporting/rep409.php @@ -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