Changed API for input/lists functions, added empty hints when needed
[fa-stable.git] / purchasing / inquiry / supplier_inquiry.php
index bb6aa4403538aec2d2016fd64072ca186b463b02..09e599266ec962923ad21bc78511f0202db0c0ac 100644 (file)
@@ -9,6 +9,8 @@ include($path_to_root . "/purchasing/includes/purchasing_ui.inc");
 $js = "";
 if ($use_popup_windows)
        $js .= get_js_open_window(900, 500);
+if ($use_date_picker)
+       $js .= get_js_date_picker();
 page(_("Supplier Inquiry"), false, false, "", $js);
 
 if (isset($_GET['supplier_id'])){
@@ -33,7 +35,7 @@ start_row();
 
 supplier_list_cells(_("Select a supplier:"), 'supplier_id', null, true);
 
-date_cells(_("From:"), 'TransAfterDate', null, -30);
+date_cells(_("From:"), 'TransAfterDate', '', null, -30);
 date_cells(_("To:"), 'TransToDate');
 
 supp_allocations_list_cells("filterType", null);