[0000225] Supplier Payment Report showing paid invoices (rounding problem)
[fa-stable.git] / purchasing / supplier_invoice.php
index 3440678189c5c6a8f76c1007840e1851d0f76bb6..3dde32cddf02662221a154f8ebcf7f2e3766b47e 100644 (file)
@@ -66,7 +66,7 @@ if (isset($_GET['New']))
        }
 
        //session_register("SuppInv");
-       session_register("supp_trans");
+       //session_register("supp_trans");
        $_SESSION['supp_trans'] = new supp_trans;
        $_SESSION['supp_trans']->is_invoice = true;
 }
@@ -381,10 +381,8 @@ start_form();
 invoice_header($_SESSION['supp_trans']);
 
 if ($_POST['supplier_id']=='') 
-       display_error('No supplier found for entered search text');
+               display_error(_("There is no supplier selected."));
 else {
-       start_outer_table("$table_style2 width=98%", 5);
-
        display_grn_items($_SESSION['supp_trans'], 1);
 
        display_gl_items($_SESSION['supp_trans'], 1);
@@ -393,7 +391,6 @@ else {
        invoice_totals($_SESSION['supp_trans']);
        div_end();
 
-       end_outer_table(0, false);
 }
 
 //-----------------------------------------------------------------------------------------