Error message displayed when no report file is found.
[fa-stable.git] / purchasing / supplier_invoice.php
index 6b24fe279700c587cfd3031cb5a1666ee0ad85d6..6c2a5ea2f5cbb32852fd309d61bde5a1548bd938 100644 (file)
@@ -65,8 +65,6 @@ if (isset($_GET['New']))
                unset ($_SESSION['supp_trans']);
        }
 
-       //session_register("SuppInv");
-       session_register("supp_trans");
        $_SESSION['supp_trans'] = new supp_trans;
        $_SESSION['supp_trans']->is_invoice = true;
 }
@@ -354,8 +352,6 @@ invoice_header($_SESSION['supp_trans']);
 if ($_POST['supplier_id']=='') 
        display_error('No supplier found for entered search text');
 else {
-       start_outer_table("$table_style2 width=98%", 5);
-
        display_grn_items($_SESSION['supp_trans'], 1);
 
        display_gl_items($_SESSION['supp_trans'], 1);
@@ -364,7 +360,6 @@ else {
        invoice_totals($_SESSION['supp_trans']);
        div_end();
 
-       end_outer_table(0, false);
 }
 
 //-----------------------------------------------------------------------------------------