Voiding PO GRN's could be dangerous, if deliveries have been done. Eliminating it...
[fa-stable.git] / purchasing / includes / ui / invoice_ui.inc
index 13115116c927a32d5d96b939b86ec8155426554d..196db747f322249719b6716d1cfd413a82d9e63e 100644 (file)
@@ -186,7 +186,6 @@ function display_gl_items(&$supp_trans, $mode=0)
        echo "</td></tr><tr><td>"; // ouer table
 
        div_start('gl_items');
-       start_form();
        echo "<table width=100% $table_style>";
 
        $dim = get_company_pref('use_dimension');
@@ -245,12 +244,11 @@ function display_gl_items(&$supp_trans, $mode=0)
                "colspan=".$colspan." align=right", "nowrap align=right");
 
        echo "</table>";
+       div_end();
 
     echo "</td></tr>";
 
     end_table(); // outertable
-       end_form();
-       div_end();
        return $total_gl_value;
 }
 
@@ -298,7 +296,6 @@ function display_grn_items(&$supp_trans, $mode=0)
        echo "</td></tr><tr><td>"; // outer table
 
   div_start('grn_items');
-  start_form();
        echo "<table width=100% $table_style>";
        $th = array(_("Delivery Sequence #"), _("Item"), _("Description"),
                _("Quantity"), _("Price"), _("Line Value"));
@@ -343,8 +340,7 @@ function display_grn_items(&$supp_trans, $mode=0)
        label_row(_("Total"), price_format($total_grn_value),
                "colspan=5 align=right", "nowrap align=right");
     echo "</table>";
-  end_form();
-  div_end();
+    div_end();
     echo "</td></tr>";
 
     end_table(); // outertable