Added print document options in inquiries.
[fa-stable.git] / purchasing / supplier_credit.php
index af63044b64f211062dc3caba03c7a1cc966fcba3..680c988b1f5195ce532c7f8ee2741f2f5f7b5756 100644 (file)
@@ -2,11 +2,11 @@
 
 $path_to_root="..";
 
-include($path_to_root . "/purchasing/includes/supp_trans_class.inc");
+include_once($path_to_root . "/purchasing/includes/supp_trans_class.inc");
 
 $page_security=5;
 
-include($path_to_root . "/includes/session.inc");
+include_once($path_to_root . "/includes/session.inc");
 
 include_once($path_to_root . "/includes/data_checks.inc");
 
@@ -15,6 +15,8 @@ include_once($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 Credit Note"), false, false, "", $js);
 
 //----------------------------------------------------------------------------------------