projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[0003305] Direct Purchase Invoice: added link to payment entry on final page.
[fa-stable.git]
/
manufacturing
/
work_order_costs.php
diff --git
a/manufacturing/work_order_costs.php
b/manufacturing/work_order_costs.php
index 87c59fe2723a6970bf2a3a1a1ec4f6867ac1797d..a76c5f5e0d90163e5affd6def3a226f039d34fdc 100644
(file)
--- a/
manufacturing/work_order_costs.php
+++ b/
manufacturing/work_order_costs.php
@@
-12,17
+12,16
@@
$page_security = 'SA_WORKORDERCOST';
$path_to_root = "..";
include_once($path_to_root . "/includes/session.inc");
$page_security = 'SA_WORKORDERCOST';
$path_to_root = "..";
include_once($path_to_root . "/includes/session.inc");
+include_once($path_to_root . "/includes/inventory.inc");
include_once($path_to_root . "/includes/date_functions.inc");
include_once($path_to_root . "/gl/includes/db/gl_db_bank_trans.inc");
include_once($path_to_root . "/includes/date_functions.inc");
include_once($path_to_root . "/gl/includes/db/gl_db_bank_trans.inc");
-include_once($path_to_root . "/includes/db/inventory_db.inc");
-include_once($path_to_root . "/includes/manufacturing.inc");
include_once($path_to_root . "/manufacturing/includes/manufacturing_db.inc");
include_once($path_to_root . "/manufacturing/includes/manufacturing_ui.inc");
$js = "";
include_once($path_to_root . "/manufacturing/includes/manufacturing_db.inc");
include_once($path_to_root . "/manufacturing/includes/manufacturing_ui.inc");
$js = "";
-if ($use_popup_windows)
+if ($
SysPrefs->
use_popup_windows)
$js .= get_js_open_window(900, 500);
if (user_use_date_picker())
$js .= get_js_date_picker();
$js .= get_js_open_window(900, 500);
if (user_use_date_picker())
$js .= get_js_date_picker();
@@
-118,7
+117,7
@@
display_wo_details($_POST['selected_id']);
//-------------------------------------------------------------------------------------
if (!isset($_POST['ref']))
//-------------------------------------------------------------------------------------
if (!isset($_POST['ref']))
- $_POST['ref'] = $Refs->get_next(ST_JOURNAL);
+ $_POST['ref'] = $Refs->get_next(ST_JOURNAL
, null, get_post('date_')
);
start_form();
start_form();