More fixes to changed access system, activated js confirm dialogs.
[fa-stable.git] / sales / allocations / customer_allocation_main.php
index 5e7d292a872f817b2bc516412fa4fa6105f9c882..4bc5cef61f31d7e617292f5da95a0c51db8bb8f9 100644 (file)
@@ -9,8 +9,8 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
     See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
 ***********************************************************************/
-$path_to_root="../..";
-$page_security = 3;
+$page_security = 'SA_SALESALLOC';
+$path_to_root = "../..";
 include($path_to_root . "/includes/db_pager.inc");
 include_once($path_to_root . "/includes/session.inc");
 
@@ -22,7 +22,6 @@ if ($use_popup_windows)
 page(_("Customer Allocations"), false, false, "", $js);
 
 //--------------------------------------------------------------------------------
-set_editor('customer', 'customer_id' , 'ShowSettled');
 
 start_form();
        /* show all outstanding receipts and credits to be allocated */