if (!isset($_POST['stock_id']))
$_POST['stock_id'] = get_global_stock_item();
-start_table("class='tablestyle_noborder'");
-
+start_table(TABLESTYLE_NOBORDER);
+start_row();
stock_items_list_cells(_("Item:"), 'stock_id', $_POST['stock_id']);
+end_row();
+end_table();
+
+start_table(TABLESTYLE_NOBORDER);
+start_row();
locations_list_cells(_("From Location:"), 'StockLocation', null);
date_cells(_("To:"), 'BeforeDate');
submit_cells('ShowMoves',_("Show Movements"),'',_('Refresh Inquiry'), 'default');
+end_row();
end_table();
end_form();
$_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"));