projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup in types.inc
[fa-stable.git]
/
purchasing
/
allocations
/
supplier_allocate.php
diff --git
a/purchasing/allocations/supplier_allocate.php
b/purchasing/allocations/supplier_allocate.php
index 80e235576b01885a97bd1b252d2dd09ca7a7b6f1..10942e7affc529f4c8d4b7a29bcd85f4f5c1a72f 100644
(file)
--- a/
purchasing/allocations/supplier_allocate.php
+++ b/
purchasing/allocations/supplier_allocate.php
@@
-21,7
+21,7
@@
include_once($path_to_root . "/sales/includes/sales_db.inc");
//include_once($path_to_root . "/purchasing/includes/ui/supp_alloc_ui.inc");
$js = "";
//include_once($path_to_root . "/purchasing/includes/ui/supp_alloc_ui.inc");
$js = "";
-if ($use_popup_windows)
+if ($
SysPrefs->
use_popup_windows)
$js .= get_js_open_window(900, 500);
add_js_file('allocate.js');
$js .= get_js_open_window(900, 500);
add_js_file('allocate.js');
@@
-92,7
+92,7
@@
if (isset($_POST['Process']))
{
if (check_allocations())
{
{
if (check_allocations())
{
-
$_SESSION['alloc']->write(
);
+
write_supp_allocation($_SESSION['alloc']
);
clear_allocations();
$_POST['Cancel'] = 1;
}
clear_allocations();
$_POST['Cancel'] = 1;
}