X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=purchasing%2Fallocations%2Fsupplier_allocate.php;h=10942e7affc529f4c8d4b7a29bcd85f4f5c1a72f;hb=a001646bef2b971535791d4e67b8565684d6de24;hp=80e235576b01885a97bd1b252d2dd09ca7a7b6f1;hpb=5b8f4c4b4aa8cf996bc071f116bfce1273200fa2;p=fa-stable.git diff --git a/purchasing/allocations/supplier_allocate.php b/purchasing/allocations/supplier_allocate.php index 80e23557..10942e7a 100644 --- 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 = ""; -if ($use_popup_windows) +if ($SysPrefs->use_popup_windows) $js .= get_js_open_window(900, 500); add_js_file('allocate.js'); @@ -92,7 +92,7 @@ if (isset($_POST['Process'])) { if (check_allocations()) { - $_SESSION['alloc']->write(); + write_supp_allocation($_SESSION['alloc']); clear_allocations(); $_POST['Cancel'] = 1; }