X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep409.php;h=73a384813bc9bfb4d0e008180ce92052099a43a8;hb=d1babda7c01b314d35fb89f2d195553b55936532;hp=19122ed21df39d11fd5304c0f092037fa02525af;hpb=bc3bd9da4239732574b92842d5573e3316c749de;p=fa-stable.git diff --git a/reporting/rep409.php b/reporting/rep409.php index 19122ed2..73a38481 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); @@ -122,4 +121,3 @@ function print_workorders() $rep->End(); } -?> \ No newline at end of file