0000593,0001093: Prepayments made against orders implemented.
[fa-stable.git] / reporting / rep401.php
index fc1468fcc44dd15ece2d9625a58ca6c128d50c2a..341c2247a6655562c764e09d178f917de72bb363 100644 (file)
@@ -9,7 +9,7 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
     See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
 ***********************************************************************/
-$page_security = 2;
+$page_security = 'SA_BOMREP';
 // ----------------------------------------------------------------
 // $ Revision: 2.0 $
 // Creator:    Joe Hunt
@@ -77,7 +77,7 @@ function print_bill_of_material()
 
     $rep->Font();
     $rep->Info($params, $cols, $headers, $aligns);
-    $rep->Header();
+    $rep->NewPage();
 
        $res = getTransactions($frompart, $topart);
        $parent = '';