Replaced the global variables for table styles to defined CSS classes.
[fa-stable.git] / inventory / inquiry / stock_movements.php
index e8f6a25778af0558c6660fc9003374e7f62e0b0f..020ab3f4fedec8ee9373337fc921f5a26b7d1f98 100644 (file)
@@ -44,7 +44,7 @@ start_form();
 if (!isset($_POST['stock_id']))
        $_POST['stock_id'] = get_global_stock_item();
 
-start_table("class='tablestyle_noborder'");
+start_table(TABLESTYLE_NOBORDER);
 
 stock_items_list_cells(_("Item:"), 'stock_id', $_POST['stock_id']);
 
@@ -66,7 +66,7 @@ $result = get_stock_movements($_POST['stock_id'], $_POST['StockLocation'],
        $_POST['BeforeDate'], $_POST['AfterDate']);
 
 div_start('doc_tbl');
-start_table($table_style);
+start_table(TABLESTYLE);
 $th = array(_("Type"), _("#"), _("Reference"), _("Date"), _("Detail"),
        _("Quantity In"), _("Quantity Out"), _("Quantity On Hand"));