migrate test database from 3.x
[freeside.git] / FS-Test / share / output / edit / part_pkg.cgi / 2
index 21bf1f2..be65b46 100644 (file)
@@ -1,7 +1,4 @@
-
-
-
-  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 <HTML>
   <HEAD>
     <TITLE>
@@ -28,7 +25,7 @@
 <SCRIPT TYPE="text/javascript">
 
   function about_freeside() {
-    overlib( OLiframeContent('http://localhost/freeside/docs/about.html', 300, 375, 'popup-0000000000-0000-000000000.000000', 0, 'auto' ), CAPTION, 'About', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK, BGCOLOR, '#7e0079', CGCOLOR, '#7e0079', CLOSETEXT, 'Close'); 
+    overlib( OLiframeContent('http://localhost/freeside/docs/about.html', 300, 375, 'popup-0000000000-0000-000000000.000000', 0, 'auto' ), CAPTION, 'About', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK, BGCOLOR, '#7e0079', CGCOLOR, '#7e0079', FGCOLOR, '#f8f8f8', CLOSETEXT, 'Close'); 
   }
 
   webfxMenuImagePath      = "http://localhost/freeside/images/";
@@ -87,6 +84,7 @@ myMenu3.add(new WebFXMenuItem("Signup date report", "http://localhost/freeside/g
 myMenu3.add(new WebFXMenuItem("Advanced customer reports", "http://localhost/freeside/search/report_cust_main.html", "by status, signup date, agent, etc." ));
 myMenu3.add(new WebFXMenuSeparator());
 myMenu3.add(new WebFXMenuItem("Customer contacts", "http://localhost/freeside/search/report_contact.html?link=cust_main", "" ));
+myMenu3.add(new WebFXMenuItem("Customer stored payment information", "http://localhost/freeside/search/report_cust_payby.html", "" ));
 myMenu3.width = 256;
 
 myMenu0.add(new WebFXMenuItem("Customers", null, "Customer reports", myMenu3 ));
@@ -308,72 +306,74 @@ myMenu30.width = 256;
 myMenu0.add(new WebFXMenuItem("Tickets", null, "Ticket reports", myMenu30 ));
 var myMenu32 = new WebFXMenu;
 myMenu32.emptyText = '';
-myMenu32.add(new WebFXMenuItem("Employee Commission Report", "http://localhost/freeside/search/report_employee_commission.html", "" ));
-myMenu32.add(new WebFXMenuItem("Employee Audit Report", "http://localhost/freeside/search/report_employee_audit.html", "Employee audit report" ));
-myMenu32.width = 256;
-
-myMenu0.add(new WebFXMenuItem("Employees", null, "Employee reports", myMenu32 ));
 var myMenu33 = new WebFXMenu;
 myMenu33.emptyText = '';
-myMenu33.add(new WebFXMenuItem("All billing events", "http://localhost/freeside/search/report_cust_event.html", "All billing events for a date range" ));
-myMenu33.add(new WebFXMenuItem("Billing event errors", "http://localhost/freeside/search/report_cust_event.html?failed=1", "Failed credit cards, processor or printer problems, etc." ));
+myMenu33.add(new WebFXMenuItem("Sales, Credits and Receipts", "http://localhost/freeside/graph/report_money_time.html", "Sales, credits and receipts summary graph" ));
+myMenu33.add(new WebFXMenuItem("Daily Sales, Credits and Receipts", "http://localhost/freeside/graph/report_money_time_daily.html", "Sales, credits and receipts (broken down by day) summary graph" ));
+myMenu33.add(new WebFXMenuItem("Sales Report", "http://localhost/freeside/graph/report_cust_bill_pkg.html", "Sales report and graph (by agent, package class and/or date range)" ));
+myMenu33.add(new WebFXMenuItem("Rated Call Sales Report", "http://localhost/freeside/graph/report_cust_bill_pkg_detail.html", "Sales report and graph (by agent, package class, usage class and/or date range)" ));
+myMenu33.add(new WebFXMenuItem("Sales with Advertising Source", "http://localhost/freeside/search/report_cust_bill_pkg_referral.html", "" ));
 myMenu33.width = 256;
 
-myMenu0.add(new WebFXMenuItem("Billing events", null, "Billing events", myMenu33 ));
+myMenu32.add(new WebFXMenuItem("Sales", null, "Sales reports", myMenu33 ));
 var myMenu34 = new WebFXMenu;
 myMenu34.emptyText = '';
+myMenu34.add(new WebFXMenuItem("Agent", "http://localhost/freeside/search/report_agent_commission.html", "" ));
+myMenu34.add(new WebFXMenuItem("Agent per package", "http://localhost/freeside/search/report_agent_commission_pkg.html", "" ));
+myMenu34.add(new WebFXMenuItem("Sales Person", "http://localhost/freeside/search/report_sales_commission.html", "" ));
+myMenu34.add(new WebFXMenuItem("Sales Person per package", "http://localhost/freeside/search/report_sales_commission_pkg.html", "" ));
+myMenu34.add(new WebFXMenuItem("Employee", "http://localhost/freeside/search/report_employee_commission.html", "" ));
+myMenu34.width = 256;
+
+myMenu32.add(new WebFXMenuItem("Commissions", null, "Commission reports", myMenu34 ));
 var myMenu35 = new WebFXMenu;
 myMenu35.emptyText = '';
-myMenu35.add(new WebFXMenuItem("Sales, Credits and Receipts", "http://localhost/freeside/graph/report_money_time.html", "Sales, credits and receipts summary graph" ));
-myMenu35.add(new WebFXMenuItem("Daily Sales, Credits and Receipts", "http://localhost/freeside/graph/report_money_time_daily.html", "Sales, credits and receipts (broken down by day) summary graph" ));
-myMenu35.add(new WebFXMenuItem("Sales Report", "http://localhost/freeside/graph/report_cust_bill_pkg.html", "Sales report and graph (by agent, package class and/or date range)" ));
-myMenu35.add(new WebFXMenuItem("Rated Call Sales Report", "http://localhost/freeside/graph/report_cust_bill_pkg_detail.html", "Sales report and graph (by agent, package class, usage class and/or date range)" ));
-myMenu35.add(new WebFXMenuItem("Sales with Advertising Source", "http://localhost/freeside/search/report_cust_bill_pkg_referral.html", "" ));
+myMenu35.add(new WebFXMenuItem("Credit Report", "http://localhost/freeside/search/report_cust_credit.html", "Credit report (by employee and/or date range)" ));
+myMenu35.add(new WebFXMenuItem("Credit package source detail", "http://localhost/freeside/search/report_cust_credit_source_bill_pkg.html", "Line-item detail for triggered package credits" ));
+myMenu35.add(new WebFXMenuItem("Credit application detail", "http://localhost/freeside/search/report_cust_credit_bill_pkg.html", "Line item application detail" ));
+myMenu35.add(new WebFXMenuItem("Unapplied Credits", "http://localhost/freeside/search/report_cust_credit.html?unapplied=1", "Unapplied credit report (by type and/or date range)" ));
+myMenu35.add(new WebFXMenuItem("Voided Credits", "http://localhost/freeside/search/report_cust_credit_void.html", "Voided credit report (by employee and/or date range)" ));
 myMenu35.width = 256;
 
-myMenu34.add(new WebFXMenuItem("Sales", null, "Sales reports", myMenu35 ));
+myMenu32.add(new WebFXMenuItem("Credits", null, "Credit reports", myMenu35 ));
 var myMenu36 = new WebFXMenu;
 myMenu36.emptyText = '';
-myMenu36.add(new WebFXMenuItem("Credit Report", "http://localhost/freeside/search/report_cust_credit.html", "Credit report (by employee and/or date range)" ));
-myMenu36.add(new WebFXMenuItem("Credit application detail", "http://localhost/freeside/search/report_cust_credit_bill_pkg.html", "Line item application detail" ));
-myMenu36.add(new WebFXMenuItem("Unapplied Credits", "http://localhost/freeside/search/report_cust_credit.html?unapplied=1", "Unapplied credit report (by type and/or date range)" ));
-myMenu36.add(new WebFXMenuItem("Voided Credits", "http://localhost/freeside/search/report_cust_credit_void.html", "Voided credit report (by employee and/or date range)" ));
+myMenu36.add(new WebFXMenuItem("Refund Report", "http://localhost/freeside/search/report_cust_refund.html", "Refund report (by type and/or date range)" ));
+myMenu36.add(new WebFXMenuItem("Unapplied Refunds", "http://localhost/freeside/search/report_cust_refund.html?unapplied=1", "Unapplied refund report (by type and/or date range)" ));
 myMenu36.width = 256;
 
-myMenu34.add(new WebFXMenuItem("Credits", null, "Credit reports", myMenu36 ));
+myMenu32.add(new WebFXMenuItem("Refunds", null, "Refund reports", myMenu36 ));
+myMenu32.add(new WebFXMenuItem("A/R Aging", "http://localhost/freeside/search/report_receivables.html", "Accounts Receivable Aging report" ));
+myMenu32.add(new WebFXMenuItem("Prepaid Income", "http://localhost/freeside/search/report_prepaid_income.html", "Prepaid income (unearned revenue)  report" ));
+myMenu32.add(new WebFXMenuItem("Tax Liability", "http://localhost/freeside/search/report_tax.html", "Tax liability report (internal tax data)" ));
+myMenu32.add(new WebFXMenuItem("E911 Fee Summary", "http://localhost/freeside/search/report_e911.html", "E911 fee summary" ));
+myMenu32.add(new WebFXMenuItem("Customer Accounting Summary", "http://localhost/freeside/search/report_customer_accounting_summary.html", "Customer accounting summary report" ));
+myMenu32.width = 256;
+
+myMenu0.add(new WebFXMenuItem("Financial (Receivables)", null, "Financial reports (Receivables)", myMenu32 ));
 var myMenu37 = new WebFXMenu;
 myMenu37.emptyText = '';
-myMenu37.add(new WebFXMenuItem("Refund Report", "http://localhost/freeside/search/report_cust_refund.html", "Refund report (by type and/or date range)" ));
-myMenu37.add(new WebFXMenuItem("Unapplied Refunds", "http://localhost/freeside/search/report_cust_refund.html?unapplied=1", "Unapplied refund report (by type and/or date range)" ));
+myMenu37.add(new WebFXMenuItem("Payables summary", "http://localhost/freeside/search/report_vend_main.html", "Payables summary by vendor" ));
+myMenu37.add(new WebFXMenuItem("Payables detail", "http://localhost/freeside/search/report_vend_bill.html", "" ));
 myMenu37.width = 256;
 
-myMenu34.add(new WebFXMenuItem("Refunds", null, "Refund reports", myMenu37 ));
+myMenu0.add(new WebFXMenuItem("Financial (Payables)", null, "Financial reports (Payables)", myMenu37 ));
 var myMenu38 = new WebFXMenu;
 myMenu38.emptyText = '';
-myMenu38.add(new WebFXMenuItem("Agent Commissions", "http://localhost/freeside/search/report_agent_commission.html", "" ));
-myMenu38.add(new WebFXMenuItem("Agent Commissions Per Package", "http://localhost/freeside/search/report_agent_commission_pkg.html", "" ));
-myMenu38.add(new WebFXMenuItem("Sales Person Commissions", "http://localhost/freeside/search/report_sales_commission.html", "" ));
-myMenu38.add(new WebFXMenuItem("Sales Person Commissions Per Package", "http://localhost/freeside/search/report_sales_commission_pkg.html", "" ));
-myMenu38.add(new WebFXMenuItem("Employee Commissions", "http://localhost/freeside/search/report_employee_commission.html", "" ));
-myMenu38.width = 256;
-
-myMenu34.add(new WebFXMenuItem("Commissions", null, "Commission reports", myMenu38 ));
-myMenu34.add(new WebFXMenuItem("A/R Aging", "http://localhost/freeside/search/report_receivables.html", "Accounts Receivable Aging report" ));
-myMenu34.add(new WebFXMenuItem("Prepaid Income", "http://localhost/freeside/search/report_prepaid_income.html", "Prepaid income (unearned revenue)  report" ));
-myMenu34.add(new WebFXMenuItem("Tax Liability", "http://localhost/freeside/search/report_tax.html", "Tax liability report (internal tax data)" ));
-myMenu34.add(new WebFXMenuItem("E911 Fee Summary", "http://localhost/freeside/search/report_e911.html", "E911 fee summary" ));
-myMenu34.add(new WebFXMenuItem("Customer Accounting Summary", "http://localhost/freeside/search/report_customer_accounting_summary.html", "Customer accounting summary report" ));
-myMenu34.width = 256;
-
-myMenu0.add(new WebFXMenuItem("Financial", null, "Financial reports", myMenu34 ));
 var myMenu39 = new WebFXMenu;
 myMenu39.emptyText = '';
-myMenu39.add(new WebFXMenuItem("Credit limit incidents", "http://localhost/freeside/search/report_cust_main_credit_limit.html", "" ));
-myMenu39.add(new WebFXMenuItem("System log", "http://localhost/freeside/search/log.html", "View system events and debugging information." ));
-myMenu39.add(new WebFXMenuItem("Outgoing messages", "http://localhost/freeside/search/cust_msg.html", "View outgoing message log" ));
+myMenu39.add(new WebFXMenuItem("All billing events", "http://localhost/freeside/search/report_cust_event.html", "All billing events for a date range" ));
+myMenu39.add(new WebFXMenuItem("Billing event errors", "http://localhost/freeside/search/report_cust_event.html?failed=1", "Failed credit cards, processor or printer problems, etc." ));
 myMenu39.width = 256;
 
-myMenu0.add(new WebFXMenuItem("Logs", null, "System and email logs", myMenu39 ));
+myMenu38.add(new WebFXMenuItem("Billing events", null, "Billing events", myMenu39 ));
+myMenu38.add(new WebFXMenuItem("Credit limit incidents", "http://localhost/freeside/search/report_cust_main_credit_limit.html", "" ));
+myMenu38.add(new WebFXMenuItem("Employee activity", "http://localhost/freeside/search/report_employee_audit.html", "" ));
+myMenu38.add(new WebFXMenuItem("System log", "http://localhost/freeside/search/log.html", "View system events and debugging information." ));
+myMenu38.add(new WebFXMenuItem("Outgoing messages", "http://localhost/freeside/search/cust_msg.html", "View outgoing message log" ));
+myMenu38.width = 256;
+
+myMenu0.add(new WebFXMenuItem("Logs", null, "System and email logs", myMenu38 ));
 myMenu0.width = 256;
 
           myBar.add(new WebFXMenuButton('Reports', null, 'Lists, reporting and graphing', myMenu0 ));
@@ -381,229 +381,266 @@ myMenu0.width = 256;
 
           var myMenu40 = new WebFXMenu;
 myMenu40.emptyText = '';
-myMenu40.add(new WebFXMenuItem("Quick payment entry", "http://localhost/freeside/misc/batch-cust_pay.html", "Enter multiple payments in a batch" ));
-myMenu40.add(new WebFXMenuItem("Download invoice batches", "http://localhost/freeside/search/bill_batch.cgi", "" ));
-myMenu40.add(new WebFXMenuItem("Bulk DID Orders", "http://localhost/freeside/browse/did_order.html", "View/manage bulk DID orders" ));
-myMenu40.add(new WebFXMenuItem("Job Queue", "http://localhost/freeside/search/queue.html", "View pending job queue" ));
 var myMenu41 = new WebFXMenu;
 myMenu41.emptyText = '';
+myMenu41.add(new WebFXMenuItem("Appointments", "http://localhost/freeside/rt/Search/Schedule.html?LengthMin=0", "View appointment schedule" ));
+myMenu41.add(new WebFXMenuItem("Attachments", "http://localhost/freeside/browse/cust_attachment.html", "View customer attachments" ));
+myMenu41.add(new WebFXMenuItem("Customer email settings", "http://localhost/freeside/misc/manage_cust_email.html", "" ));
+myMenu41.width = 256;
+
+myMenu40.add(new WebFXMenuItem("Customers", null, "Customer tools", myMenu41 ));
 var myMenu42 = new WebFXMenu;
 myMenu42.emptyText = '';
-myMenu42.add(new WebFXMenuItem("Overview", "http://localhost/freeside/rt/Articles/index.html", "" ));
-myMenu42.add(new WebFXMenuItem("Search", "http://localhost/freeside/rt/Articles/Article/Search.html", "" ));
-myMenu42.add(new WebFXMenuItem("Topics", "http://localhost/freeside/rt/Articles/Topics.html", "" ));
+myMenu42.add(new WebFXMenuItem("Quick payment entry", "http://localhost/freeside/misc/batch-cust_pay.html", "Enter multiple payments in a batch" ));
+myMenu42.add(new WebFXMenuItem("Download invoice batches", "http://localhost/freeside/search/bill_batch.cgi", "" ));
 myMenu42.width = 256;
 
-myMenu41.add(new WebFXMenuItem("Articles", null, "", myMenu42 ));
-myMenu41.add(new WebFXMenuItem("My Day", "http://localhost/freeside/rt/Tools/MyDay.html", "" ));
-myMenu41.add(new WebFXMenuItem("My Reminders", "http://localhost/freeside/rt/Tools/MyReminders.html", "" ));
-myMenu41.add(new WebFXMenuItem("Offline", "http://localhost/freeside/rt/Tools/Offline.html", "" ));
-myMenu41.add(new WebFXMenuItem("Approval", "http://localhost/freeside/rt/Approvals/", "" ));
-myMenu41.width = 256;
-
-myMenu40.add(new WebFXMenuItem("Ticketing", null, "Ticketing tools", myMenu41 ));
-myMenu40.add(new WebFXMenuItem("Customer email settings", "http://localhost/freeside/misc/manage_cust_email.html", "" ));
-myMenu40.add(new WebFXMenuItem("Business card scan", "http://localhost/freeside/edit/prospect_main-upload.html", "" ));
-myMenu40.add(new WebFXMenuItem("Attachments", "http://localhost/freeside/browse/cust_attachment.html", "View customer attachments" ));
+myMenu40.add(new WebFXMenuItem("Billing", null, "Payment and invoice tools", myMenu42 ));
 var myMenu43 = new WebFXMenu;
 myMenu43.emptyText = '';
-myMenu43.add(new WebFXMenuItem("Customers", "http://localhost/freeside/misc/cust_main-import.cgi", "" ));
-myMenu43.add(new WebFXMenuItem("Package definitions", "http://localhost/freeside/misc/part_pkg-import.html", "" ));
-myMenu43.add(new WebFXMenuItem("Customer packages", "http://localhost/freeside/misc/cust_pkg-import.html", "" ));
-myMenu43.add(new WebFXMenuItem("Customer comments", "http://localhost/freeside/misc/cust_main_note-import.html", "" ));
-myMenu43.add(new WebFXMenuItem("One-time charges", "http://localhost/freeside/misc/cust_main-import_charges.cgi", "" ));
-myMenu43.add(new WebFXMenuItem("Payments", "http://localhost/freeside/misc/cust_pay-import.cgi", "" ));
-myMenu43.add(new WebFXMenuItem("Credits", "http://localhost/freeside/misc/cust_credit-import.html", "" ));
-myMenu43.add(new WebFXMenuItem("Phone numbers (DIDs)", "http://localhost/freeside/misc/phone_avail-import.html", "" ));
-myMenu43.add(new WebFXMenuItem("Call Detail Records (CDRs)", "http://localhost/freeside/misc/cdr-import.html", "" ));
-myMenu43.width = 256;
-
-myMenu40.add(new WebFXMenuItem("Importing", null, "Import tools", myMenu43 ));
 var myMenu44 = new WebFXMenu;
 myMenu44.emptyText = '';
-myMenu44.add(new WebFXMenuItem("Download database dump", "http://localhost/freeside/misc/dump.cgi", "" ));
+myMenu44.add(new WebFXMenuItem("Overview", "http://localhost/freeside/rt/Articles/index.html", "" ));
+myMenu44.add(new WebFXMenuItem("Search", "http://localhost/freeside/rt/Articles/Article/Search.html", "" ));
+myMenu44.add(new WebFXMenuItem("Topics", "http://localhost/freeside/rt/Articles/Topics.html", "" ));
 myMenu44.width = 256;
 
-myMenu40.add(new WebFXMenuItem("Exporting", null, "Export tools", myMenu44 ));
-myMenu40.add(new WebFXMenuItem("Status", "http://localhost/freeside/view/Status.html", "System status" ));
-myMenu40.width = 256;
-
-          myBar.add(new WebFXMenuButton('Tools', null, 'Tools', myMenu40 ));
-
+myMenu43.add(new WebFXMenuItem("Articles", null, "", myMenu44 ));
+myMenu43.add(new WebFXMenuItem("My Day", "http://localhost/freeside/rt/Tools/MyDay.html", "" ));
+myMenu43.add(new WebFXMenuItem("My Reminders", "http://localhost/freeside/rt/Tools/MyReminders.html", "" ));
+myMenu43.add(new WebFXMenuItem("Offline", "http://localhost/freeside/rt/Tools/Offline.html", "" ));
+myMenu43.add(new WebFXMenuItem("Approval", "http://localhost/freeside/rt/Approvals/", "" ));
+myMenu43.width = 256;
 
-          var myMenu45 = new WebFXMenu;
+myMenu40.add(new WebFXMenuItem("Ticketing", null, "Ticketing tools", myMenu43 ));
+var myMenu45 = new WebFXMenu;
 myMenu45.emptyText = '';
-myMenu45.add(new WebFXMenuItem("Settings", "http://localhost/freeside/config/config-view.cgi", "" ));
-myMenu45.add(new WebFXMenuSeparator());
+myMenu45.add(new WebFXMenuItem("Bulk DID Orders", "http://localhost/freeside/browse/did_order.html", "View/manage bulk DID orders" ));
+myMenu45.add(new WebFXMenuItem("Business card scan", "http://localhost/freeside/edit/prospect_main-upload.html", "" ));
+myMenu45.width = 256;
+
+myMenu40.add(new WebFXMenuItem("Miscellaneous", null, "", myMenu45 ));
 var myMenu46 = new WebFXMenu;
 myMenu46.emptyText = '';
-myMenu46.add(new WebFXMenuItem("Agent types", "http://localhost/freeside/browse/agent_type.cgi", "Agent types define groups of package definitions that you can then assign to particular agents" ));
-myMenu46.add(new WebFXMenuItem("Agents", "http://localhost/freeside/browse/agent.cgi", "Agents are resellers of your service. Agents may be limited to a subset of your full offerings (via their type)" ));
-myMenu46.add(new WebFXMenuItem("Agent payment gateways", "http://localhost/freeside/browse/payment_gateway.html", "Credit card and electronic check processors for agent overrides" ));
+myMenu46.add(new WebFXMenuItem("Customers", "http://localhost/freeside/misc/cust_main-import.cgi", "" ));
+myMenu46.add(new WebFXMenuItem("Package definitions", "http://localhost/freeside/misc/part_pkg-import.html", "" ));
+myMenu46.add(new WebFXMenuItem("Customer packages", "http://localhost/freeside/misc/cust_pkg-import.html", "" ));
+myMenu46.add(new WebFXMenuItem("Customer comments", "http://localhost/freeside/misc/cust_main_note-import.html", "" ));
+myMenu46.add(new WebFXMenuItem("One-time charges", "http://localhost/freeside/misc/cust_main-import_charges.cgi", "" ));
+myMenu46.add(new WebFXMenuItem("Payments", "http://localhost/freeside/misc/cust_pay-import.cgi", "" ));
+myMenu46.add(new WebFXMenuItem("Credits", "http://localhost/freeside/misc/cust_credit-import.html", "" ));
+myMenu46.add(new WebFXMenuItem("Phone numbers (DIDs)", "http://localhost/freeside/misc/phone_avail-import.html", "" ));
+myMenu46.add(new WebFXMenuItem("Call Detail Records (CDRs)", "http://localhost/freeside/misc/cdr-import.html", "" ));
 myMenu46.width = 256;
 
-myMenu45.add(new WebFXMenuItem("Companies", null, "", myMenu46 ));
+myMenu40.add(new WebFXMenuItem("Importing", null, "Import tools", myMenu46 ));
 var myMenu47 = new WebFXMenu;
 myMenu47.emptyText = '';
-myMenu47.add(new WebFXMenuItem("Sales People", "http://localhost/freeside/browse/sales.html", "Sales people bring in new business." ));
+myMenu47.add(new WebFXMenuItem("Status", "http://localhost/freeside/view/Status.html", "System status" ));
+myMenu47.add(new WebFXMenuItem("Job Queue", "http://localhost/freeside/search/queue.html", "View pending job queue" ));
 myMenu47.width = 256;
 
-myMenu45.add(new WebFXMenuItem("Sales People", null, "", myMenu47 ));
-var myMenu48 = new WebFXMenu;
-myMenu48.emptyText = '';
-myMenu48.add(new WebFXMenuItem("Employees", "http://localhost/freeside/browse/access_user.html", "Setup internal users" ));
-myMenu48.add(new WebFXMenuItem("Employee groups", "http://localhost/freeside/browse/access_group.html", "Employee groups allow you to control access to the backend" ));
-myMenu48.add(new WebFXMenuItem("Installer availability", "http://localhost/freeside/browse/sched_item.html", "Installer availability" ));
-myMenu48.width = 256;
+myMenu40.add(new WebFXMenuItem("System", null, "System tools", myMenu47 ));
+myMenu40.width = 256;
+
+          myBar.add(new WebFXMenuButton('Tools', null, 'Tools', myMenu40 ));
+
 
-myMenu45.add(new WebFXMenuItem("Employees", null, "", myMenu48 ));
-myMenu45.add(new WebFXMenuSeparator());
+          var myMenu48 = new WebFXMenu;
+myMenu48.emptyText = '';
+myMenu48.add(new WebFXMenuItem("Settings", "http://localhost/freeside/config/config-view.cgi", "" ));
+myMenu48.add(new WebFXMenuSeparator());
 var myMenu49 = new WebFXMenu;
 myMenu49.emptyText = '';
-myMenu49.add(new WebFXMenuItem("Customer tags", "http://localhost/freeside/browse/part_tag.html", "" ));
-myMenu49.add(new WebFXMenuItem("Customer classes", "http://localhost/freeside/browse/cust_class.html", "Customer classes define groups of customers for reporting." ));
-myMenu49.add(new WebFXMenuItem("Customer categories", "http://localhost/freeside/browse/cust_category.html", "Customer categories define groups of customer classes." ));
-myMenu49.add(new WebFXMenuSeparator());
-myMenu49.add(new WebFXMenuItem("Contact types", "http://localhost/freeside/browse/contact_class.html", "" ));
+myMenu49.add(new WebFXMenuItem("Agent types", "http://localhost/freeside/browse/agent_type.cgi", "Agent types define groups of package definitions that you can then assign to particular agents" ));
+myMenu49.add(new WebFXMenuItem("Agents", "http://localhost/freeside/browse/agent.cgi", "Agents are resellers of your service. Agents may be limited to a subset of your full offerings (via their type)" ));
+myMenu49.add(new WebFXMenuItem("Agent payment gateways", "http://localhost/freeside/browse/payment_gateway.html", "Credit card and electronic check processors for agent overrides" ));
 myMenu49.width = 256;
 
-myMenu45.add(new WebFXMenuItem("Customers", null, "", myMenu49 ));
+myMenu48.add(new WebFXMenuItem("Companies", null, "", myMenu49 ));
 var myMenu50 = new WebFXMenu;
 myMenu50.emptyText = '';
-myMenu50.add(new WebFXMenuItem("Package definitions", "http://localhost/freeside/browse/part_pkg.cgi", "One or more services are grouped together into a package and given pricing information. Customers purchase packages, not services" ));
-myMenu50.add(new WebFXMenuItem("Package classes", "http://localhost/freeside/browse/pkg_class.html", "Package classes define groups of packages, for taxation, ordering convenience and reporting." ));
-myMenu50.add(new WebFXMenuItem("Package categories", "http://localhost/freeside/browse/pkg_category.html", "Package categories define groups of package classes, for invoice sections." ));
-myMenu50.add(new WebFXMenuItem("Package report classes", "http://localhost/freeside/browse/part_pkg_report_option.html", "Package classes define optional groups of packages for reporting only." ));
-myMenu50.add(new WebFXMenuItem("Fees", "http://localhost/freeside/browse/part_fee.html", "" ));
-myMenu50.add(new WebFXMenuItem("Discounts", "http://localhost/freeside/browse/discount.html", "" ));
-myMenu50.add(new WebFXMenuItem("Discount classes", "http://localhost/freeside/browse/discount_class.html", "" ));
+myMenu50.add(new WebFXMenuItem("Sales People", "http://localhost/freeside/browse/sales.html", "Sales people bring in new business." ));
+myMenu50.width = 256;
+
+myMenu48.add(new WebFXMenuItem("Sales People", null, "", myMenu50 ));
 var myMenu51 = new WebFXMenu;
 myMenu51.emptyText = '';
-myMenu51.add(new WebFXMenuItem("Cancel reasons", "http://localhost/freeside/browse/reason.html?class=C", "Cancel reasons explain why a service was cancelled." ));
-myMenu51.add(new WebFXMenuItem("Cancel reason types", "http://localhost/freeside/browse/reason_type.html?class=C", "Cancel reason types define groups of reasons." ));
-myMenu51.add(new WebFXMenuItem("Suspend reasons", "http://localhost/freeside/browse/reason.html?class=S", "Suspend reasons explain why a service was suspended." ));
-myMenu51.add(new WebFXMenuItem("Suspend reason types", "http://localhost/freeside/browse/reason_type.html?class=S", "Suspend reason types define groups of reasons." ));
+myMenu51.add(new WebFXMenuItem("Employees", "http://localhost/freeside/browse/access_user.html", "Setup internal users" ));
+myMenu51.add(new WebFXMenuItem("Employee groups", "http://localhost/freeside/browse/access_group.html", "Employee groups allow you to control access to the backend" ));
+myMenu51.add(new WebFXMenuItem("Installer availability", "http://localhost/freeside/browse/sched_item.html", "Installer availability" ));
 myMenu51.width = 256;
 
-myMenu50.add(new WebFXMenuItem("Cancel/Suspend Reasons", null, "", myMenu51 ));
-myMenu50.width = 256;
-
-myMenu45.add(new WebFXMenuItem("Packages", null, "", myMenu50 ));
+myMenu48.add(new WebFXMenuItem("Employees", null, "", myMenu51 ));
+myMenu48.add(new WebFXMenuSeparator());
 var myMenu52 = new WebFXMenu;
 myMenu52.emptyText = '';
-myMenu52.add(new WebFXMenuItem("Service definitions", "http://localhost/freeside/browse/part_svc.cgi", "Services are items you offer to your customers" ));
-myMenu52.add(new WebFXMenuItem("Service classes", "http://localhost/freeside/browse/part_svc_class.html", "Services classes are user-defined, informational types for services" ));
-myMenu52.add(new WebFXMenuItem("Provisioning exports", "http://localhost/freeside/browse/part_export.cgi", "Provisioning services to external machines, databases and APIs" ));
+myMenu52.add(new WebFXMenuItem("Customer tags", "http://localhost/freeside/browse/part_tag.html", "" ));
+myMenu52.add(new WebFXMenuItem("Customer classes", "http://localhost/freeside/browse/cust_class.html", "Customer classes define groups of customers for reporting." ));
+myMenu52.add(new WebFXMenuItem("Customer categories", "http://localhost/freeside/browse/cust_category.html", "Customer categories define groups of customer classes." ));
+myMenu52.add(new WebFXMenuSeparator());
+myMenu52.add(new WebFXMenuItem("Contact types", "http://localhost/freeside/browse/contact_class.html", "" ));
+myMenu52.width = 256;
+
+myMenu48.add(new WebFXMenuItem("Customers", null, "", myMenu52 ));
 var myMenu53 = new WebFXMenu;
 myMenu53.emptyText = '';
-myMenu53.add(new WebFXMenuItem("Access numbers", "http://localhost/freeside/browse/svc_acct_pop.cgi", "Points of Presence" ));
-myMenu53.width = 256;
-
-myMenu52.add(new WebFXMenuItem("Dialup", null, "", myMenu53 ));
+myMenu53.add(new WebFXMenuItem("Package definitions", "http://localhost/freeside/browse/part_pkg.cgi", "One or more services are grouped together into a package and given pricing information. Customers purchase packages, not services" ));
+myMenu53.add(new WebFXMenuItem("Package classes", "http://localhost/freeside/browse/pkg_class.html", "Package classes define groups of packages, for taxation, ordering convenience and reporting." ));
+myMenu53.add(new WebFXMenuItem("Package categories", "http://localhost/freeside/browse/pkg_category.html", "Package categories define groups of package classes, for invoice sections." ));
+myMenu53.add(new WebFXMenuItem("Package report classes", "http://localhost/freeside/browse/part_pkg_report_option.html", "Package classes define optional groups of packages for reporting only." ));
+myMenu53.add(new WebFXMenuItem("Fees", "http://localhost/freeside/browse/part_fee.html", "" ));
+myMenu53.add(new WebFXMenuItem("Discounts", "http://localhost/freeside/browse/discount.html", "" ));
+myMenu53.add(new WebFXMenuItem("Discount classes", "http://localhost/freeside/browse/discount_class.html", "" ));
 var myMenu54 = new WebFXMenu;
 myMenu54.emptyText = '';
-myMenu54.add(new WebFXMenuItem("Towers", "http://localhost/freeside/browse/tower.html", "Towers and sectors" ));
-myMenu54.add(new WebFXMenuItem("Routers", "http://localhost/freeside/browse/router.cgi", "Broadband access routers" ));
-myMenu54.add(new WebFXMenuItem("Address blocks", "http://localhost/freeside/browse/addr_block.cgi", "Manage address blocks and block assignments to broadband routers" ));
-myMenu54.add(new WebFXMenuItem("Address ranges", "http://localhost/freeside/browse/addr_range.html", "Designate special address ranges" ));
+myMenu54.add(new WebFXMenuItem("Cancel reasons", "http://localhost/freeside/browse/reason.html?class=C", "Cancel reasons explain why a service was cancelled." ));
+myMenu54.add(new WebFXMenuItem("Cancel reason types", "http://localhost/freeside/browse/reason_type.html?class=C", "Cancel reason types define groups of reasons." ));
+myMenu54.add(new WebFXMenuItem("Suspend reasons", "http://localhost/freeside/browse/reason.html?class=S", "Suspend reasons explain why a service was suspended." ));
+myMenu54.add(new WebFXMenuItem("Suspend reason types", "http://localhost/freeside/browse/reason_type.html?class=S", "Suspend reason types define groups of reasons." ));
 myMenu54.width = 256;
 
-myMenu52.add(new WebFXMenuItem("Wireless broadband", null, "", myMenu54 ));
+myMenu53.add(new WebFXMenuItem("Cancel/Suspend Reasons", null, "", myMenu54 ));
+myMenu53.width = 256;
+
+myMenu48.add(new WebFXMenuItem("Packages", null, "", myMenu53 ));
 var myMenu55 = new WebFXMenu;
 myMenu55.emptyText = '';
-myMenu55.add(new WebFXMenuItem("View/Edit phone device types", "http://localhost/freeside/browse/part_device.html", "Phone device types" ));
-myMenu55.add(new WebFXMenuItem("View/Edit bulk DID vendors", "http://localhost/freeside/browse/did_vendor.html", "Bulk DID vendors" ));
-myMenu55.add(new WebFXMenuItem("View/Edit Carriers", "http://localhost/freeside/browse/cdr_carrier.html", "Carriers" ));
-myMenu55.width = 256;
-
-myMenu52.add(new WebFXMenuItem("Phone", null, "", myMenu55 ));
+myMenu55.add(new WebFXMenuItem("Service definitions", "http://localhost/freeside/browse/part_svc.cgi", "Services are items you offer to your customers" ));
+myMenu55.add(new WebFXMenuItem("Service classes", "http://localhost/freeside/browse/part_svc_class.html", "Services classes are user-defined, informational types for services" ));
+myMenu55.add(new WebFXMenuItem("Service dependencies", "http://localhost/freeside/browse/part_svc_link.html", "Services depencies define rules between service definitions" ));
+myMenu55.add(new WebFXMenuItem("Provisioning exports", "http://localhost/freeside/browse/part_export.cgi", "Provisioning services to external machines, databases and APIs" ));
 var myMenu56 = new WebFXMenu;
 myMenu56.emptyText = '';
-myMenu56.add(new WebFXMenuItem("RADIUS Groups", "http://localhost/freeside/browse/radius_group.html", "Manage RADIUS groups" ));
-myMenu56.add(new WebFXMenuItem("RADIUS Clients", "http://localhost/freeside/browse/nas.html", "Manage RADIUS clients" ));
+myMenu56.add(new WebFXMenuItem("Access numbers", "http://localhost/freeside/browse/svc_acct_pop.cgi", "Points of Presence" ));
 myMenu56.width = 256;
 
-myMenu52.add(new WebFXMenuItem("RADIUS", null, "", myMenu56 ));
+myMenu55.add(new WebFXMenuItem("Dialup", null, "", myMenu56 ));
 var myMenu57 = new WebFXMenu;
 myMenu57.emptyText = '';
-myMenu57.add(new WebFXMenuItem("Cable providers", "http://localhost/freeside/browse/cable_provider.html", "" ));
-myMenu57.add(new WebFXMenuItem("Cable modem models", "http://localhost/freeside/browse/cable_model.html", "" ));
+myMenu57.add(new WebFXMenuItem("Towers", "http://localhost/freeside/browse/tower.html", "Towers and sectors" ));
+myMenu57.add(new WebFXMenuItem("Routers", "http://localhost/freeside/browse/router.cgi", "Broadband access routers" ));
+myMenu57.add(new WebFXMenuItem("Address blocks", "http://localhost/freeside/browse/addr_block.cgi", "Manage address blocks and block assignments to broadband routers" ));
+myMenu57.add(new WebFXMenuItem("Address ranges", "http://localhost/freeside/browse/addr_range.html", "Designate special address ranges" ));
 myMenu57.width = 256;
 
-myMenu52.add(new WebFXMenuItem("Cable", null, "", myMenu57 ));
+myMenu55.add(new WebFXMenuItem("Wireless broadband", null, "", myMenu57 ));
 var myMenu58 = new WebFXMenu;
 myMenu58.emptyText = '';
-myMenu58.add(new WebFXMenuItem("Alarm system vendors", "http://localhost/freeside/browse/alarm_system.html", "" ));
-myMenu58.add(new WebFXMenuItem("Alarm system types", "http://localhost/freeside/browse/alarm_type.html", "" ));
-myMenu58.add(new WebFXMenuItem("Alarm central stations", "http://localhost/freeside/browse/alarm_station.html", "" ));
+myMenu58.add(new WebFXMenuItem("View/Edit phone device types", "http://localhost/freeside/browse/part_device.html", "Phone device types" ));
+myMenu58.add(new WebFXMenuItem("View/Edit bulk DID vendors", "http://localhost/freeside/browse/did_vendor.html", "Bulk DID vendors" ));
+myMenu58.add(new WebFXMenuItem("View/Edit Carriers", "http://localhost/freeside/browse/cdr_carrier.html", "Carriers" ));
 myMenu58.width = 256;
 
-myMenu52.add(new WebFXMenuItem("Alarm", null, "", myMenu58 ));
+myMenu55.add(new WebFXMenuItem("Phone", null, "", myMenu58 ));
 var myMenu59 = new WebFXMenu;
 myMenu59.emptyText = '';
-myMenu59.add(new WebFXMenuItem("Circuit types", "http://localhost/freeside/browse/circuit_type.html", "" ));
-myMenu59.add(new WebFXMenuItem("Circuit providers", "http://localhost/freeside/browse/circuit_provider.html", "" ));
-myMenu59.add(new WebFXMenuItem("Termination types", "http://localhost/freeside/browse/circuit_termination.html", "" ));
+myMenu59.add(new WebFXMenuItem("RADIUS Groups", "http://localhost/freeside/browse/radius_group.html", "Manage RADIUS groups" ));
+myMenu59.add(new WebFXMenuItem("RADIUS Clients", "http://localhost/freeside/browse/nas.html", "Manage RADIUS clients" ));
 myMenu59.width = 256;
 
-myMenu52.add(new WebFXMenuItem("Circuits", null, "", myMenu59 ));
-myMenu52.add(new WebFXMenuItem("Hardware types", "http://localhost/freeside/browse/hardware_class.html", "Set up hardware type catalog" ));
-myMenu52.width = 256;
-
-myMenu45.add(new WebFXMenuItem("Services", null, "", myMenu52 ));
-myMenu45.add(new WebFXMenuSeparator());
+myMenu55.add(new WebFXMenuItem("RADIUS", null, "", myMenu59 ));
 var myMenu60 = new WebFXMenu;
 myMenu60.emptyText = '';
-myMenu60.add(new WebFXMenuItem("Billing events", "http://localhost/freeside/browse/part_event.html", "Billing actions for customers, invoices and packages" ));
-myMenu60.add(new WebFXMenuItem("Invoice configurations", "http://localhost/freeside/browse/invoice_conf.html", "Adjust invoice settings for special-purpose notices" ));
-myMenu60.add(new WebFXMenuItem("Invoice templates", "http://localhost/freeside/browse/invoice_template.html", "Edit templates for HTML, plaintext and typeset invoices" ));
-myMenu60.add(new WebFXMenuItem("Prepaid cards", "http://localhost/freeside/search/prepay_credit.html", "View outstanding cards, generate new cards" ));
+myMenu60.add(new WebFXMenuItem("Cable providers", "http://localhost/freeside/browse/cable_provider.html", "" ));
+myMenu60.add(new WebFXMenuItem("Cable modem models", "http://localhost/freeside/browse/cable_model.html", "" ));
+myMenu60.width = 256;
+
+myMenu55.add(new WebFXMenuItem("Cable", null, "", myMenu60 ));
 var myMenu61 = new WebFXMenu;
 myMenu61.emptyText = '';
-myMenu61.add(new WebFXMenuItem("Rate plans", "http://localhost/freeside/browse/rate.cgi", "Manage rate plans" ));
-myMenu61.add(new WebFXMenuItem("Regions and prefixes", "http://localhost/freeside/browse/rate_region.html", "Manage regions and prefixes" ));
-myMenu61.add(new WebFXMenuItem("Usage classes", "http://localhost/freeside/browse/usage_class.html", "Usage classes define groups of usage for taxation." ));
-myMenu61.add(new WebFXMenuItem("Time periods", "http://localhost/freeside/browse/rate_time.html", "Time periods define days and hours for rate plans" ));
-myMenu61.add(new WebFXMenuItem("Edit rates with Excel", "http://localhost/freeside/misc/rate_edit_excel.html", "Download and edit rates with Excel, then upload changes." ));
-myMenu61.add(new WebFXMenuSeparator());
-myMenu61.add(new WebFXMenuItem("Tiering plans", "http://localhost/freeside/browse/rate_tier.html", "Rating tiers" ));
+myMenu61.add(new WebFXMenuItem("Conferencing types", "http://localhost/freeside/browse/conferencing_type.html", "" ));
+myMenu61.add(new WebFXMenuItem("Quality levels", "http://localhost/freeside/browse/conferencing_quality.html", "" ));
 myMenu61.width = 256;
 
-myMenu60.add(new WebFXMenuItem("Call rates and regions", null, "Manage rate plans, regions and prefixes for VoIP and call billing", myMenu61 ));
-myMenu60.add(new WebFXMenuItem("Locales and tax rates", "http://localhost/freeside/browse/cust_main_county.cgi", "Change tax rates, or break down a country into states, or a state into counties and assign different tax rates to each" ));
-myMenu60.add(new WebFXMenuItem("Tax classes", "http://localhost/freeside/browse/part_pkg_taxclass.html", "Tax classes" ));
-myMenu60.add(new WebFXMenuItem("Credit reasons", "http://localhost/freeside/browse/reason.html?class=R", "Credit reasons explain why a credit was issued." ));
-myMenu60.add(new WebFXMenuItem("Credit reason types", "http://localhost/freeside/browse/reason_type.html?class=R", "Credit reason types define groups of reasons." ));
-myMenu60.width = 256;
-
-myMenu45.add(new WebFXMenuItem("Billing", null, "", myMenu60 ));
-myMenu45.add(new WebFXMenuSeparator());
+myMenu55.add(new WebFXMenuItem("Conferencing", null, "", myMenu61 ));
 var myMenu62 = new WebFXMenu;
 myMenu62.emptyText = '';
-myMenu62.add(new WebFXMenuItem("Message templates", "http://localhost/freeside/browse/msg_template.html", "Templates for customer notices" ));
-myMenu62.add(new WebFXMenuItem("Advertising sources", "http://localhost/freeside/browse/part_referral.html", "Where a customer heard about your service." ));
-myMenu62.add(new WebFXMenuItem("Custom fields", "http://localhost/freeside/browse/part_virtual_field.html", "Locally defined fields" ));
-myMenu62.add(new WebFXMenuItem("Translation strings", "http://localhost/freeside/browse/msgcat.html", "Translations and other customizable labels for each locale" ));
-myMenu62.add(new WebFXMenuItem("Inventory classes and inventory", "http://localhost/freeside/browse/inventory_class.html", "Setup inventory classes and stock inventory" ));
-myMenu62.add(new WebFXMenuItem("Upload targets", "http://localhost/freeside/browse/upload_target.html", "Billing and payment upload destinations" ));
+myMenu62.add(new WebFXMenuItem("Alarm system vendors", "http://localhost/freeside/browse/alarm_system.html", "" ));
+myMenu62.add(new WebFXMenuItem("Alarm system types", "http://localhost/freeside/browse/alarm_type.html", "" ));
+myMenu62.add(new WebFXMenuItem("Alarm central stations", "http://localhost/freeside/browse/alarm_station.html", "" ));
 myMenu62.width = 256;
 
-myMenu45.add(new WebFXMenuItem("Miscellaneous", null, "", myMenu62 ));
-myMenu45.width = 256;
+myMenu55.add(new WebFXMenuItem("Alarm", null, "", myMenu62 ));
+var myMenu63 = new WebFXMenu;
+myMenu63.emptyText = '';
+myMenu63.add(new WebFXMenuItem("Circuit types", "http://localhost/freeside/browse/circuit_type.html", "" ));
+myMenu63.add(new WebFXMenuItem("Circuit providers", "http://localhost/freeside/browse/circuit_provider.html", "" ));
+myMenu63.add(new WebFXMenuItem("Termination types", "http://localhost/freeside/browse/circuit_termination.html", "" ));
+myMenu63.width = 256;
 
-          myBar.add(new WebFXMenuButton('Configuration', null, 'Configuration and setup', myMenu45 ));
+myMenu55.add(new WebFXMenuItem("Circuits", null, "", myMenu63 ));
+myMenu55.add(new WebFXMenuItem("Hardware types", "http://localhost/freeside/browse/hardware_class.html", "Set up hardware type catalog" ));
+myMenu55.width = 256;
 
+myMenu48.add(new WebFXMenuItem("Services", null, "", myMenu55 ));
+myMenu48.add(new WebFXMenuSeparator());
+var myMenu64 = new WebFXMenu;
+myMenu64.emptyText = '';
+myMenu64.add(new WebFXMenuItem("Vendor classes", "http://localhost/freeside/browse/vend_class.html", "" ));
+myMenu64.add(new WebFXMenuItem("Vendors", "http://localhost/freeside/browse/vend_main.html", "" ));
+myMenu64.width = 256;
+
+myMenu48.add(new WebFXMenuItem("Vendors", null, "", myMenu64 ));
+myMenu48.add(new WebFXMenuSeparator());
+var myMenu65 = new WebFXMenu;
+myMenu65.emptyText = '';
+myMenu65.add(new WebFXMenuItem("Billing events", "http://localhost/freeside/browse/part_event.html", "Billing actions for customers, invoices and packages" ));
+myMenu65.add(new WebFXMenuItem("Invoice configurations", "http://localhost/freeside/browse/invoice_conf.html", "Adjust invoice settings for special-purpose notices" ));
+myMenu65.add(new WebFXMenuItem("Invoice templates", "http://localhost/freeside/browse/invoice_template.html", "Edit templates for HTML, plaintext and typeset invoices" ));
+myMenu65.add(new WebFXMenuSeparator());
+myMenu65.add(new WebFXMenuItem("Prepaid cards", "http://localhost/freeside/search/prepay_credit.html", "View outstanding cards, generate new cards" ));
+var myMenu66 = new WebFXMenu;
+myMenu66.emptyText = '';
+myMenu66.add(new WebFXMenuItem("Rate plans", "http://localhost/freeside/browse/rate.cgi", "Manage rate plans" ));
+myMenu66.add(new WebFXMenuItem("Regions and prefixes", "http://localhost/freeside/browse/rate_region.html", "Manage regions and prefixes" ));
+myMenu66.add(new WebFXMenuItem("Usage classes", "http://localhost/freeside/browse/usage_class.html", "Usage classes define groups of usage for taxation." ));
+myMenu66.add(new WebFXMenuItem("Time periods", "http://localhost/freeside/browse/rate_time.html", "Time periods define days and hours for rate plans" ));
+myMenu66.add(new WebFXMenuItem("Edit rates with Excel", "http://localhost/freeside/misc/rate_edit_excel.html", "Download and edit rates with Excel, then upload changes." ));
+myMenu66.add(new WebFXMenuSeparator());
+myMenu66.add(new WebFXMenuItem("Tiering plans", "http://localhost/freeside/browse/rate_tier.html", "Rating tiers" ));
+myMenu66.width = 256;
+
+myMenu65.add(new WebFXMenuItem("Call rates and regions", null, "Manage rate plans, regions and prefixes for VoIP and call billing", myMenu66 ));
+myMenu65.add(new WebFXMenuSeparator());
+myMenu65.add(new WebFXMenuItem("Locales and tax rates", "http://localhost/freeside/browse/cust_main_county.cgi", "Change tax rates, or break down a country into states, or a state into counties and assign different tax rates to each" ));
+myMenu65.add(new WebFXMenuItem("Tax classes", "http://localhost/freeside/browse/part_pkg_taxclass.html", "Tax classes" ));
+myMenu65.add(new WebFXMenuSeparator());
+myMenu65.add(new WebFXMenuItem("Credit reasons", "http://localhost/freeside/browse/reason.html?class=R", "Credit reasons explain why a credit was issued." ));
+myMenu65.add(new WebFXMenuItem("Credit reason types", "http://localhost/freeside/browse/reason_type.html?class=R", "Credit reason types define groups of reasons." ));
+myMenu65.add(new WebFXMenuSeparator());
+myMenu65.add(new WebFXMenuItem("Refund reasons", "http://localhost/freeside/browse/reason.html?class=F", "Refund reasons explain why a refund was issued." ));
+myMenu65.add(new WebFXMenuItem("Refund reason types", "http://localhost/freeside/browse/reason_type.html?class=F", "Refund reason types define groups of reasons." ));
+myMenu65.width = 256;
+
+myMenu48.add(new WebFXMenuItem("Billing", null, "", myMenu65 ));
+myMenu48.add(new WebFXMenuSeparator());
+var myMenu67 = new WebFXMenu;
+myMenu67.emptyText = '';
+myMenu67.add(new WebFXMenuItem("Message templates", "http://localhost/freeside/browse/msg_template.html", "Templates for customer notices" ));
+myMenu67.add(new WebFXMenuItem("Advertising sources", "http://localhost/freeside/browse/part_referral.html", "Where a customer heard about your service." ));
+myMenu67.add(new WebFXMenuItem("Custom fields", "http://localhost/freeside/browse/part_virtual_field.html", "Locally defined fields" ));
+myMenu67.add(new WebFXMenuItem("Translation strings", "http://localhost/freeside/browse/msgcat.html", "Translations and other customizable labels for each locale" ));
+myMenu67.add(new WebFXMenuItem("Inventory classes and inventory", "http://localhost/freeside/browse/inventory_class.html", "Setup inventory classes and stock inventory" ));
+myMenu67.add(new WebFXMenuItem("Upload targets", "http://localhost/freeside/browse/upload_target.html", "Billing and payment upload destinations" ));
+myMenu67.width = 256;
+
+myMenu48.add(new WebFXMenuItem("Miscellaneous", null, "", myMenu67 ));
+myMenu48.width = 256;
 
-          var myMenu63 = new WebFXMenu;
-myMenu63.emptyText = '';
-myMenu63.add(new WebFXMenuItem("Billing documentation", "http://www.freeside.biz/mediawiki/index.php/Freeside:3:Documentation", "Freeside documentation" ));
-myMenu63.add(new WebFXMenuItem("Ticketing documentation", "http://wiki.bestpractical.com/", "Request Tracker Wiki" ));
-myMenu63.add(new WebFXMenuSeparator());
-myMenu63.add(new WebFXMenuItem("About Freeside v3.8git", "javascript:about_freeside()", "" ));
-myMenu63.add(new WebFXMenuItem("About RT v4.0.23", "http://www.bestpractical.com/rt", "Request Tracker Homepage" ));
-myMenu63.width = 256;
+          myBar.add(new WebFXMenuButton('Configuration', null, 'Configuration and setup', myMenu48 ));
 
-          myBar.add(new WebFXMenuButton('Help', null, '', myMenu63 ));
+
+          var myMenu68 = new WebFXMenu;
+myMenu68.emptyText = '';
+myMenu68.add(new WebFXMenuItem("Billing documentation", "http://www.freeside.biz/mediawiki/index.php/Freeside:4:Documentation", "Freeside documentation" ));
+myMenu68.add(new WebFXMenuItem("Ticketing documentation", "http://wiki.bestpractical.com/", "Request Tracker Wiki" ));
+myMenu68.add(new WebFXMenuSeparator());
+myMenu68.add(new WebFXMenuItem("About Freeside v5.0git", "javascript:about_freeside()", "" ));
+myMenu68.add(new WebFXMenuItem("About RT v4.2.11", "http://www.bestpractical.com/rt", "Request Tracker Homepage" ));
+myMenu68.width = 256;
+
+          myBar.add(new WebFXMenuButton('Help', null, '', myMenu68 ));
 
 
   myBar.show( null, 'vertical' );
@@ -614,6 +651,9 @@ myMenu63.width = 256;
 
 
 
+      <link rel="stylesheet" href="http://localhost/freeside/elements/jquery-ui.min.css">
+      <SCRIPT SRC="http://localhost/freeside/elements/jquery.js"></SCRIPT>
+      <SCRIPT SRC="http://localhost/freeside/elements/jquery-ui.min.js"></SCRIPT>
     
     <SCRIPT TYPE="text/javascript">
 
@@ -638,56 +678,20 @@ myMenu63.width = 256;
 
 </SCRIPT>
 
-    <SCRIPT TYPE="text/javascript">
-
-  function logout() {
-    // count args; build URL
-    var url = "http://localhost/freeside/loginout/logout.html";
-
-    var xmlhttp = rs_init_object();
-    xmlhttp.open("GET", url, false, "magic", "notyet");
-    xmlhttp.setRequestHeader("If-Modified-Since", "Sat, 1 Jan 2000 00:00:00 GMT");
-    xmlhttp.send(null);
-
-    if (xmlhttp.readyState != 4) {
-      alert("Logout failed: readyState is " + xmlhttp.readyState);
-      return;
-    }
-
-    if (xmlhttp.status != 200) {
-      alert("Logout failed: status is " + xmlhttp.status);
-    } else {
-      var data = xmlhttp.responseText;
-      // alert('received response: ' + data);
-      if ( data.indexOf("<b>System error</b>") > -1 ) {
-        var w;
-        if ( w = window.open("about:blank") ) {
-          w.document.write(data);
-        } else {
-          // popup blocking?  should use an overlib popup instead 
-          alert("Error popup disabled; try disabling popup blocking to see");
-        }
-      } else {
-        window.location = "http://localhost/freeside/loginout/logout.html";
-      }
-    }
-  }
-
-</SCRIPT>
-
 
     
 
   </HEAD>
   <BODY BGCOLOR="#f8f8f8" onLoad="agent_changed(document.edit_topform.agentnum);
-                         hide_supp_pkgs()" STYLE="margin-top:0; margin-bottom:0; margin-left:0px; margin-right:0px">
+                aux_planchanged(document.edit_topform.plan);
+                hide_supp_pkgs()" STYLE="margin-top:0; margin-bottom:0; margin-left:0px; margin-right:0px">
     <table width="100%" CELLPADDING=0 CELLSPACING=0 STYLE="padding-left:0px; padding-right:4px" CLASS="fshead">
       <tr>
         <td BGCOLOR="#ffffff"><IMG BORDER=0 ALT="freeside" HEIGHT="36" SRC="http://localhost/freeside/view/REAL_logo.cgi"></td>
         <td align=left BGCOLOR="#ffffff"> <!-- valign="top" -->
-          <font size=6>Freeside Test 3.8.1</font>
+          <font size=6>Freeside Test 5.0.1</font>
         </td>
-        <td align=right valign=top BGCOLOR="#ffffff"><FONT SIZE="-1">Logged in as <b>test&nbsp;</b> <FONT SIZE="-2"><a href="javascript:void(0);" onClick="logout();">logout</a></FONT><br></FONT><FONT SIZE="-2"><a href="http://localhost/freeside/pref/pref.html" STYLE="color: #000000">Preferences</a>
+        <td align=right valign=top BGCOLOR="#ffffff"><FONT SIZE="-1">Logged in as <b>test&nbsp;</b> <FONT SIZE="-2"><a href="http://localhost/freeside/loginout/logout.html">logout</a></FONT><br></FONT><FONT SIZE="-2"><a href="http://localhost/freeside/pref/pref.html" STYLE="color: #000000">Preferences</a>
           <BR></FONT>
         </td>
       </tr>
@@ -701,7 +705,7 @@ myMenu63.width = 256;
       <TR CLASS="fsmenubar">
 
 
-        <TD COLSPAN="7" WIDTH="100%" STYLE="padding:1px 0px 0px 0px;border-top: 1px solid #7e0079" BGCOLOR="#cccccc">
+        <TD COLSPAN="7" WIDTH="100%" STYLE="padding:1px 0px 0px 0px;border-top: 1px solid #7e0079" BGCOLOR="#dddddd">
           <SCRIPT TYPE="text/javascript">
             document.write(myBar);
           </SCRIPT>
@@ -711,7 +715,7 @@ myMenu63.width = 256;
 
       <TR CLASS="fssearchbar">
 
-        <TD COLSPAN=1 BGCOLOR="#cccccc" ALIGN="right" STYLE="padding-left:2px">
+        <TD COLSPAN=1 BGCOLOR="#dddddd" ALIGN="right" STYLE="padding-left:2px">
           
   <FORM ACTION="http://localhost/freeside/search/prospect_main.html" METHOD="GET" STYLE="margin:0">
     <INPUT NAME="search_prospect" TYPE="text" VALUE="(name, company or phone)" STYLE="width:155px" onFocus="clearhint_search_prospect(this);" onClick="clearhint_search_prospect(this);" CLASS="fstext"><BR>
@@ -732,7 +736,7 @@ myMenu63.width = 256;
 
         </TD>
 
-        <TD COLSPAN=1 BGCOLOR="#cccccc" ALIGN="right" STYLE="padding-left:2px">
+        <TD COLSPAN=1 BGCOLOR="#dddddd" ALIGN="right" STYLE="padding-left:2px">
           
   <FORM ACTION="http://localhost/freeside/search/cust_main.cgi" METHOD="POST" STYLE="margin:0">
     <INPUT NAME="search_cust" TYPE="text" VALUE="(cust #, name, company or contact phone)" STYLE="width:246px" onFocus="clearhint_search_cust(this);" onClick="clearhint_search_cust(this);" CLASS="fstext"><BR>
@@ -753,7 +757,7 @@ myMenu63.width = 256;
 
         </TD>
 
-        <TD COLSPAN=1 BGCOLOR="#cccccc" ALIGN="center">
+        <TD COLSPAN=1 BGCOLOR="#dddddd" ALIGN="center">
           
 <SCRIPT TYPE="text/javascript">
 
@@ -766,7 +770,7 @@ myMenu63.width = 256;
 
         </TD>
 
-        <TD COLSPAN=1 BGCOLOR="#cccccc" ALIGN="right">
+        <TD COLSPAN=1 BGCOLOR="#dddddd" ALIGN="right">
           
   <FORM ACTION="http://localhost/freeside/search/cust_bill.html" METHOD="GET" STYLE="margin:0;display:inline">
     <INPUT NAME="invnum" TYPE="text" VALUE="(inv #)" STYLE="width:56px" onFocus="clearhint_search_invoice(this);" onClick="clearhint_search_invoice(this);" CLASS="fstext">
@@ -787,7 +791,7 @@ myMenu63.width = 256;
 
         </TD>
 
-        <TD COLSPAN=1 BGCOLOR="#cccccc" ALIGN="right" STYLE="padding-left:2px">
+        <TD COLSPAN=1 BGCOLOR="#dddddd" ALIGN="right" STYLE="padding-left:2px">
           
   <FORM ACTION="http://localhost/freeside/search/cust_svc.html" METHOD="GET" STYLE="margin:0">
     <INPUT NAME="search_svc" TYPE="text" VALUE="(user, email, ip, mac, domain or service phone)" STYLE="width:271px" onFocus="clearhint_search_svc(this);" onClick="clearhint_search_svc(this);" CLASS="fstext"><BR>
@@ -808,7 +812,7 @@ myMenu63.width = 256;
 
         </TD>
 
-        <TD COLSPAN=1 BGCOLOR="#cccccc" ALIGN="right" STYLE="padding-left:2px;padding-right:2px">
+        <TD COLSPAN=1 BGCOLOR="#dddddd" ALIGN="right" STYLE="padding-left:2px;padding-right:2px">
           
   <FORM ACTION="http://localhost/freeside//rt/index.html" METHOD="GET" STYLE="margin:0">
     <INPUT NAME="q" TYPE="text" VALUE="(ticket #, subject, email or fulltext:text)" STYLE="width:223px" onFocus="clearhint_search_ticket(this);" onClick="clearhint_search_ticket(this);" CLASS="fstext"><BR>
@@ -838,13 +842,14 @@ myMenu63.width = 256;
 
       <TR HEIGHT="100%">
 
+    <BR>
         <TD CLASS="background" HEIGHT="100%" VALIGN="top"> <!-- WIDTH="100%"> -->
 
-          <FONT SIZE=6>
+          <H1>
             Edit Package definition
-          </FONT>
+          </H1>
 
-          <BR><BR>
+          <BR>
 
           
    <A HREF="http://localhost/freeside/browse/part_pkg.cgi" >View all Package definitions</A>
@@ -919,14 +924,29 @@ myMenu63.width = 256;
     function aux_planchanged(what) { //?
 
       var plan = what.options[what.selectedIndex].value;
-      var table = document.getElementById('TableNumber6') // XXX NOT ROBUST
 
+      var term_table = document.getElementById('TableNumber8') // XXX NOT ROBUST
       if ( plan == 'flat' || plan == 'prorate' || plan == 'subscription' ) {
-        //table.disabled = false;
-        table.style.visibility = '';
+        //term_table.disabled = false;
+        //term_table.style.visibility = '';
+        term_table.style.display = '';
       } else {
-        //table.disabled = true;
-        table.style.visibility = 'hidden';
+        //term_table.disabled = true;
+        //term_table.style.visibility = 'hidden';
+        term_table.style.display = 'none';
+      }
+
+      var currency_regex = /^(setup|recur)_fee_[A-Z]{3}$/;
+
+      var form = what.form
+      for ( var i=0; i < form.length; i++ ) {
+        if ( currency_regex.test(form[i].name) ) {
+          if ( plan == 'currency_fixed' ) {
+            form[i].disabled = false;
+          } else {
+            form[i].disabled = true;
+          }
+        }
       }
 
     }
@@ -981,13 +1001,19 @@ function confirm_submit(f) {
   <INPUT TYPE="hidden" NAME="svcdb" VALUE="part_pkg">
   <INPUT TYPE="hidden" NAME="pkgpart" VALUE="2">
 
-  <FONT SIZE="+1"><B>
-  Package Definition
-  </B></FONT>
-  #2
+  
+
+
+      <FONT SIZE="+1"><B>
+      Package Definition
+      </B></FONT>
+      #2
 
 
-<TABLE ID="TableNumber0" BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0>
+
+<TABLE ID="TableNumber0"
+       BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0
+>
 
 
       <INPUT TYPE  = "hidden"
@@ -1052,7 +1078,7 @@ function confirm_submit(f) {
 
       <TR>
 
-  <TD ALIGN  = "right"
+  <TH ALIGN  = "right"
       VALIGN = "top"
       STYLE  = "padding-top: 3px"
       ID     = "pkg_label"
@@ -1081,7 +1107,7 @@ function confirm_submit(f) {
 
       <TR>
 
-  <TD ALIGN  = "right"
+  <TH ALIGN  = "right"
       VALIGN = "top"
       STYLE  = "padding-top: 3px"
       ID     = "comment_label"
@@ -1158,7 +1184,7 @@ function confirm_submit(f) {
 
       <TR>
 
-  <TD ALIGN  = "right"
+  <TH ALIGN  = "right"
       VALIGN = "top"
       STYLE  = "padding-top: 3px"
       ID     = "disabled_label"
@@ -1186,7 +1212,7 @@ function confirm_submit(f) {
 
       <TR>
 
-  <TD ALIGN  = "right"
+  <TH ALIGN  = "right"
       VALIGN = "top"
       STYLE  = "padding-top: 3px"
       ID     = "disable_line_item_date_ranges_label"
@@ -1214,7 +1240,7 @@ function confirm_submit(f) {
 
       <TR>
 
-  <TD ALIGN  = "right"
+  <TH ALIGN  = "right"
       VALIGN = "top"
       STYLE  = "padding-top: 3px"
       ID     = "start_on_hold_label"
@@ -1264,7 +1290,7 @@ function confirm_submit(f) {
       
   <TR>
 
-  <TD ALIGN  = "right"
+  <TH ALIGN  = "right"
       VALIGN = "top"
       STYLE  = "padding-top: 3px"
       ID     = "plan_label"
@@ -1299,16 +1325,16 @@ function confirm_submit(f) {
         >Anniversary, with intro price</OPTION>
 
 
-        <OPTION VALUE="prorate"
-                 SELECTED
-        >Prorate (Nth of month billing)</OPTION>
-
-
         <OPTION VALUE="prorate_calendar"
                 
         >Prorate (calendar cycle)</OPTION>
 
 
+        <OPTION VALUE="prorate"
+                 SELECTED
+        >Prorate (Nth of month billing)</OPTION>
+
+
         <OPTION VALUE="prorate_delayed"
                 
         >Prorate (Nth of month billing), with intro period</OPTION>
@@ -1389,11 +1415,6 @@ function confirm_submit(f) {
         >Bandwidth (volume)</OPTION>
 
 
-        <OPTION VALUE="rt_time"
-                
-        >Project Billing (RT)</OPTION>
-
-
         <OPTION VALUE="sql_generic"
                 
         >Bulk (per-domain from SQL query)</OPTION>
@@ -1404,19 +1425,9 @@ function confirm_submit(f) {
         >External SQL query</OPTION>
 
 
-        <OPTION VALUE="flat_comission_cust"
-                
-        >Commission per active customer</OPTION>
-
-
-        <OPTION VALUE="flat_comission"
-                
-        >Commission per (any) active package</OPTION>
-
-
-        <OPTION VALUE="flat_comission_pkg"
+        <OPTION VALUE="currency_fixed"
                 
-        >Commission per (selected) active package</OPTION>
+        >Per-currency pricing</OPTION>
 
 
     </SELECT>
@@ -1436,7 +1447,7 @@ function confirm_submit(f) {
 
       <TR>
 
-  <TD ALIGN  = "right"
+  <TH ALIGN  = "right"
       VALIGN = "top"
       STYLE  = "padding-top: 3px"
       ID     = "setup_fee_label"
@@ -1467,7 +1478,7 @@ function confirm_submit(f) {
 
       <TR>
 
-  <TD ALIGN  = "right"
+  <TH ALIGN  = "right"
       VALIGN = "top"
       STYLE  = "padding-top: 3px"
       ID     = "setup_show_zero_label"
@@ -1496,7 +1507,7 @@ function confirm_submit(f) {
       
     <TR>
 
-  <TD ALIGN  = "right"
+  <TH ALIGN  = "right"
       VALIGN = "top"
       STYLE  = "padding-top: 3px"
       ID     = "freq_label"
@@ -1506,7 +1517,8 @@ function confirm_submit(f) {
 
       <TD  >
 
-    
+        
+
 <SELECT NAME          = "freq"
         ID            = "freq"
         previousValue = "1"
@@ -1679,7 +1691,7 @@ function confirm_submit(f) {
 
       <TR>
 
-  <TD ALIGN  = "right"
+  <TH ALIGN  = "right"
       VALIGN = "top"
       STYLE  = "padding-top: 3px"
       ID     = "recur_fee_label"
@@ -1710,7 +1722,7 @@ function confirm_submit(f) {
 
       <TR>
 
-  <TD ALIGN  = "right"
+  <TH ALIGN  = "right"
       VALIGN = "top"
       STYLE  = "padding-top: 3px"
       ID     = "recur_show_zero_label"
@@ -1736,17 +1748,17 @@ function confirm_submit(f) {
 
 
 
-                </TABLE>
-        </TD>
-        <TD VALIGN="top" STYLE="padding-left:12px">
-          <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0>
-
+      </TABLE>
 
+<TABLE ID="TableNumber2" BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0>
 
+<TR>
+  <TD CLASS="background" COLSPAN=2>&nbsp;</TD>
+</TR>
 
-      <TR>
+<TR>
   <TH CLASS="background" COLSPAN=2 ALIGN="left" >
-    <FONT SIZE="+1">Taxation</FONT>
+    <FONT SIZE="+1">Limited duration</FONT>
   </TH>
 </TR>
 
@@ -1754,180 +1766,1061 @@ function confirm_submit(f) {
 
 
 
-      <TR>
 
-  <TD ALIGN  = "right"
-      VALIGN = "top"
-      STYLE  = "padding-top: 3px"
-      ID     = "setuptax_label"
-  >Setup fee tax exempt</TD>
 
 
+      
+    <TR>
 
-  <TD >
-    <INPUT TYPE  = "checkbox"
-                           NAME  = "setuptax"
-                           ID    = "setuptax"
-                           VALUE = "Y"
-                           
-                           
-                           
-                    >
+  <TH ALIGN  = "right"
+      VALIGN = "top"
+      STYLE  = "padding-top: 3px"
+      ID     = "adjourn_months_label"
+  >Suspend the package after </TD>
 
-  </TD>
 
-</TR>
 
+      <TD  >
 
+        
 
+<SELECT NAME          = "adjourn_months"
+        ID            = "adjourn_months"
+        previousValue = ""
+        previousText  = ""
+        
+        
+        
+        
+        
+>
 
 
-      <TR>
+      <OPTION VALUE=""
+              SELECTED
+      >
+        
+      </OPTION>
 
-  <TD ALIGN  = "right"
-      VALIGN = "top"
-      STYLE  = "padding-top: 3px"
-      ID     = "recurtax_label"
-  >Recurring fee tax exempt</TD>
 
+      <OPTION VALUE="1"
+              
+      >
+        1 month
+      </OPTION>
 
 
-  <TD >
-    <INPUT TYPE  = "checkbox"
-                           NAME  = "recurtax"
-                           ID    = "recurtax"
-                           VALUE = "Y"
-                           
-                           
-                           
-                    >
+      <OPTION VALUE="2"
+              
+      >
+        2 months
+      </OPTION>
 
-  </TD>
 
-</TR>
+      <OPTION VALUE="3"
+              
+      >
+        3 months
+      </OPTION>
 
 
+      <OPTION VALUE="4"
+              
+      >
+        4 months
+      </OPTION>
 
 
+      <OPTION VALUE="5"
+              
+      >
+        5 months
+      </OPTION>
 
-      
-  <INPUT TYPE="hidden" NAME="taxclass" VALUE="">
 
+      <OPTION VALUE="6"
+              
+      >
+        6 months
+      </OPTION>
 
 
+      <OPTION VALUE="7"
+              
+      >
+        7 months
+      </OPTION>
 
 
-      <INPUT TYPE  = "hidden"
-       NAME  = "taxproductnums"
-       ID    = "taxproductnums"
-       VALUE = "setup,recur,1,2,3"
->
+      <OPTION VALUE="8"
+              
+      >
+        8 months
+      </OPTION>
 
 
+      <OPTION VALUE="9"
+              
+      >
+        9 months
+      </OPTION>
 
 
+      <OPTION VALUE="10"
+              
+      >
+        10 months
+      </OPTION>
 
-      
-  <TR>
 
-  <TD ALIGN  = "right"
-      VALIGN = "top"
-      STYLE  = "padding-top: 3px; display:none"
-      ID     = "taxproduct_select_label"
-  >Tax products</TD>
+      <OPTION VALUE="11"
+              
+      >
+        11 months
+      </OPTION>
 
 
+      <OPTION VALUE="12"
+              
+      >
+        12 months
+      </OPTION>
 
-    <TD STYLE="display:none">
 
+      <OPTION VALUE="13"
+              
+      >
+        13 months
+      </OPTION>
 
-      
 
-      <DIV ID="taxproduct_selectd(default)"
-           STYLE="display: none; z-index: 0"
+      <OPTION VALUE="14"
+              
       >
+        14 months
+      </OPTION>
 
-        <TABLE>  <INPUT TYPE="hidden" NAME="taxproductnum" VALUE="">
 
-  <INPUT TYPE="hidden" NAME="tax_override" VALUE="">
+      <OPTION VALUE="15"
+              
+      >
+        15 months
+      </OPTION>
 
-</TABLE>
 
-      </DIV>
+      <OPTION VALUE="16"
+              
+      >
+        16 months
+      </OPTION>
 
 
-      <DIV ID="taxproduct_selectdsetup"
-           STYLE="display: none; z-index: 0"
+      <OPTION VALUE="17"
+              
       >
+        17 months
+      </OPTION>
 
-        <TABLE>  <INPUT TYPE="hidden" NAME="taxproductnum_setup" VALUE="">
 
-  <INPUT TYPE="hidden" NAME="tax_override_setup" VALUE="">
+      <OPTION VALUE="18"
+              
+      >
+        18 months
+      </OPTION>
 
-</TABLE>
 
-      </DIV>
+      <OPTION VALUE="19"
+              
+      >
+        19 months
+      </OPTION>
 
 
-      <DIV ID="taxproduct_selectdrecur"
-           STYLE="display: none; z-index: 0"
+      <OPTION VALUE="20"
+              
       >
+        20 months
+      </OPTION>
 
-        <TABLE>  <INPUT TYPE="hidden" NAME="taxproductnum_recur" VALUE="">
 
-  <INPUT TYPE="hidden" NAME="tax_override_recur" VALUE="">
+      <OPTION VALUE="21"
+              
+      >
+        21 months
+      </OPTION>
 
-</TABLE>
 
-      </DIV>
+      <OPTION VALUE="22"
+              
+      >
+        22 months
+      </OPTION>
+
+
+      <OPTION VALUE="23"
+              
+      >
+        23 months
+      </OPTION>
+
+
+      <OPTION VALUE="24"
+              
+      >
+        24 months
+      </OPTION>
+
+
+      <OPTION VALUE="25"
+              
+      >
+        25 months
+      </OPTION>
+
+
+      <OPTION VALUE="26"
+              
+      >
+        26 months
+      </OPTION>
+
+
+      <OPTION VALUE="27"
+              
+      >
+        27 months
+      </OPTION>
+
+
+      <OPTION VALUE="28"
+              
+      >
+        28 months
+      </OPTION>
+
+
+      <OPTION VALUE="29"
+              
+      >
+        29 months
+      </OPTION>
+
+
+      <OPTION VALUE="30"
+              
+      >
+        30 months
+      </OPTION>
+
+
+      <OPTION VALUE="31"
+              
+      >
+        31 months
+      </OPTION>
+
+
+      <OPTION VALUE="32"
+              
+      >
+        32 months
+      </OPTION>
+
+
+      <OPTION VALUE="33"
+              
+      >
+        33 months
+      </OPTION>
+
+
+      <OPTION VALUE="34"
+              
+      >
+        34 months
+      </OPTION>
+
+
+      <OPTION VALUE="35"
+              
+      >
+        35 months
+      </OPTION>
+
+
+      <OPTION VALUE="36"
+              
+      >
+        36 months
+      </OPTION>
+
+
+</SELECT>
+
+
+
+      </TD>
+    </TR>
+
+
+
+
+
+      
+    <TR>
+
+  <TH ALIGN  = "right"
+      VALIGN = "top"
+      STYLE  = "padding-top: 3px"
+      ID     = "contract_end_months_label"
+  >Contract ends after </TD>
+
+
+
+      <TD  >
+
+        
+
+<SELECT NAME          = "contract_end_months"
+        ID            = "contract_end_months"
+        previousValue = ""
+        previousText  = ""
+        
+        
+        
+        
+        
+>
+
+
+      <OPTION VALUE=""
+              SELECTED
+      >
+        
+      </OPTION>
+
+
+      <OPTION VALUE="1"
+              
+      >
+        1 month
+      </OPTION>
+
+
+      <OPTION VALUE="2"
+              
+      >
+        2 months
+      </OPTION>
+
+
+      <OPTION VALUE="3"
+              
+      >
+        3 months
+      </OPTION>
+
+
+      <OPTION VALUE="4"
+              
+      >
+        4 months
+      </OPTION>
+
+
+      <OPTION VALUE="5"
+              
+      >
+        5 months
+      </OPTION>
+
+
+      <OPTION VALUE="6"
+              
+      >
+        6 months
+      </OPTION>
+
+
+      <OPTION VALUE="7"
+              
+      >
+        7 months
+      </OPTION>
+
+
+      <OPTION VALUE="8"
+              
+      >
+        8 months
+      </OPTION>
+
+
+      <OPTION VALUE="9"
+              
+      >
+        9 months
+      </OPTION>
+
+
+      <OPTION VALUE="10"
+              
+      >
+        10 months
+      </OPTION>
+
+
+      <OPTION VALUE="11"
+              
+      >
+        11 months
+      </OPTION>
+
+
+      <OPTION VALUE="12"
+              
+      >
+        12 months
+      </OPTION>
+
+
+      <OPTION VALUE="13"
+              
+      >
+        13 months
+      </OPTION>
+
+
+      <OPTION VALUE="14"
+              
+      >
+        14 months
+      </OPTION>
+
+
+      <OPTION VALUE="15"
+              
+      >
+        15 months
+      </OPTION>
+
+
+      <OPTION VALUE="16"
+              
+      >
+        16 months
+      </OPTION>
+
+
+      <OPTION VALUE="17"
+              
+      >
+        17 months
+      </OPTION>
+
+
+      <OPTION VALUE="18"
+              
+      >
+        18 months
+      </OPTION>
+
+
+      <OPTION VALUE="19"
+              
+      >
+        19 months
+      </OPTION>
+
+
+      <OPTION VALUE="20"
+              
+      >
+        20 months
+      </OPTION>
+
+
+      <OPTION VALUE="21"
+              
+      >
+        21 months
+      </OPTION>
+
+
+      <OPTION VALUE="22"
+              
+      >
+        22 months
+      </OPTION>
+
+
+      <OPTION VALUE="23"
+              
+      >
+        23 months
+      </OPTION>
+
+
+      <OPTION VALUE="24"
+              
+      >
+        24 months
+      </OPTION>
+
+
+      <OPTION VALUE="25"
+              
+      >
+        25 months
+      </OPTION>
+
+
+      <OPTION VALUE="26"
+              
+      >
+        26 months
+      </OPTION>
+
+
+      <OPTION VALUE="27"
+              
+      >
+        27 months
+      </OPTION>
+
+
+      <OPTION VALUE="28"
+              
+      >
+        28 months
+      </OPTION>
+
+
+      <OPTION VALUE="29"
+              
+      >
+        29 months
+      </OPTION>
+
+
+      <OPTION VALUE="30"
+              
+      >
+        30 months
+      </OPTION>
+
+
+      <OPTION VALUE="31"
+              
+      >
+        31 months
+      </OPTION>
+
+
+      <OPTION VALUE="32"
+              
+      >
+        32 months
+      </OPTION>
+
+
+      <OPTION VALUE="33"
+              
+      >
+        33 months
+      </OPTION>
+
+
+      <OPTION VALUE="34"
+              
+      >
+        34 months
+      </OPTION>
+
+
+      <OPTION VALUE="35"
+              
+      >
+        35 months
+      </OPTION>
+
+
+      <OPTION VALUE="36"
+              
+      >
+        36 months
+      </OPTION>
+
+
+</SELECT>
+
+
+
+      </TD>
+    </TR>
+
+
+
+
+
+      
+    <TR>
+
+  <TH ALIGN  = "right"
+      VALIGN = "top"
+      STYLE  = "padding-top: 3px"
+      ID     = "expire_months_label"
+  >Cancel the package after </TD>
+
+
+
+      <TD  >
+
+        
+
+<SELECT NAME          = "expire_months"
+        ID            = "expire_months"
+        previousValue = ""
+        previousText  = ""
+        
+        
+        
+        
+        
+>
+
+
+      <OPTION VALUE=""
+              SELECTED
+      >
+        
+      </OPTION>
+
+
+      <OPTION VALUE="1"
+              
+      >
+        1 month
+      </OPTION>
+
+
+      <OPTION VALUE="2"
+              
+      >
+        2 months
+      </OPTION>
+
+
+      <OPTION VALUE="3"
+              
+      >
+        3 months
+      </OPTION>
+
+
+      <OPTION VALUE="4"
+              
+      >
+        4 months
+      </OPTION>
+
+
+      <OPTION VALUE="5"
+              
+      >
+        5 months
+      </OPTION>
+
+
+      <OPTION VALUE="6"
+              
+      >
+        6 months
+      </OPTION>
+
+
+      <OPTION VALUE="7"
+              
+      >
+        7 months
+      </OPTION>
 
 
-      <DIV ID="taxproduct_selectd1"
-           STYLE="display: none; z-index: 0"
+      <OPTION VALUE="8"
+              
       >
+        8 months
+      </OPTION>
 
-        <TABLE>  <INPUT TYPE="hidden" NAME="taxproductnum_1" VALUE="">
 
-  <INPUT TYPE="hidden" NAME="tax_override_1" VALUE="">
+      <OPTION VALUE="9"
+              
+      >
+        9 months
+      </OPTION>
 
-</TABLE>
 
-      </DIV>
+      <OPTION VALUE="10"
+              
+      >
+        10 months
+      </OPTION>
 
 
-      <DIV ID="taxproduct_selectd2"
-           STYLE="display: none; z-index: 0"
+      <OPTION VALUE="11"
+              
+      >
+        11 months
+      </OPTION>
+
+
+      <OPTION VALUE="12"
+              
+      >
+        12 months
+      </OPTION>
+
+
+      <OPTION VALUE="13"
+              
+      >
+        13 months
+      </OPTION>
+
+
+      <OPTION VALUE="14"
+              
+      >
+        14 months
+      </OPTION>
+
+
+      <OPTION VALUE="15"
+              
+      >
+        15 months
+      </OPTION>
+
+
+      <OPTION VALUE="16"
+              
+      >
+        16 months
+      </OPTION>
+
+
+      <OPTION VALUE="17"
+              
+      >
+        17 months
+      </OPTION>
+
+
+      <OPTION VALUE="18"
+              
+      >
+        18 months
+      </OPTION>
+
+
+      <OPTION VALUE="19"
+              
+      >
+        19 months
+      </OPTION>
+
+
+      <OPTION VALUE="20"
+              
+      >
+        20 months
+      </OPTION>
+
+
+      <OPTION VALUE="21"
+              
+      >
+        21 months
+      </OPTION>
+
+
+      <OPTION VALUE="22"
+              
+      >
+        22 months
+      </OPTION>
+
+
+      <OPTION VALUE="23"
+              
+      >
+        23 months
+      </OPTION>
+
+
+      <OPTION VALUE="24"
+              
+      >
+        24 months
+      </OPTION>
+
+
+      <OPTION VALUE="25"
+              
+      >
+        25 months
+      </OPTION>
+
+
+      <OPTION VALUE="26"
+              
+      >
+        26 months
+      </OPTION>
+
+
+      <OPTION VALUE="27"
+              
+      >
+        27 months
+      </OPTION>
+
+
+      <OPTION VALUE="28"
+              
+      >
+        28 months
+      </OPTION>
+
+
+      <OPTION VALUE="29"
+              
+      >
+        29 months
+      </OPTION>
+
+
+      <OPTION VALUE="30"
+              
+      >
+        30 months
+      </OPTION>
+
+
+      <OPTION VALUE="31"
+              
+      >
+        31 months
+      </OPTION>
+
+
+      <OPTION VALUE="32"
+              
+      >
+        32 months
+      </OPTION>
+
+
+      <OPTION VALUE="33"
+              
+      >
+        33 months
+      </OPTION>
+
+
+      <OPTION VALUE="34"
+              
+      >
+        34 months
+      </OPTION>
+
+
+      <OPTION VALUE="35"
+              
+      >
+        35 months
+      </OPTION>
+
+
+      <OPTION VALUE="36"
+              
       >
+        36 months
+      </OPTION>
+
+
+</SELECT>
+
+
+
+      </TD>
+    </TR>
+
+
+<script>
+// disable the pkgpart selector if it's set to zero months
+$().ready(function() {
+  $('#expire_months').on('change', function() {
+    $('#change_to_pkgpart').prop('disabled', this.value == 0);
+  })
+  .trigger('change');
+});
+</script>
+
+
+
+
+      
+      <TR>
+
+  <TH ALIGN  = "right"
+      VALIGN = "top"
+      STYLE  = "padding-top: 3px"
+      ID     = "change_to_pkgpart_label"
+  >and replace it with </TD>
+
+
+        <TD >
+
+          
+
+<SELECT 
+        NAME = "change_to_pkgpart"
+        ID   = "change_to_pkgpart"
+        
+        
+        
+>
+
+
+    <OPTION VALUE="">no package
+
+    <OPTION VALUE="4"
+            
+    >
+     Annual subscription domain
+    <OPTION VALUE="5"
+            
+    >
+     Monthly anniversary phone x4
+    <OPTION VALUE="3"
+            
+    >
+     Monthly prorated broadband
+    <OPTION VALUE="1"
+            
+    >
+     System Domain
+
+
+</SELECT>
+
+
+
+
+        </TD>
+      </TR>
+
+
+
+
+
+                </TABLE>
+        </TD>
+        <TD VALIGN="top" STYLE="padding-left:12px">
+          <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0>
+
+
+
+
+      <TR>
+  <TH CLASS="background" COLSPAN=2 ALIGN="left" >
+    <FONT SIZE="+1">Taxation</FONT>
+  </TH>
+</TR>
+
+
+
+
+
+      <TR>
+
+  <TH ALIGN  = "right"
+      VALIGN = "top"
+      STYLE  = "padding-top: 3px"
+      ID     = "setuptax_label"
+  >Setup fee tax exempt</TD>
+
+
+
+  <TD >
+    <INPUT TYPE  = "checkbox"
+                           NAME  = "setuptax"
+                           ID    = "setuptax"
+                           VALUE = "Y"
+                           
+                           
+                           
+                    >
+
+  </TD>
+
+</TR>
+
+
+
+
+
+      <TR>
+
+  <TH ALIGN  = "right"
+      VALIGN = "top"
+      STYLE  = "padding-top: 3px"
+      ID     = "recurtax_label"
+  >Recurring fee tax exempt</TD>
+
+
+
+  <TD >
+    <INPUT TYPE  = "checkbox"
+                           NAME  = "recurtax"
+                           ID    = "recurtax"
+                           VALUE = "Y"
+                           
+                           
+                           
+                    >
 
-        <TABLE>  <INPUT TYPE="hidden" NAME="taxproductnum_2" VALUE="">
+  </TD>
 
-  <INPUT TYPE="hidden" NAME="tax_override_2" VALUE="">
+</TR>
 
-</TABLE>
 
-      </DIV>
 
 
-      <DIV ID="taxproduct_selectd3"
-           STYLE="display: none; z-index: 0"
-      >
 
-        <TABLE>  <INPUT TYPE="hidden" NAME="taxproductnum_3" VALUE="">
+      
+  <INPUT TYPE="hidden" NAME="taxclass" VALUE="">
 
-  <INPUT TYPE="hidden" NAME="tax_override_3" VALUE="">
 
-</TABLE>
 
-      </DIV>
 
 
+      <INPUT TYPE  = "hidden"
+       NAME  = "taxproductnums"
+       ID    = "taxproductnums"
+       VALUE = "setup,recur,1,2,3"
+>
 
 
 
-    </TD>
 
-  </TR>
 
+      <INPUT TYPE  = "hidden"
+       NAME  = "taxproductnum"
+       ID    = "taxproductnum"
+       VALUE = ""
+>
 
 
 
@@ -1935,7 +2828,7 @@ function confirm_submit(f) {
 
       </TABLE>
 
-<TABLE ID="TableNumber2" BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0>
+<TABLE ID="TableNumber3" BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0>
 
 <TR>
   <TD CLASS="background" COLSPAN=2>&nbsp;</TD>
@@ -1956,7 +2849,7 @@ function confirm_submit(f) {
 
       <TR>
 
-  <TD ALIGN  = "right"
+  <TH ALIGN  = "right"
       VALIGN = "top"
       STYLE  = "padding-top: 3px"
       ID     = "promo_code_label"
@@ -1985,7 +2878,7 @@ function confirm_submit(f) {
 
       </TABLE>
 
-<TABLE ID="TableNumber3" BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0>
+<TABLE ID="TableNumber4" BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0>
 
 <TR>
   <TD CLASS="background" COLSPAN=2>&nbsp;</TD>
@@ -2006,7 +2899,7 @@ function confirm_submit(f) {
 
       <TR>
 
-  <TD ALIGN  = "right"
+  <TH ALIGN  = "right"
       VALIGN = "top"
       STYLE  = "padding-top: 3px"
       ID     = "setup_cost_label"
@@ -2037,7 +2930,7 @@ function confirm_submit(f) {
 
       <TR>
 
-  <TD ALIGN  = "right"
+  <TH ALIGN  = "right"
       VALIGN = "top"
       STYLE  = "padding-top: 3px"
       ID     = "recur_cost_label"
@@ -2094,7 +2987,7 @@ function confirm_submit(f) {
 
       </TABLE>
 
-<TABLE ID="TableNumber4" BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0>
+<TABLE ID="TableNumber5" BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0>
 
 <TR>
   <TD CLASS="background" COLSPAN=2>&nbsp;</TD>
@@ -2115,7 +3008,7 @@ function confirm_submit(f) {
 
       <TR>
 
-  <TD ALIGN  = "right"
+  <TH ALIGN  = "right"
       VALIGN = "top"
       STYLE  = "padding-top: 3px"
       ID     = "agent_pkgpartid_label"
@@ -2144,7 +3037,7 @@ function confirm_submit(f) {
 
       </TABLE>
 
-<TABLE ID="TableNumber5" BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0>
+<TABLE ID="TableNumber6" BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0>
 
 <TR>
   <TD CLASS="background" COLSPAN=2>&nbsp;</TD>
@@ -2165,7 +3058,7 @@ function confirm_submit(f) {
 
       <TR>
 
-  <TD ALIGN  = "right"
+  <TH ALIGN  = "right"
       VALIGN = "top"
       STYLE  = "padding-top: 3px"
       ID     = "pay_weight_label"
@@ -2194,7 +3087,7 @@ function confirm_submit(f) {
 
       <TR>
 
-  <TD ALIGN  = "right"
+  <TH ALIGN  = "right"
       VALIGN = "top"
       STYLE  = "padding-top: 3px"
       ID     = "credit_weight_label"
@@ -2231,6 +3124,209 @@ function confirm_submit(f) {
 
 
 
+      </TABLE>
+
+<TABLE ID="TableNumber7" BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0>
+
+<TR>
+  <TD CLASS="background" COLSPAN=2>&nbsp;</TD>
+</TR>
+
+<TR>
+  <TH CLASS="background" COLSPAN=2 ALIGN="left" >
+    <FONT SIZE="+1">Usage pricing add-ons</FONT>
+  </TH>
+</TR>
+
+
+
+
+
+
+
+
+      <TR>
+
+  <TH ALIGN  = "right"
+      VALIGN = "top"
+      STYLE  = "padding-top: 3px"
+      ID     = "usagepricepart_label0"
+  > </TD>
+
+
+      <TD COLSPAN="1">
+      
+  <INPUT TYPE="hidden" NAME="usagepricepart0" ID="usagepricepart0" VALUE="">
+
+  <TABLE STYLE="display:inline">
+    <TR>
+
+      <TD>
+        <TABLE STYLE="display:inline">
+          <TR>
+            <TD>Price</TD>
+            <TD>$<INPUT
+              TYPE  = "text"
+              NAME  = "usagepricepart0_price"
+              ID    = "usagepricepart0_price"
+              VALUE = ""
+              onChange="
+spawn_usagepricepart(this);"
+            ></TD>
+          </TR>
+
+
+        </TABLE>
+      </TD>
+
+      <TD>
+        <SELECT NAME = "usagepricepart0_action"
+                ID   = "usagepricepart0_action"
+                onChange="
+spawn_usagepricepart(this);"
+        >
+          <OPTION VALUE="increment">Increment
+        </SELECT>
+      </TD>
+
+      <TD>
+        <SELECT NAME = "usagepricepart0_target"
+                ID   = "usagepricepart0_target"
+                onChange="
+spawn_usagepricepart(this);"
+        >
+          <OPTION VALUE="svc_acct.totalbytes"
+                  
+          >Gigabytes
+          <OPTION VALUE="svc_acct.seconds"
+                  
+          >Hours
+          <OPTION VALUE="svc_conferencing.participants"
+                  
+          >Conference Participants
+      </TD>
+
+      <TD>
+        <INPUT TYPE = "text"
+               NAME = "usagepricepart0_amount"
+               ID   = "usagepricepart0_amount"
+               SIZE = 5
+               VALUE = ""
+               onChange="
+spawn_usagepricepart(this);"
+        >
+      </TD>
+
+    </TR>
+  </TABLE>
+
+
+      </TD>
+
+
+      </TR>
+
+
+      <SCRIPT TYPE="text/javascript">
+
+        var usagepricepart_rownum = 3;
+        var usagepricepart_fieldnum = 0;
+
+        function spawn_usagepricepart(what) {
+
+          // only spawn if we're the last element... return if not
+
+          var field_regex = /(\d+)(_[a-z_]+)?$/;
+          var match = field_regex.exec(what.name);
+          if ( !match ) {
+            alert(what.name + " didn't match for " + what);
+            return;
+          }
+          if ( match[1] != usagepricepart_fieldnum ) {
+            return;
+          }
+
+          // change the label on the last entry & add a remove button
+          var prev_label = document.getElementById('usagepricepart_label' + usagepricepart_fieldnum );
+          prev_label.innerHTML = '<INPUT TYPE="button" VALUE="X" TITLE="Remove this  " onClick="remove_usagepricepart(' + usagepricepart_fieldnum + ');" STYLE="color:#ff0000;font-weight:bold;padding-left:2px;padding-right:2px" >&nbsp; ';
+
+          usagepricepart_fieldnum++;
+
+          //get the new widget
+
+
+          var newrow =  '\n  <INPUT TYPE="hidden" NAME="usagepricepartMAGIC_NUMBER" ID="usagepricepartMAGIC_NUMBER" VALUE="">\n\n  <TABLE STYLE="display:inline">\n    <TR>\n\n      <TD>\n        <TABLE STYLE="display:inline">\n          <TR>\n            <TD>Price</TD>\n            <TD>$<INPUT\n              TYPE  = "text"\n              NAME  = "usagepricepartMAGIC_NUMBER_price"\n              ID    = "usagepricepartMAGIC_NUMBER_price"\n              VALUE = ""\n              onChange="\nspawn_usagepricepart(this);"\n            ></TD>\n          </TR>\n\n\n        </TABLE>\n      </TD>\n\n      <TD>\n        <SELECT NAME = "usagepricepartMAGIC_NUMBER_action"\n                ID   = "usagepricepartMAGIC_NUMBER_action"\n                onChange="\nspawn_usagepricepart(this);"\n        >\n          <OPTION VALUE="increment">Increment\n        </SELECT>\n      </TD>\n\n      <TD>\n        <SELECT NAME = "usagepricepartMAGIC_NUMBER_target"\n                ID   = "usagepricepartMAGIC_NUMBER_target"\n                onChange="\nspawn_usagepricepart(this);"\n        >\n          <OPTION VALUE="svc_acct.totalbytes"\n                  \n          >Gigabytes\n          <OPTION VALUE="svc_acct.seconds"\n                  \n          >Hours\n          <OPTION VALUE="svc_conferencing.participants"\n                  \n          >Conference Participants\n      </TD>\n\n      <TD>\n        <INPUT TYPE = "text"\n               NAME = "usagepricepartMAGIC_NUMBER_amount"\n               ID   = "usagepricepartMAGIC_NUMBER_amount"\n               SIZE = 5\n               VALUE = ""\n               onChange="\nspawn_usagepricepart(this);"\n        >\n      </TD>\n\n    </TR>\n  </TABLE>\n\n';
+
+            var newfunc = '';
+
+          // substitute in the new field name
+          var magic_regex = /MAGIC_NUMBER/g;
+          newrow  = newrow.replace(  magic_regex, usagepricepart_fieldnum );
+          newfunc = newfunc.replace( magic_regex, usagepricepart_fieldnum );
+
+          // evaluate new_func
+          if (window.ActiveXObject) {
+            window.execScript(newfunc);
+          } else { /* (window.XMLHttpRequest) */
+            //window.eval(newfunc);
+            setTimeout(newfunc, 0);
+          }
+
+          // add new row
+
+          //hmm, can't use selectlayers after a tablebreak-title for now
+          var table = document.getElementById('TableNumber7');
+
+          var row = table.insertRow(usagepricepart_rownum++);
+
+          var label_cell = document.createElement('TD');
+
+          label_cell.id = 'usagepricepart_label' + usagepricepart_fieldnum;
+
+          label_cell.style.textAlign = "right";
+          label_cell.style.verticalAlign = "top";
+          label_cell.style.borderTop = "1px solid black";
+          label_cell.style.paddingTop = "5px";
+
+          label_cell.innerHTML = ' ';
+
+          row.appendChild(label_cell);
+          
+          var widget_cell = document.createElement('TD');
+
+          widget_cell.style.borderTop = "1px solid black";
+          widget_cell.style.paddingTop = "3px";
+          widget_cell.colSpan = "1";
+
+          widget_cell.innerHTML = newrow;
+
+          row.appendChild(widget_cell);
+
+
+
+        }
+
+        function remove_usagepricepart(remove_fieldnum) {
+          //alert("remove usagepricepart " + remove_fieldnum);
+          var select = document.getElementById('usagepricepart' + remove_fieldnum);
+
+          if ( ! select ) {
+            alert("can't find element usagepricepart" + remove_fieldnum);
+            return;
+          }
+
+
+          select.disabled = 'disabled'; // this seems to prevent it from being submitted on tested browsers so far (IE, moz, konq at least)
+          var label_td = document.getElementById('usagepricepart_label' + remove_fieldnum );
+          label_td.parentNode.style.display = 'none';
+
+
+        }
+
+      </SCRIPT>
+
+
+
       <INPUT TYPE  = "hidden"
        NAME  = "census_title"
        ID    = "census_title"
@@ -2253,7 +3349,7 @@ function confirm_submit(f) {
 
       </TABLE>
 
-<TABLE ID="TableNumber6" BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0>
+<TABLE ID="TableNumber8" BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0>
 
 <TR>
   <TD CLASS="background" COLSPAN=2>&nbsp;</TD>
@@ -2274,7 +3370,7 @@ function confirm_submit(f) {
 
       <TR>
 
-  <TD ALIGN  = "right"
+  <TH ALIGN  = "right"
       VALIGN = "top"
       STYLE  = "padding-top: 3px"
       ID     = "discountnum_label0"
@@ -2354,7 +3450,7 @@ spawn_discountnum(this);"
           // add new row
 
           //hmm, can't use selectlayers after a tablebreak-title for now
-          var table = document.getElementById('TableNumber6');
+          var table = document.getElementById('TableNumber8');
 
           var row = table.insertRow(discountnum_rownum++);
 
@@ -2408,7 +3504,7 @@ spawn_discountnum(this);"
 
       </TABLE>
 
-<TABLE ID="TableNumber7" BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0>
+<TABLE ID="TableNumber9" BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0>
 
 <TR>
   <TD CLASS="background" COLSPAN=4>&nbsp;</TD>
@@ -2429,7 +3525,7 @@ spawn_discountnum(this);"
 
       <TR>
 
-  <TD ALIGN  = "right"
+  <TH ALIGN  = "right"
       VALIGN = "top"
       STYLE  = "padding-top: 3px"
       ID     = "bill_dst_pkgpart_label0"
@@ -2544,7 +3640,7 @@ spawn_bill_dst_pkgpart(this);"
           // add new row
 
           //hmm, can't use selectlayers after a tablebreak-title for now
-          var table = document.getElementById('TableNumber7');
+          var table = document.getElementById('TableNumber9');
 
           var row = table.insertRow(bill_dst_pkgpart_rownum++);
 
@@ -2624,7 +3720,7 @@ spawn_bill_dst_pkgpart(this);"
 
       </TABLE>
 
-<TABLE ID="TableNumber8" BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0>
+<TABLE ID="TableNumber10" BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0>
 
 <TR>
   <TD CLASS="background" COLSPAN=2>&nbsp;</TD>
@@ -2649,12 +3745,12 @@ spawn_bill_dst_pkgpart(this);"
 <TABLE BORDER=0 CELLSPACING=4 ><TR><TD VALIGN="top">
 
 
-<TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Quan.</FONT></TH><TH BGCOLOR="#dcdcdc"><FONT SIZE=-2>Primary</FONT></TH><TH BGCOLOR="#dcdcdc">Service</TH><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Hide</FONT></TH></TR>
+<TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Quan.</FONT></TH><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Primary</FONT></TH><TH BGCOLOR="#dcdcdc">Service</TH><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Hide<BR>from<BR>Invoices</FONT></TH><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Bulk<BR>Charge</FONT></TH><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Hold<BR>Until<BR>Provision</FONT></TH></TR>
 
 
   <TR>
     <TD>
-      <INPUT TYPE="text" NAME="pkg_svc1" SIZE=7 MAXLENGTH=6 VALUE="0">
+      <INPUT TYPE="text" NAME="pkg_svc1" SIZE=4 MAXLENGTH=6 VALUE="0">
     </TD>
    
     <TD ALIGN="center">
@@ -2665,14 +3761,23 @@ spawn_bill_dst_pkgpart(this);"
       <A HREF="part_svc.cgi?1">Domain</A>      
     </TD>
 
-    <TD>
+    <TD ALIGN="center">
       <INPUT TYPE="checkbox" NAME="hidden1" VALUE="Y">
     </TD>
+
+    <TD ALIGN="center">
+      <INPUT TYPE="checkbox" NAME="no_bulk_skip1" VALUE="Y" CHECKED>
+    </TD>
+
+    <TD ALIGN="center">
+      <INPUT TYPE="checkbox" NAME="provision_hold1" VALUE="Y">
+    </TD>
+
   </TR>
 
   <TR>
     <TD>
-      <INPUT TYPE="text" NAME="pkg_svc2" SIZE=7 MAXLENGTH=6 VALUE="1">
+      <INPUT TYPE="text" NAME="pkg_svc2" SIZE=4 MAXLENGTH=6 VALUE="1">
     </TD>
    
     <TD ALIGN="center">
@@ -2683,18 +3788,27 @@ spawn_bill_dst_pkgpart(this);"
       <A HREF="part_svc.cgi?2">Test svc_acct</A>      
     </TD>
 
-    <TD>
+    <TD ALIGN="center">
       <INPUT TYPE="checkbox" NAME="hidden2" VALUE="Y">
     </TD>
+
+    <TD ALIGN="center">
+      <INPUT TYPE="checkbox" NAME="no_bulk_skip2" VALUE="Y" CHECKED>
+    </TD>
+
+    <TD ALIGN="center">
+      <INPUT TYPE="checkbox" NAME="provision_hold2" VALUE="Y">
+    </TD>
+
   </TR>
 
          </TABLE></TD><TD VALIGN="top">
 
-<TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Quan.</FONT></TH><TH BGCOLOR="#dcdcdc"><FONT SIZE=-2>Primary</FONT></TH><TH BGCOLOR="#dcdcdc">Service</TH><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Hide</FONT></TH></TR>
+<TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Quan.</FONT></TH><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Primary</FONT></TH><TH BGCOLOR="#dcdcdc">Service</TH><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Hide<BR>from<BR>Invoices</FONT></TH><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Bulk<BR>Charge</FONT></TH><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Hold<BR>Until<BR>Provision</FONT></TH></TR>
 
   <TR>
     <TD>
-      <INPUT TYPE="text" NAME="pkg_svc3" SIZE=7 MAXLENGTH=6 VALUE="0">
+      <INPUT TYPE="text" NAME="pkg_svc3" SIZE=4 MAXLENGTH=6 VALUE="0">
     </TD>
    
     <TD ALIGN="center">
@@ -2705,14 +3819,23 @@ spawn_bill_dst_pkgpart(this);"
       <A HREF="part_svc.cgi?3">Test svc_domain</A>      
     </TD>
 
-    <TD>
+    <TD ALIGN="center">
       <INPUT TYPE="checkbox" NAME="hidden3" VALUE="Y">
     </TD>
+
+    <TD ALIGN="center">
+      <INPUT TYPE="checkbox" NAME="no_bulk_skip3" VALUE="Y" CHECKED>
+    </TD>
+
+    <TD ALIGN="center">
+      <INPUT TYPE="checkbox" NAME="provision_hold3" VALUE="Y">
+    </TD>
+
   </TR>
 
   <TR>
     <TD>
-      <INPUT TYPE="text" NAME="pkg_svc4" SIZE=7 MAXLENGTH=6 VALUE="0">
+      <INPUT TYPE="text" NAME="pkg_svc4" SIZE=4 MAXLENGTH=6 VALUE="0">
     </TD>
    
     <TD ALIGN="center">
@@ -2723,18 +3846,27 @@ spawn_bill_dst_pkgpart(this);"
       <A HREF="part_svc.cgi?4">Test svc_broadband</A>      
     </TD>
 
-    <TD>
+    <TD ALIGN="center">
       <INPUT TYPE="checkbox" NAME="hidden4" VALUE="Y">
     </TD>
+
+    <TD ALIGN="center">
+      <INPUT TYPE="checkbox" NAME="no_bulk_skip4" VALUE="Y" CHECKED>
+    </TD>
+
+    <TD ALIGN="center">
+      <INPUT TYPE="checkbox" NAME="provision_hold4" VALUE="Y">
+    </TD>
+
   </TR>
 
          </TABLE></TD><TD VALIGN="top">
 
-<TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Quan.</FONT></TH><TH BGCOLOR="#dcdcdc"><FONT SIZE=-2>Primary</FONT></TH><TH BGCOLOR="#dcdcdc">Service</TH><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Hide</FONT></TH></TR>
+<TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Quan.</FONT></TH><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Primary</FONT></TH><TH BGCOLOR="#dcdcdc">Service</TH><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Hide<BR>from<BR>Invoices</FONT></TH><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Bulk<BR>Charge</FONT></TH><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Hold<BR>Until<BR>Provision</FONT></TH></TR>
 
   <TR>
     <TD>
-      <INPUT TYPE="text" NAME="pkg_svc5" SIZE=7 MAXLENGTH=6 VALUE="0">
+      <INPUT TYPE="text" NAME="pkg_svc5" SIZE=4 MAXLENGTH=6 VALUE="0">
     </TD>
    
     <TD ALIGN="center">
@@ -2745,9 +3877,18 @@ spawn_bill_dst_pkgpart(this);"
       <A HREF="part_svc.cgi?5">Test svc_phone</A>      
     </TD>
 
-    <TD>
+    <TD ALIGN="center">
       <INPUT TYPE="checkbox" NAME="hidden5" VALUE="Y">
     </TD>
+
+    <TD ALIGN="center">
+      <INPUT TYPE="checkbox" NAME="no_bulk_skip5" VALUE="Y" CHECKED>
+    </TD>
+
+    <TD ALIGN="center">
+      <INPUT TYPE="checkbox" NAME="provision_hold5" VALUE="Y">
+    </TD>
+
   </TR>
 
 </TR></TABLE></TD></TR></TABLE>
@@ -2762,7 +3903,7 @@ spawn_bill_dst_pkgpart(this);"
 
       <TR>
 
-  <TD ALIGN  = "right"
+  <TH ALIGN  = "right"
       VALIGN = "top"
       STYLE  = "padding-top: 3px"
       ID     = "svc_dst_pkgpart_label0"
@@ -2860,7 +4001,7 @@ spawn_svc_dst_pkgpart(this);"
           // add new row
 
           //hmm, can't use selectlayers after a tablebreak-title for now
-          var table = document.getElementById('TableNumber8');
+          var table = document.getElementById('TableNumber10');
 
           var row = table.insertRow(svc_dst_pkgpart_rownum++);
 
@@ -2914,7 +4055,7 @@ spawn_svc_dst_pkgpart(this);"
 
       </TABLE>
 
-<TABLE ID="TableNumber9" BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0>
+<TABLE ID="TableNumber11" BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0>
 
 <TR>
   <TD CLASS="background" COLSPAN=4>&nbsp;</TD>
@@ -2935,7 +4076,7 @@ spawn_svc_dst_pkgpart(this);"
 
       <TR>
 
-  <TD ALIGN  = "right"
+  <TH ALIGN  = "right"
       VALIGN = "top"
       STYLE  = "padding-top: 3px"
       ID     = "supp_dst_pkgpart_label0"
@@ -3037,7 +4178,7 @@ spawn_supp_dst_pkgpart(this);"
           // add new row
 
           //hmm, can't use selectlayers after a tablebreak-title for now
-          var table = document.getElementById('TableNumber9');
+          var table = document.getElementById('TableNumber11');
 
           var row = table.insertRow(supp_dst_pkgpart_rownum++);
 
@@ -3091,7 +4232,7 @@ spawn_supp_dst_pkgpart(this);"
 
       </TABLE>
 
-<TABLE ID="TableNumber10" BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0>
+<TABLE ID="TableNumber12" BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0>
 
 <TR>
   <TD CLASS="background" COLSPAN=2>&nbsp;</TD>
@@ -3120,7 +4261,7 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Charge recurring fee for period</TD><TD><SELECT NAME="flat__recur_temporality"><OPTION VALUE="upcoming">Upcoming (future)<OPTION VALUE="preceding">Preceding (past)</SELECT></TD></TR><TR><TD ALIGN="right">Auto-add an expiration date this number of months out</TD><TD><INPUT TYPE="text" NAME="flat__expire_months" VALUE=""></TD></TR><TR><TD ALIGN="right">Auto-add a suspension date this number of months out</TD><TD><INPUT TYPE="text" NAME="flat__adjourn_months" VALUE=""></TD></TR><TR><TD ALIGN="right">Auto-add a contract end date this number of years out</TD><TD><SELECT NAME="flat__contract_end_months"><OPTION VALUE="" SELECTED>(none)<OPTION VALUE="12">1<OPTION VALUE="24">2<OPTION VALUE="36">3<OPTION VALUE="48">4<OPTION VALUE="60">5</SELECT></TD></TR><TR><TD ALIGN="right">Auto-add a start date to the 1st, ignoring the current month.</TD><TD><INPUT TYPE="checkbox" NAME="flat__start_1st" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Prorate first month to synchronize with the customer's other packages</TD><TD><INPUT TYPE="checkbox" NAME="flat__sync_bill_date" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When synchronizing, defer the bill until the customer's next bill date</TD><TD><INPUT TYPE="checkbox" NAME="flat__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When synchronizing, round the prorated period to the nearest full day</TD><TD><INPUT TYPE="checkbox" NAME="flat__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">Continue recurring billing while suspended</TD><TD><INPUT TYPE="checkbox" NAME="flat__suspend_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Adjust next bill date forward when unsuspending</TD><TD><INPUT TYPE="checkbox" NAME="flat__unsuspend_adjust_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill the last period on cancellation</TD><TD><INPUT TYPE="checkbox" NAME="flat__bill_recur_on_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill immediately upon suspension</TD><TD><INPUT TYPE="checkbox" NAME="flat__bill_suspend_as_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Optional External ID</TD><TD><INPUT TYPE="text" NAME="flat__externalid" VALUE=""></TD></TR><TR><TD ALIGN="right">Show prorate details on the invoice</TD><TD><INPUT TYPE="checkbox" NAME="flat__prorate_verbose" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">Time limit for this package</TD><TD><INPUT TYPE="text" NAME="flat__seconds" VALUE=""></TD></TR><TR><TD ALIGN="right">Upload limit for this package</TD><TD><INPUT TYPE="text" NAME="flat__upbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Download limit for this package</TD><TD><INPUT TYPE="text" NAME="flat__downbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Transfer limit for this package</TD><TD><INPUT TYPE="text" NAME="flat__totalbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Cost of recharge for this package</TD><TD><INPUT TYPE="text" NAME="flat__recharge_amount" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge time for this package</TD><TD><INPUT TYPE="text" NAME="flat__recharge_seconds" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge upload for this package</TD><TD><INPUT TYPE="text" NAME="flat__recharge_upbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge download for this package</TD><TD><INPUT TYPE="text" NAME="flat__recharge_downbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge transfer for this package</TD><TD><INPUT TYPE="text" NAME="flat__recharge_totalbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Allow usage from previous period to roll  over into current period</TD><TD><INPUT TYPE="checkbox" NAME="flat__usage_rollover" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Reset usage to these values on manual package recharge</TD><TD><INPUT TYPE="checkbox" NAME="flat__recharge_reset" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="flat__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="flat__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="flat__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="flat__OPTIONS" VALUE="recharge_totalbytes,seconds,recharge_seconds,recharge_downbytes,bill_suspend_as_cancel,a2billing_retail_initblock_offp,recharge_upbytes,setup_fee,upbytes,unused_credit_change,suspend_bill,start_1st,a2billing_tariff,downbytes,externalid,a2billing_carrier_cost_min,unsuspend_adjust_bill,recur_fee,prorate_round_day,a2billing_retail_cost_min_offp,recur_temporality,contract_end_months,a2billing_retail_increment_offp,a2billing_carrer_initblock_offp,recharge_reset,adjourn_months,prorate_defer_bill,a2billing_simultaccess,totalbytes,expire_months,unused_credit_cancel,sync_bill_date,bill_recur_on_cancel,usage_rollover,a2billing_carrier_increment_offp,recharge_amount,a2billing_type,unused_credit_suspend,add_full_period,delay_cancel,prorate_verbose">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Charge recurring fee for period</TD><TD><SELECT NAME="flat__recur_temporality"><OPTION VALUE="upcoming">Upcoming (future)<OPTION VALUE="preceding">Preceding (past)</SELECT></TD></TR><TR><TD ALIGN="right">Auto-add a start date to the 1st, ignoring the current month.</TD><TD><INPUT TYPE="checkbox" NAME="flat__start_1st" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Prorate first month to synchronize with the customer's other packages</TD><TD><INPUT TYPE="checkbox" NAME="flat__sync_bill_date" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When synchronizing, defer the bill until the customer's next bill date</TD><TD><INPUT TYPE="checkbox" NAME="flat__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When synchronizing, round the prorated period to the nearest full day</TD><TD><INPUT TYPE="checkbox" NAME="flat__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">Continue recurring billing while suspended</TD><TD><INPUT TYPE="checkbox" NAME="flat__suspend_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Adjust next bill date forward when unsuspending</TD><TD><INPUT TYPE="checkbox" NAME="flat__unsuspend_adjust_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill the last period on cancellation</TD><TD><INPUT TYPE="checkbox" NAME="flat__bill_recur_on_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill immediately upon suspension</TD><TD><INPUT TYPE="checkbox" NAME="flat__bill_suspend_as_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Optional External ID</TD><TD><INPUT TYPE="text" NAME="flat__externalid" VALUE=""></TD></TR><TR><TD ALIGN="right">Show prorate details on the invoice</TD><TD><INPUT TYPE="checkbox" NAME="flat__prorate_verbose" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">Time limit for this package</TD><TD><INPUT TYPE="text" NAME="flat__seconds" VALUE=""></TD></TR><TR><TD ALIGN="right">Upload limit for this package</TD><TD><INPUT TYPE="text" NAME="flat__upbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Download limit for this package</TD><TD><INPUT TYPE="text" NAME="flat__downbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Transfer limit for this package</TD><TD><INPUT TYPE="text" NAME="flat__totalbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Cost of recharge for this package</TD><TD><INPUT TYPE="text" NAME="flat__recharge_amount" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge time for this package</TD><TD><INPUT TYPE="text" NAME="flat__recharge_seconds" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge upload for this package</TD><TD><INPUT TYPE="text" NAME="flat__recharge_upbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge download for this package</TD><TD><INPUT TYPE="text" NAME="flat__recharge_downbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge transfer for this package</TD><TD><INPUT TYPE="text" NAME="flat__recharge_totalbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Allow usage from previous period to roll  over into current period</TD><TD><INPUT TYPE="checkbox" NAME="flat__usage_rollover" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Reset usage to these values on manual package recharge</TD><TD><INPUT TYPE="checkbox" NAME="flat__recharge_reset" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="flat__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="flat__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="flat__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="flat__OPTIONS" VALUE="a2billing_simultaccess,unused_credit_suspend,a2billing_carrier_cost_min,recharge_upbytes,recharge_totalbytes,add_full_period,a2billing_tariff,unused_credit_change,recharge_reset,a2billing_carrer_initblock_offp,setup_fee,totalbytes,sync_bill_date,a2billing_retail_initblock_offp,prorate_round_day,seconds,a2billing_retail_cost_min_offp,externalid,bill_suspend_as_cancel,recharge_downbytes,downbytes,recharge_seconds,recur_temporality,start_1st,bill_recur_on_cancel,unsuspend_adjust_bill,prorate_defer_bill,a2billing_type,recharge_amount,a2billing_carrier_increment_offp,prorate_verbose,suspend_bill,a2billing_retail_increment_offp,unused_credit_cancel,delay_cancel,upbytes,usage_rollover,recur_fee">
 
       </DIV>
 
@@ -3129,7 +4270,7 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Continue recurring billing while suspended</TD><TD><INPUT TYPE="checkbox" NAME="flat_delayed__suspend_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="flat_delayed__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="flat_delayed__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="flat_delayed__delay_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Initial free days</TD><TD><INPUT TYPE="text" NAME="flat_delayed__free_days" VALUE="0"></TD></TR><TR><TD ALIGN="right">Delay setup fee in addition to recurring fee</TD><TD><INPUT TYPE="checkbox" NAME="flat_delayed__delay_setup" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Number of days before recurring billing commences to notify customer. (0 means no warning)</TD><TD><INPUT TYPE="text" NAME="flat_delayed__recur_notify" VALUE="0"></TD></TR></TABLE><INPUT TYPE="hidden" NAME="flat_delayed__OPTIONS" VALUE="a2billing_carrier_increment_offp,unused_credit_cancel,setup_fee,free_days,recur_notify,a2billing_simultaccess,a2billing_retail_initblock_offp,a2billing_carrer_initblock_offp,a2billing_retail_increment_offp,a2billing_retail_cost_min_offp,delay_cancel,recur_fee,unused_credit_suspend,a2billing_type,a2billing_carrier_cost_min,a2billing_tariff,delay_setup,suspend_bill,unused_credit_change">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Continue recurring billing while suspended</TD><TD><INPUT TYPE="checkbox" NAME="flat_delayed__suspend_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="flat_delayed__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="flat_delayed__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="flat_delayed__delay_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Initial free days</TD><TD><INPUT TYPE="text" NAME="flat_delayed__free_days" VALUE="0"></TD></TR><TR><TD ALIGN="right">Delay setup fee in addition to recurring fee</TD><TD><INPUT TYPE="checkbox" NAME="flat_delayed__delay_setup" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Number of days before recurring billing commences to notify customer. (0 means no warning)</TD><TD><INPUT TYPE="text" NAME="flat_delayed__recur_notify" VALUE="0"></TD></TR></TABLE><INPUT TYPE="hidden" NAME="flat_delayed__OPTIONS" VALUE="a2billing_type,recur_notify,a2billing_carrier_increment_offp,a2billing_retail_initblock_offp,a2billing_retail_increment_offp,suspend_bill,delay_cancel,unused_credit_cancel,a2billing_retail_cost_min_offp,recur_fee,unused_credit_suspend,a2billing_simultaccess,a2billing_tariff,a2billing_carrier_cost_min,unused_credit_change,free_days,a2billing_carrer_initblock_offp,setup_fee,delay_setup">
 
       </DIV>
 
@@ -3138,25 +4279,25 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Duration of the introductory period, in number of months</TD><TD><INPUT TYPE="text" NAME="flat_introrate__intro_duration" VALUE="0"></TD></TR><TR><TD ALIGN="right">Introductory recurring fee for this package</TD><TD><INPUT TYPE="text" NAME="flat_introrate__intro_fee" VALUE="0"></TD></TR><TR><TD ALIGN="right">Charge recurring fee for period</TD><TD><SELECT NAME="flat_introrate__recur_temporality"><OPTION VALUE="upcoming">Upcoming (future)<OPTION VALUE="preceding">Preceding (past)</SELECT></TD></TR><TR><TD ALIGN="right">Auto-add an expiration date this number of months out</TD><TD><INPUT TYPE="text" NAME="flat_introrate__expire_months" VALUE=""></TD></TR><TR><TD ALIGN="right">Auto-add a suspension date this number of months out</TD><TD><INPUT TYPE="text" NAME="flat_introrate__adjourn_months" VALUE=""></TD></TR><TR><TD ALIGN="right">Auto-add a contract end date this number of years out</TD><TD><SELECT NAME="flat_introrate__contract_end_months"><OPTION VALUE="" SELECTED>(none)<OPTION VALUE="12">1<OPTION VALUE="24">2<OPTION VALUE="36">3<OPTION VALUE="48">4<OPTION VALUE="60">5</SELECT></TD></TR><TR><TD ALIGN="right">Auto-add a start date to the 1st, ignoring the current month.</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__start_1st" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Prorate first month to synchronize with the customer's other packages</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__sync_bill_date" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When synchronizing, defer the bill until the customer's next bill date</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When synchronizing, round the prorated period to the nearest full day</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">Continue recurring billing while suspended</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__suspend_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Adjust next bill date forward when unsuspending</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__unsuspend_adjust_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill the last period on cancellation</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__bill_recur_on_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill immediately upon suspension</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__bill_suspend_as_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Optional External ID</TD><TD><INPUT TYPE="text" NAME="flat_introrate__externalid" VALUE=""></TD></TR><TR><TD ALIGN="right">Time limit for this package</TD><TD><INPUT TYPE="text" NAME="flat_introrate__seconds" VALUE=""></TD></TR><TR><TD ALIGN="right">Upload limit for this package</TD><TD><INPUT TYPE="text" NAME="flat_introrate__upbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Download limit for this package</TD><TD><INPUT TYPE="text" NAME="flat_introrate__downbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Transfer limit for this package</TD><TD><INPUT TYPE="text" NAME="flat_introrate__totalbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Cost of recharge for this package</TD><TD><INPUT TYPE="text" NAME="flat_introrate__recharge_amount" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge time for this package</TD><TD><INPUT TYPE="text" NAME="flat_introrate__recharge_seconds" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge upload for this package</TD><TD><INPUT TYPE="text" NAME="flat_introrate__recharge_upbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge download for this package</TD><TD><INPUT TYPE="text" NAME="flat_introrate__recharge_downbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge transfer for this package</TD><TD><INPUT TYPE="text" NAME="flat_introrate__recharge_totalbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Allow usage from previous period to roll  over into current period</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__usage_rollover" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Reset usage to these values on manual package recharge</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__recharge_reset" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="flat_introrate__OPTIONS" VALUE="a2billing_retail_increment_offp,contract_end_months,recur_temporality,prorate_defer_bill,a2billing_simultaccess,a2billing_carrer_initblock_offp,recharge_reset,adjourn_months,intro_duration,expire_months,totalbytes,bill_recur_on_cancel,sync_bill_date,usage_rollover,a2billing_carrier_increment_offp,unused_credit_cancel,recharge_amount,intro_fee,unused_credit_suspend,add_full_period,a2billing_type,delay_cancel,recharge_totalbytes,seconds,bill_suspend_as_cancel,recharge_downbytes,a2billing_retail_initblock_offp,recharge_seconds,setup_fee,recharge_upbytes,suspend_bill,start_1st,upbytes,unused_credit_change,downbytes,externalid,a2billing_tariff,unsuspend_adjust_bill,recur_fee,a2billing_carrier_cost_min,a2billing_retail_cost_min_offp,prorate_round_day">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Duration of the introductory period, in number of months</TD><TD><INPUT TYPE="text" NAME="flat_introrate__intro_duration" VALUE="0"></TD></TR><TR><TD ALIGN="right">Introductory recurring fee for this package</TD><TD><INPUT TYPE="text" NAME="flat_introrate__intro_fee" VALUE="0"></TD></TR><TR><TD ALIGN="right">Charge recurring fee for period</TD><TD><SELECT NAME="flat_introrate__recur_temporality"><OPTION VALUE="upcoming">Upcoming (future)<OPTION VALUE="preceding">Preceding (past)</SELECT></TD></TR><TR><TD ALIGN="right">Auto-add a start date to the 1st, ignoring the current month.</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__start_1st" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Prorate first month to synchronize with the customer's other packages</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__sync_bill_date" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When synchronizing, defer the bill until the customer's next bill date</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When synchronizing, round the prorated period to the nearest full day</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">Continue recurring billing while suspended</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__suspend_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Adjust next bill date forward when unsuspending</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__unsuspend_adjust_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill the last period on cancellation</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__bill_recur_on_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill immediately upon suspension</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__bill_suspend_as_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Optional External ID</TD><TD><INPUT TYPE="text" NAME="flat_introrate__externalid" VALUE=""></TD></TR><TR><TD ALIGN="right">Time limit for this package</TD><TD><INPUT TYPE="text" NAME="flat_introrate__seconds" VALUE=""></TD></TR><TR><TD ALIGN="right">Upload limit for this package</TD><TD><INPUT TYPE="text" NAME="flat_introrate__upbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Download limit for this package</TD><TD><INPUT TYPE="text" NAME="flat_introrate__downbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Transfer limit for this package</TD><TD><INPUT TYPE="text" NAME="flat_introrate__totalbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Cost of recharge for this package</TD><TD><INPUT TYPE="text" NAME="flat_introrate__recharge_amount" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge time for this package</TD><TD><INPUT TYPE="text" NAME="flat_introrate__recharge_seconds" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge upload for this package</TD><TD><INPUT TYPE="text" NAME="flat_introrate__recharge_upbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge download for this package</TD><TD><INPUT TYPE="text" NAME="flat_introrate__recharge_downbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge transfer for this package</TD><TD><INPUT TYPE="text" NAME="flat_introrate__recharge_totalbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Allow usage from previous period to roll  over into current period</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__usage_rollover" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Reset usage to these values on manual package recharge</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__recharge_reset" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="flat_introrate__OPTIONS" VALUE="a2billing_type,prorate_defer_bill,unsuspend_adjust_bill,bill_recur_on_cancel,start_1st,a2billing_carrier_increment_offp,recharge_amount,unused_credit_cancel,delay_cancel,a2billing_retail_increment_offp,suspend_bill,recur_fee,usage_rollover,upbytes,intro_duration,bill_suspend_as_cancel,recur_temporality,recharge_seconds,downbytes,recharge_downbytes,sync_bill_date,a2billing_retail_initblock_offp,seconds,prorate_round_day,externalid,a2billing_retail_cost_min_offp,a2billing_tariff,add_full_period,recharge_totalbytes,a2billing_carrier_cost_min,recharge_upbytes,unused_credit_suspend,a2billing_simultaccess,intro_fee,unused_credit_change,a2billing_carrer_initblock_offp,recharge_reset,totalbytes,setup_fee">
 
       </DIV>
 
 
-      <DIV ID="plandprorate"
-           STYLE="display: block; z-index: 1"
+      <DIV ID="plandprorate_calendar"
+           STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Billing Day (1 - 28)</TD><TD><INPUT TYPE="text" NAME="prorate__cutoff_day" VALUE="1"></TD></TR><TR><TD ALIGN="right">Defer the first bill until the billing day</TD><TD><INPUT TYPE="checkbox" NAME="prorate__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When prorating first month, also bill for one full period after that</TD><TD><INPUT TYPE="checkbox" NAME="prorate__add_full_period" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Round the prorated period to the nearest full day</TD><TD><INPUT TYPE="checkbox" NAME="prorate__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">Show prorate details on the invoice</TD><TD><INPUT TYPE="checkbox" NAME="prorate__prorate_verbose" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">Auto-add an expiration date this number of months out</TD><TD><INPUT TYPE="text" NAME="prorate__expire_months" VALUE=""></TD></TR><TR><TD ALIGN="right">Auto-add a suspension date this number of months out</TD><TD><INPUT TYPE="text" NAME="prorate__adjourn_months" VALUE=""></TD></TR><TR><TD ALIGN="right">Auto-add a contract end date this number of years out</TD><TD><SELECT NAME="prorate__contract_end_months"><OPTION VALUE="" SELECTED>(none)<OPTION VALUE="12">1<OPTION VALUE="24">2<OPTION VALUE="36">3<OPTION VALUE="48">4<OPTION VALUE="60">5</SELECT></TD></TR><TR><TD ALIGN="right">Auto-add a start date to the 1st, ignoring the current month.</TD><TD><INPUT TYPE="checkbox" NAME="prorate__start_1st" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Continue recurring billing while suspended</TD><TD><INPUT TYPE="checkbox" NAME="prorate__suspend_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Adjust next bill date forward when unsuspending</TD><TD><INPUT TYPE="checkbox" NAME="prorate__unsuspend_adjust_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill the last period on cancellation</TD><TD><INPUT TYPE="checkbox" NAME="prorate__bill_recur_on_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill immediately upon suspension</TD><TD><INPUT TYPE="checkbox" NAME="prorate__bill_suspend_as_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Optional External ID</TD><TD><INPUT TYPE="text" NAME="prorate__externalid" VALUE=""></TD></TR><TR><TD ALIGN="right">Time limit for this package</TD><TD><INPUT TYPE="text" NAME="prorate__seconds" VALUE=""></TD></TR><TR><TD ALIGN="right">Upload limit for this package</TD><TD><INPUT TYPE="text" NAME="prorate__upbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Download limit for this package</TD><TD><INPUT TYPE="text" NAME="prorate__downbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Transfer limit for this package</TD><TD><INPUT TYPE="text" NAME="prorate__totalbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Cost of recharge for this package</TD><TD><INPUT TYPE="text" NAME="prorate__recharge_amount" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge time for this package</TD><TD><INPUT TYPE="text" NAME="prorate__recharge_seconds" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge upload for this package</TD><TD><INPUT TYPE="text" NAME="prorate__recharge_upbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge download for this package</TD><TD><INPUT TYPE="text" NAME="prorate__recharge_downbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge transfer for this package</TD><TD><INPUT TYPE="text" NAME="prorate__recharge_totalbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Allow usage from previous period to roll  over into current period</TD><TD><INPUT TYPE="checkbox" NAME="prorate__usage_rollover" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Reset usage to these values on manual package recharge</TD><TD><INPUT TYPE="checkbox" NAME="prorate__recharge_reset" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="prorate__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="prorate__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="prorate__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="prorate__OPTIONS" VALUE="upbytes,unused_credit_change,suspend_bill,start_1st,a2billing_tariff,downbytes,externalid,a2billing_carrier_cost_min,cutoff_day,unsuspend_adjust_bill,recur_fee,prorate_round_day,a2billing_retail_cost_min_offp,recharge_totalbytes,seconds,recharge_seconds,recharge_downbytes,bill_suspend_as_cancel,a2billing_retail_initblock_offp,recharge_upbytes,setup_fee,recharge_amount,a2billing_type,add_full_period,unused_credit_suspend,delay_cancel,prorate_verbose,recur_temporality,a2billing_retail_increment_offp,contract_end_months,recharge_reset,a2billing_carrer_initblock_offp,adjourn_months,prorate_defer_bill,a2billing_simultaccess,totalbytes,expire_months,unused_credit_cancel,usage_rollover,bill_recur_on_cancel,a2billing_carrier_increment_offp,sync_bill_date">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Billing day (1 - end of cycle)</TD><TD><INPUT TYPE="text" NAME="prorate_calendar__cutoff_day" VALUE="1"></TD></TR><TR><TD ALIGN="right">Defer the first bill until the billing day</TD><TD><INPUT TYPE="checkbox" NAME="prorate_calendar__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Show prorate details on the invoice</TD><TD><INPUT TYPE="checkbox" NAME="prorate_calendar__prorate_verbose" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">Auto-add a start date to the 1st, ignoring the current month.</TD><TD><INPUT TYPE="checkbox" NAME="prorate_calendar__start_1st" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Continue recurring billing while suspended</TD><TD><INPUT TYPE="checkbox" NAME="prorate_calendar__suspend_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Adjust next bill date forward when unsuspending</TD><TD><INPUT TYPE="checkbox" NAME="prorate_calendar__unsuspend_adjust_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill the last period on cancellation</TD><TD><INPUT TYPE="checkbox" NAME="prorate_calendar__bill_recur_on_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill immediately upon suspension</TD><TD><INPUT TYPE="checkbox" NAME="prorate_calendar__bill_suspend_as_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Optional External ID</TD><TD><INPUT TYPE="text" NAME="prorate_calendar__externalid" VALUE=""></TD></TR><TR><TD ALIGN="right">Time limit for this package</TD><TD><INPUT TYPE="text" NAME="prorate_calendar__seconds" VALUE=""></TD></TR><TR><TD ALIGN="right">Upload limit for this package</TD><TD><INPUT TYPE="text" NAME="prorate_calendar__upbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Download limit for this package</TD><TD><INPUT TYPE="text" NAME="prorate_calendar__downbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Transfer limit for this package</TD><TD><INPUT TYPE="text" NAME="prorate_calendar__totalbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Cost of recharge for this package</TD><TD><INPUT TYPE="text" NAME="prorate_calendar__recharge_amount" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge time for this package</TD><TD><INPUT TYPE="text" NAME="prorate_calendar__recharge_seconds" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge upload for this package</TD><TD><INPUT TYPE="text" NAME="prorate_calendar__recharge_upbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge download for this package</TD><TD><INPUT TYPE="text" NAME="prorate_calendar__recharge_downbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge transfer for this package</TD><TD><INPUT TYPE="text" NAME="prorate_calendar__recharge_totalbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Allow usage from previous period to roll  over into current period</TD><TD><INPUT TYPE="checkbox" NAME="prorate_calendar__usage_rollover" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Reset usage to these values on manual package recharge</TD><TD><INPUT TYPE="checkbox" NAME="prorate_calendar__recharge_reset" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="prorate_calendar__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="prorate_calendar__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="prorate_calendar__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="prorate_calendar__OPTIONS" VALUE="totalbytes,setup_fee,a2billing_carrer_initblock_offp,recharge_reset,unused_credit_change,a2billing_carrier_cost_min,recharge_upbytes,recharge_totalbytes,add_full_period,a2billing_tariff,a2billing_simultaccess,unused_credit_suspend,externalid,a2billing_retail_cost_min_offp,seconds,prorate_round_day,a2billing_retail_initblock_offp,sync_bill_date,downbytes,recharge_seconds,recur_temporality,recharge_downbytes,bill_suspend_as_cancel,usage_rollover,recur_fee,upbytes,unused_credit_cancel,delay_cancel,suspend_bill,a2billing_retail_increment_offp,prorate_verbose,recharge_amount,a2billing_carrier_increment_offp,cutoff_day,a2billing_type,prorate_defer_bill,start_1st,bill_recur_on_cancel,unsuspend_adjust_bill">
 
       </DIV>
 
 
-      <DIV ID="plandprorate_calendar"
-           STYLE="display: none; z-index: 0"
+      <DIV ID="plandprorate"
+           STYLE="display: block; z-index: 1"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Billing day (1 - end of cycle)</TD><TD><INPUT TYPE="text" NAME="prorate_calendar__cutoff_day" VALUE="1"></TD></TR><TR><TD ALIGN="right">Defer the first bill until the billing day</TD><TD><INPUT TYPE="checkbox" NAME="prorate_calendar__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Show prorate details on the invoice</TD><TD><INPUT TYPE="checkbox" NAME="prorate_calendar__prorate_verbose" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">Auto-add an expiration date this number of months out</TD><TD><INPUT TYPE="text" NAME="prorate_calendar__expire_months" VALUE=""></TD></TR><TR><TD ALIGN="right">Auto-add a suspension date this number of months out</TD><TD><INPUT TYPE="text" NAME="prorate_calendar__adjourn_months" VALUE=""></TD></TR><TR><TD ALIGN="right">Auto-add a contract end date this number of years out</TD><TD><SELECT NAME="prorate_calendar__contract_end_months"><OPTION VALUE="" SELECTED>(none)<OPTION VALUE="12">1<OPTION VALUE="24">2<OPTION VALUE="36">3<OPTION VALUE="48">4<OPTION VALUE="60">5</SELECT></TD></TR><TR><TD ALIGN="right">Auto-add a start date to the 1st, ignoring the current month.</TD><TD><INPUT TYPE="checkbox" NAME="prorate_calendar__start_1st" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Continue recurring billing while suspended</TD><TD><INPUT TYPE="checkbox" NAME="prorate_calendar__suspend_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Adjust next bill date forward when unsuspending</TD><TD><INPUT TYPE="checkbox" NAME="prorate_calendar__unsuspend_adjust_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill the last period on cancellation</TD><TD><INPUT TYPE="checkbox" NAME="prorate_calendar__bill_recur_on_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill immediately upon suspension</TD><TD><INPUT TYPE="checkbox" NAME="prorate_calendar__bill_suspend_as_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Optional External ID</TD><TD><INPUT TYPE="text" NAME="prorate_calendar__externalid" VALUE=""></TD></TR><TR><TD ALIGN="right">Time limit for this package</TD><TD><INPUT TYPE="text" NAME="prorate_calendar__seconds" VALUE=""></TD></TR><TR><TD ALIGN="right">Upload limit for this package</TD><TD><INPUT TYPE="text" NAME="prorate_calendar__upbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Download limit for this package</TD><TD><INPUT TYPE="text" NAME="prorate_calendar__downbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Transfer limit for this package</TD><TD><INPUT TYPE="text" NAME="prorate_calendar__totalbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Cost of recharge for this package</TD><TD><INPUT TYPE="text" NAME="prorate_calendar__recharge_amount" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge time for this package</TD><TD><INPUT TYPE="text" NAME="prorate_calendar__recharge_seconds" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge upload for this package</TD><TD><INPUT TYPE="text" NAME="prorate_calendar__recharge_upbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge download for this package</TD><TD><INPUT TYPE="text" NAME="prorate_calendar__recharge_downbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge transfer for this package</TD><TD><INPUT TYPE="text" NAME="prorate_calendar__recharge_totalbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Allow usage from previous period to roll  over into current period</TD><TD><INPUT TYPE="checkbox" NAME="prorate_calendar__usage_rollover" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Reset usage to these values on manual package recharge</TD><TD><INPUT TYPE="checkbox" NAME="prorate_calendar__recharge_reset" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="prorate_calendar__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="prorate_calendar__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="prorate_calendar__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="prorate_calendar__OPTIONS" VALUE="recharge_totalbytes,seconds,recharge_seconds,recharge_downbytes,bill_suspend_as_cancel,a2billing_retail_initblock_offp,recharge_upbytes,setup_fee,upbytes,unused_credit_change,suspend_bill,start_1st,a2billing_tariff,downbytes,externalid,a2billing_carrier_cost_min,unsuspend_adjust_bill,cutoff_day,recur_fee,prorate_round_day,a2billing_retail_cost_min_offp,recur_temporality,contract_end_months,a2billing_retail_increment_offp,recharge_reset,a2billing_carrer_initblock_offp,adjourn_months,prorate_defer_bill,a2billing_simultaccess,totalbytes,expire_months,unused_credit_cancel,sync_bill_date,a2billing_carrier_increment_offp,usage_rollover,bill_recur_on_cancel,recharge_amount,a2billing_type,unused_credit_suspend,add_full_period,delay_cancel,prorate_verbose">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Billing Day (1 - 28)</TD><TD><INPUT TYPE="text" NAME="prorate__cutoff_day" VALUE="1"></TD></TR><TR><TD ALIGN="right">Defer the first bill until the billing day</TD><TD><INPUT TYPE="checkbox" NAME="prorate__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When prorating first month, also bill for one full period after that</TD><TD><INPUT TYPE="checkbox" NAME="prorate__add_full_period" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Round the prorated period to the nearest full day</TD><TD><INPUT TYPE="checkbox" NAME="prorate__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">Show prorate details on the invoice</TD><TD><INPUT TYPE="checkbox" NAME="prorate__prorate_verbose" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">Auto-add a start date to the 1st, ignoring the current month.</TD><TD><INPUT TYPE="checkbox" NAME="prorate__start_1st" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Continue recurring billing while suspended</TD><TD><INPUT TYPE="checkbox" NAME="prorate__suspend_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Adjust next bill date forward when unsuspending</TD><TD><INPUT TYPE="checkbox" NAME="prorate__unsuspend_adjust_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill the last period on cancellation</TD><TD><INPUT TYPE="checkbox" NAME="prorate__bill_recur_on_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill immediately upon suspension</TD><TD><INPUT TYPE="checkbox" NAME="prorate__bill_suspend_as_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Optional External ID</TD><TD><INPUT TYPE="text" NAME="prorate__externalid" VALUE=""></TD></TR><TR><TD ALIGN="right">Time limit for this package</TD><TD><INPUT TYPE="text" NAME="prorate__seconds" VALUE=""></TD></TR><TR><TD ALIGN="right">Upload limit for this package</TD><TD><INPUT TYPE="text" NAME="prorate__upbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Download limit for this package</TD><TD><INPUT TYPE="text" NAME="prorate__downbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Transfer limit for this package</TD><TD><INPUT TYPE="text" NAME="prorate__totalbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Cost of recharge for this package</TD><TD><INPUT TYPE="text" NAME="prorate__recharge_amount" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge time for this package</TD><TD><INPUT TYPE="text" NAME="prorate__recharge_seconds" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge upload for this package</TD><TD><INPUT TYPE="text" NAME="prorate__recharge_upbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge download for this package</TD><TD><INPUT TYPE="text" NAME="prorate__recharge_downbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge transfer for this package</TD><TD><INPUT TYPE="text" NAME="prorate__recharge_totalbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Allow usage from previous period to roll  over into current period</TD><TD><INPUT TYPE="checkbox" NAME="prorate__usage_rollover" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Reset usage to these values on manual package recharge</TD><TD><INPUT TYPE="checkbox" NAME="prorate__recharge_reset" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="prorate__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="prorate__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="prorate__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="prorate__OPTIONS" VALUE="unused_credit_change,recharge_upbytes,a2billing_carrier_cost_min,recharge_totalbytes,add_full_period,a2billing_tariff,a2billing_simultaccess,unused_credit_suspend,setup_fee,totalbytes,a2billing_carrer_initblock_offp,recharge_reset,a2billing_retail_initblock_offp,sync_bill_date,externalid,a2billing_retail_cost_min_offp,seconds,prorate_round_day,bill_suspend_as_cancel,recharge_seconds,downbytes,recur_temporality,recharge_downbytes,prorate_verbose,recharge_amount,cutoff_day,a2billing_carrier_increment_offp,prorate_defer_bill,a2billing_type,start_1st,bill_recur_on_cancel,unsuspend_adjust_bill,usage_rollover,recur_fee,upbytes,unused_credit_cancel,delay_cancel,suspend_bill,a2billing_retail_increment_offp">
 
       </DIV>
 
@@ -3165,7 +4306,7 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Continue recurring billing while suspended</TD><TD><INPUT TYPE="checkbox" NAME="prorate_delayed__suspend_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="prorate_delayed__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="prorate_delayed__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="prorate_delayed__delay_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Initial free days</TD><TD><INPUT TYPE="text" NAME="prorate_delayed__free_days" VALUE="0"></TD></TR><TR><TD ALIGN="right">Delay setup fee in addition to recurring fee</TD><TD><INPUT TYPE="checkbox" NAME="prorate_delayed__delay_setup" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Number of days before recurring billing commences to notify customer. (0 means no warning)</TD><TD><INPUT TYPE="text" NAME="prorate_delayed__recur_notify" VALUE="0"></TD></TR></TABLE><INPUT TYPE="hidden" NAME="prorate_delayed__OPTIONS" VALUE="unused_credit_cancel,a2billing_carrier_increment_offp,recur_notify,setup_fee,free_days,a2billing_carrer_initblock_offp,a2billing_simultaccess,a2billing_retail_initblock_offp,a2billing_retail_increment_offp,delay_cancel,a2billing_retail_cost_min_offp,a2billing_type,a2billing_carrier_cost_min,recur_fee,unused_credit_suspend,delay_setup,a2billing_tariff,unused_credit_change,suspend_bill">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Continue recurring billing while suspended</TD><TD><INPUT TYPE="checkbox" NAME="prorate_delayed__suspend_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="prorate_delayed__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="prorate_delayed__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="prorate_delayed__delay_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Initial free days</TD><TD><INPUT TYPE="text" NAME="prorate_delayed__free_days" VALUE="0"></TD></TR><TR><TD ALIGN="right">Delay setup fee in addition to recurring fee</TD><TD><INPUT TYPE="checkbox" NAME="prorate_delayed__delay_setup" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Number of days before recurring billing commences to notify customer. (0 means no warning)</TD><TD><INPUT TYPE="text" NAME="prorate_delayed__recur_notify" VALUE="0"></TD></TR></TABLE><INPUT TYPE="hidden" NAME="prorate_delayed__OPTIONS" VALUE="a2billing_type,recur_notify,a2billing_carrier_increment_offp,a2billing_retail_initblock_offp,a2billing_retail_increment_offp,suspend_bill,delay_cancel,unused_credit_cancel,a2billing_retail_cost_min_offp,recur_fee,unused_credit_suspend,a2billing_simultaccess,a2billing_tariff,a2billing_carrier_cost_min,unused_credit_change,free_days,a2billing_carrer_initblock_offp,setup_fee,delay_setup">
 
       </DIV>
 
@@ -3174,7 +4315,7 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Action to take upon reaching end of prepaid period</TD><TD><SELECT NAME="prepaid__recur_action"><OPTION VALUE="suspend">suspend<OPTION VALUE="cancel">cancel</SELECT></TD></TR><TR><TD ALIGN="right">Action to take upon reaching a usage limit.</TD><TD><SELECT NAME="prepaid__overlimit_action"><OPTION VALUE="overlimit">Default overlimit processing<OPTION VALUE="cancel">Cancel</SELECT></TD></TR><TR><TD ALIGN="right">Time limit for this package</TD><TD><INPUT TYPE="text" NAME="prepaid__seconds" VALUE=""></TD></TR><TR><TD ALIGN="right">Upload limit for this package</TD><TD><INPUT TYPE="text" NAME="prepaid__upbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Download limit for this package</TD><TD><INPUT TYPE="text" NAME="prepaid__downbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Transfer limit for this package</TD><TD><INPUT TYPE="text" NAME="prepaid__totalbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="prepaid__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="prepaid__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="prepaid__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="prepaid__OPTIONS" VALUE="totalbytes,recharge_upbytes,setup_fee,recur_action,unused_credit_cancel,usage_rollover,a2billing_carrier_increment_offp,a2billing_retail_increment_offp,seconds,recharge_totalbytes,recharge_reset,a2billing_carrer_initblock_offp,recharge_seconds,a2billing_retail_initblock_offp,a2billing_simultaccess,recharge_downbytes,a2billing_carrier_cost_min,a2billing_type,recur_fee,unused_credit_suspend,delay_cancel,a2billing_retail_cost_min_offp,overlimit_action,unused_credit_change,upbytes,a2billing_tariff,recharge_amount,downbytes">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Action to take upon reaching end of prepaid period</TD><TD><SELECT NAME="prepaid__recur_action"><OPTION VALUE="suspend">suspend<OPTION VALUE="cancel">cancel</SELECT></TD></TR><TR><TD ALIGN="right">Action to take upon reaching a usage limit.</TD><TD><SELECT NAME="prepaid__overlimit_action"><OPTION VALUE="overlimit">Default overlimit processing<OPTION VALUE="cancel">Cancel</SELECT></TD></TR><TR><TD ALIGN="right">Time limit for this package</TD><TD><INPUT TYPE="text" NAME="prepaid__seconds" VALUE=""></TD></TR><TR><TD ALIGN="right">Upload limit for this package</TD><TD><INPUT TYPE="text" NAME="prepaid__upbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Download limit for this package</TD><TD><INPUT TYPE="text" NAME="prepaid__downbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Transfer limit for this package</TD><TD><INPUT TYPE="text" NAME="prepaid__totalbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="prepaid__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="prepaid__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="prepaid__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="prepaid__OPTIONS" VALUE="recharge_seconds,downbytes,setup_fee,totalbytes,recharge_downbytes,a2billing_carrer_initblock_offp,recharge_reset,unused_credit_change,a2billing_carrier_cost_min,recharge_upbytes,recharge_totalbytes,a2billing_tariff,a2billing_simultaccess,unused_credit_suspend,usage_rollover,recur_fee,recur_action,a2billing_retail_cost_min_offp,upbytes,seconds,delay_cancel,overlimit_action,unused_credit_cancel,a2billing_retail_increment_offp,a2billing_retail_initblock_offp,recharge_amount,a2billing_carrier_increment_offp,a2billing_type">
 
       </DIV>
 
@@ -3183,7 +4324,7 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Billing day</TD><TD><INPUT TYPE="text" NAME="subscription__cutoff_day" VALUE="1"></TD></TR><TR><TD ALIGN="right">Time limit for this package</TD><TD><INPUT TYPE="text" NAME="subscription__seconds" VALUE=""></TD></TR><TR><TD ALIGN="right">Upload limit for this package</TD><TD><INPUT TYPE="text" NAME="subscription__upbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Download limit for this package</TD><TD><INPUT TYPE="text" NAME="subscription__downbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Transfer limit for this package</TD><TD><INPUT TYPE="text" NAME="subscription__totalbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Cost of recharge for this package</TD><TD><INPUT TYPE="text" NAME="subscription__recharge_amount" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge time for this package</TD><TD><INPUT TYPE="text" NAME="subscription__recharge_seconds" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge upload for this package</TD><TD><INPUT TYPE="text" NAME="subscription__recharge_upbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge download for this package</TD><TD><INPUT TYPE="text" NAME="subscription__recharge_downbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge transfer for this package</TD><TD><INPUT TYPE="text" NAME="subscription__recharge_totalbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Allow usage from previous period to roll over into current period</TD><TD><INPUT TYPE="checkbox" NAME="subscription__usage_rollover" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Reset usage to these values on manual package recharge</TD><TD><INPUT TYPE="checkbox" NAME="subscription__recharge_reset" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Optional External ID</TD><TD><INPUT TYPE="text" NAME="subscription__externalid" VALUE=""></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="subscription__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="subscription__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="subscription__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="subscription__OPTIONS" VALUE="upbytes,unused_credit_change,downbytes,externalid,recharge_amount,a2billing_tariff,cutoff_day,unused_credit_suspend,recur_fee,a2billing_carrier_cost_min,a2billing_type,a2billing_retail_cost_min_offp,delay_cancel,recharge_totalbytes,seconds,a2billing_retail_increment_offp,recharge_downbytes,a2billing_retail_initblock_offp,a2billing_simultaccess,recharge_seconds,recharge_reset,a2billing_carrer_initblock_offp,setup_fee,recharge_upbytes,totalbytes,a2billing_carrier_increment_offp,usage_rollover,unused_credit_cancel">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Billing day</TD><TD><INPUT TYPE="text" NAME="subscription__cutoff_day" VALUE="1"></TD></TR><TR><TD ALIGN="right">Time limit for this package</TD><TD><INPUT TYPE="text" NAME="subscription__seconds" VALUE=""></TD></TR><TR><TD ALIGN="right">Upload limit for this package</TD><TD><INPUT TYPE="text" NAME="subscription__upbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Download limit for this package</TD><TD><INPUT TYPE="text" NAME="subscription__downbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Transfer limit for this package</TD><TD><INPUT TYPE="text" NAME="subscription__totalbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Cost of recharge for this package</TD><TD><INPUT TYPE="text" NAME="subscription__recharge_amount" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge time for this package</TD><TD><INPUT TYPE="text" NAME="subscription__recharge_seconds" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge upload for this package</TD><TD><INPUT TYPE="text" NAME="subscription__recharge_upbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge download for this package</TD><TD><INPUT TYPE="text" NAME="subscription__recharge_downbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge transfer for this package</TD><TD><INPUT TYPE="text" NAME="subscription__recharge_totalbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Allow usage from previous period to roll over into current period</TD><TD><INPUT TYPE="checkbox" NAME="subscription__usage_rollover" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Reset usage to these values on manual package recharge</TD><TD><INPUT TYPE="checkbox" NAME="subscription__recharge_reset" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Optional External ID</TD><TD><INPUT TYPE="text" NAME="subscription__externalid" VALUE=""></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="subscription__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="subscription__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="subscription__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="subscription__OPTIONS" VALUE="downbytes,recharge_seconds,recharge_downbytes,totalbytes,setup_fee,a2billing_carrer_initblock_offp,recharge_reset,unused_credit_change,recharge_upbytes,a2billing_carrier_cost_min,recharge_totalbytes,a2billing_tariff,a2billing_simultaccess,unused_credit_suspend,recur_fee,usage_rollover,upbytes,externalid,a2billing_retail_cost_min_offp,seconds,delay_cancel,unused_credit_cancel,a2billing_retail_increment_offp,a2billing_retail_initblock_offp,recharge_amount,cutoff_day,a2billing_carrier_increment_offp,a2billing_type">
 
       </DIV>
 
@@ -3192,7 +4333,7 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Hours included</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_included_hours" VALUE="0"></TD></TR><TR><TD ALIGN="right">Additional charge per hour</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_hourly_charge" VALUE="0"></TD></TR><TR><TD ALIGN="right">Maximum overage charge for hours (0 means no cap)</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_hourly_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Upload megabytes included</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_included_input" VALUE="0"></TD></TR><TR><TD ALIGN="right">Additional charge per megabyte upload</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_input_charge" VALUE="0"></TD></TR><TR><TD ALIGN="right">Maximum overage charge for upload (0 means no cap)</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_input_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Download megabytes included</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_included_output" VALUE="0"></TD></TR><TR><TD ALIGN="right">Additional charge per megabyte download</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_output_charge" VALUE="0"></TD></TR><TR><TD ALIGN="right">Maximum overage charge for download (0 means no cap)</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_output_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Total megabytes included</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_included_total" VALUE="0"></TD></TR><TR><TD ALIGN="right">Additional charge per megabyte total</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_total_charge" VALUE="0"></TD></TR><TR><TD ALIGN="right">Maximum overage charge for total megabytes (0 means no cap)</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_total_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Global cap on all overage charges (0 means no cap)</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__global_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="sqlradacct_hour__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="sqlradacct_hour__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="sqlradacct_hour__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="sqlradacct_hour__OPTIONS" VALUE="recur_included_hours,unused_credit_change,recur_total_cap,recur_hourly_charge,a2billing_tariff,recur_fee,recur_output_charge,unused_credit_suspend,a2billing_carrier_cost_min,recur_included_total,a2billing_type,recur_total_charge,a2billing_retail_cost_min_offp,delay_cancel,a2billing_retail_increment_offp,global_cap,recur_hourly_cap,a2billing_retail_initblock_offp,a2billing_simultaccess,recur_input_charge,a2billing_carrer_initblock_offp,recur_input_cap,recur_included_output,setup_fee,recur_output_cap,recur_included_input,a2billing_carrier_increment_offp,unused_credit_cancel">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Hours included</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_included_hours" VALUE="0"></TD></TR><TR><TD ALIGN="right">Additional charge per hour</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_hourly_charge" VALUE="0"></TD></TR><TR><TD ALIGN="right">Maximum overage charge for hours (0 means no cap)</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_hourly_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Upload gigabytes included</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_included_input" VALUE="0"></TD></TR><TR><TD ALIGN="right">Additional charge per gigabyte upload</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_input_charge" VALUE="0"></TD></TR><TR><TD ALIGN="right">Maximum overage charge for upload (0 means no cap)</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_input_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Download gigabytes included</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_included_output" VALUE="0"></TD></TR><TR><TD ALIGN="right">Additional charge per gigabyte download</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_output_charge" VALUE="0"></TD></TR><TR><TD ALIGN="right">Maximum overage charge for download (0 means no cap)</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_output_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Total gigabytes included</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_included_total" VALUE="0"></TD></TR><TR><TD ALIGN="right">Additional charge per gigabyte total</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_total_charge" VALUE="0"></TD></TR><TR><TD ALIGN="right">Maximum overage charge for total gigabytes (0 means no cap)</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_total_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Global cap on all overage charges (0 means no cap)</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__global_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="sqlradacct_hour__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="sqlradacct_hour__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="sqlradacct_hour__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="sqlradacct_hour__OPTIONS" VALUE="recur_input_cap,a2billing_type,a2billing_carrier_increment_offp,a2billing_retail_initblock_offp,a2billing_retail_increment_offp,recur_hourly_charge,unused_credit_cancel,delay_cancel,recur_total_cap,recur_included_output,a2billing_retail_cost_min_offp,global_cap,recur_fee,recur_included_input,unused_credit_suspend,a2billing_simultaccess,recur_output_charge,recur_output_cap,a2billing_tariff,recur_hourly_cap,a2billing_carrier_cost_min,recur_included_hours,unused_credit_change,recur_total_charge,recur_input_charge,a2billing_carrer_initblock_offp,setup_fee,recur_included_total">
 
       </DIV>
 
@@ -3201,7 +4342,7 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Hours included per day</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_included_hours" VALUE="0"></TD></TR><TR><TD ALIGN="right">Additional charge per hour</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_hourly_charge" VALUE="0"></TD></TR><TR><TD ALIGN="right">Maximum daily charge for hours (0 means no cap)</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_hourly_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Upload megabytes included per day</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_included_input" VALUE="0"></TD></TR><TR><TD ALIGN="right">Additional charge per megabyte upload</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_input_charge" VALUE="0"></TD></TR><TR><TD ALIGN="right">Maximum daily charge for upload (0 means no cap)</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_input_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Download megabytes included per day</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_included_output" VALUE="0"></TD></TR><TR><TD ALIGN="right">Additional charge per megabyte download</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_output_charge" VALUE="0"></TD></TR><TR><TD ALIGN="right">Maximum daily charge for download (0 means no cap)</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_output_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Total megabytes included per day</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_included_total" VALUE="0"></TD></TR><TR><TD ALIGN="right">Additional charge per megabyte total</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_total_charge" VALUE="0"></TD></TR><TR><TD ALIGN="right">Maximum daily charge for total megabytes (0 means no cap)</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_total_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Daily cap on all overage charges (0 means no cap)</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__global_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Monthly (billing frequency) cap on all overage charges (0 means no cap)</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__monthly_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="sqlradacct_daily__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="sqlradacct_daily__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="sqlradacct_daily__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="sqlradacct_daily__OPTIONS" VALUE="recur_output_cap,setup_fee,recur_included_output,recur_input_cap,monthly_cap,recur_included_input,a2billing_carrier_increment_offp,unused_credit_cancel,a2billing_retail_increment_offp,global_cap,a2billing_retail_initblock_offp,recur_hourly_cap,a2billing_simultaccess,a2billing_carrer_initblock_offp,recur_input_charge,unused_credit_suspend,recur_output_charge,recur_fee,recur_included_total,a2billing_type,a2billing_carrier_cost_min,a2billing_retail_cost_min_offp,recur_total_charge,delay_cancel,unused_credit_change,recur_included_hours,recur_total_cap,a2billing_tariff,recur_hourly_charge">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Hours included per day</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_included_hours" VALUE="0"></TD></TR><TR><TD ALIGN="right">Additional charge per hour</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_hourly_charge" VALUE="0"></TD></TR><TR><TD ALIGN="right">Maximum daily charge for hours (0 means no cap)</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_hourly_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Upload megabytes included per day</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_included_input" VALUE="0"></TD></TR><TR><TD ALIGN="right">Additional charge per megabyte upload</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_input_charge" VALUE="0"></TD></TR><TR><TD ALIGN="right">Maximum daily charge for upload (0 means no cap)</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_input_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Download megabytes included per day</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_included_output" VALUE="0"></TD></TR><TR><TD ALIGN="right">Additional charge per megabyte download</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_output_charge" VALUE="0"></TD></TR><TR><TD ALIGN="right">Maximum daily charge for download (0 means no cap)</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_output_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Total megabytes included per day</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_included_total" VALUE="0"></TD></TR><TR><TD ALIGN="right">Additional charge per megabyte total</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_total_charge" VALUE="0"></TD></TR><TR><TD ALIGN="right">Maximum daily charge for total megabytes (0 means no cap)</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_total_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Daily cap on all overage charges (0 means no cap)</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__global_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Monthly (billing frequency) cap on all overage charges (0 means no cap)</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__monthly_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="sqlradacct_daily__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="sqlradacct_daily__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="sqlradacct_daily__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="sqlradacct_daily__OPTIONS" VALUE="recur_fee,recur_included_input,a2billing_retail_cost_min_offp,recur_included_output,global_cap,unused_credit_cancel,delay_cancel,recur_total_cap,a2billing_retail_increment_offp,recur_hourly_charge,a2billing_retail_initblock_offp,a2billing_carrier_increment_offp,a2billing_type,recur_input_cap,setup_fee,recur_included_total,recur_input_charge,a2billing_carrer_initblock_offp,recur_total_charge,unused_credit_change,monthly_cap,a2billing_tariff,recur_output_cap,a2billing_carrier_cost_min,recur_included_hours,recur_hourly_cap,unused_credit_suspend,a2billing_simultaccess,recur_output_charge">
 
       </DIV>
 
@@ -3244,7 +4385,7 @@ spawn_supp_dst_pkgpart(this);"
 </SELECT>
 
 
-</TD></TR><TR><TD ALIGN="right">Number of calls included at no usage charge</TD><TD><INPUT TYPE="text" NAME="voip_cdr__calls_included" VALUE=""></TD></TR><TR><TD ALIGN="right">Charge per minute when using "single price per minute" rating method</TD><TD><INPUT TYPE="text" NAME="voip_cdr__min_charge" VALUE=""></TD></TR><TR><TD ALIGN="right">Minutes included when using the "single price per minute" or "prefix" rating method</TD><TD><INPUT TYPE="text" NAME="voip_cdr__min_included" VALUE=""></TD></TR><TR><TD ALIGN="right">Granularity when using "single price per minute" rating method</TD><TD><SELECT NAME="voip_cdr__sec_granularity"><OPTION VALUE="1">1 second<OPTION VALUE="6">6 second<OPTION VALUE="30">30 second<OPTION VALUE="60">minute<OPTION VALUE="0">call</SELECT></TD></TR><TR><TD ALIGN="right">Handling of calls without a rate in the rate table</TD><TD><SELECT NAME="voip_cdr__ignore_unrateable"><OPTION VALUE="" SELECTED>Exit with a fatal error<OPTION VALUE="1">Ignore and continue<OPTION VALUE="2">Flag for later review</SELECT></TD></TR><TR><TD ALIGN="right">Default prefix optionally prepended to customer DID numbers when searching for CDR records</TD><TD><INPUT TYPE="text" NAME="voip_cdr__default_prefix" VALUE="+1"></TD></TR><TR><TD ALIGN="right">Disable rating of CDR records based on the "src" field in addition to "charged_party"</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__disable_src" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Destination prefix for domestic CDR records</TD><TD><INPUT TYPE="text" NAME="voip_cdr__domestic_prefix" VALUE="1"></TD></TR><TR><TD ALIGN="right">Destination prefix for international CDR records</TD><TD><INPUT TYPE="text" NAME="voip_cdr__international_prefix" VALUE="011"></TD></TR><TR><TD ALIGN="right">Disable automatic toll-free processing</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__disable_tollfree" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the amaflags field is set to "2" ("BILL"/"BILLING").</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__use_amaflags" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the Carrier ID is set to any of these (comma-separated) values: </TD><TD><INPUT TYPE="text" NAME="voip_cdr__use_carrierid" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the CDR Type is set to this cdrtypenum: </TD><TD><INPUT TYPE="text" NAME="voip_cdr__use_cdrtypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the CDR Type is set to this cdrtypenum: </TD><TD><INPUT TYPE="text" NAME="voip_cdr__ignore_cdrtypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the CDR Call Type is set to this calltypenum: </TD><TD><INPUT TYPE="text" NAME="voip_cdr__use_calltypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the CDR Call Type is set to this calltypenum: </TD><TD><INPUT TYPE="text" NAME="voip_cdr__ignore_calltypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the Disposition is set to any of these (comma-separated) values: </TD><TD><INPUT TYPE="text" NAME="voip_cdr__ignore_disposition" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the Disposition is set to any of these (comma-separated) values: </TD><TD><INPUT TYPE="text" NAME="voip_cdr__disposition_in" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the dcontext is set to any of these (comma-separated) values: </TD><TD><INPUT TYPE="text" NAME="voip_cdr__skip_dcontext" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the destination number starts with any of these values: </TD><TD><INPUT TYPE="text" NAME="voip_cdr__skip_dst_prefix" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the dstchannel starts with:</TD><TD><INPUT TYPE="text" NAME="voip_cdr__skip_dstchannel_prefix" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the source is more than this many digits:</TD><TD><INPUT TYPE="text" NAME="voip_cdr__skip_src_length_more" VALUE=""></TD></TR><TR><TD ALIGN="right">Do charge for CDRs where source is equal or greater than the specified digits, when accountcode is toll free</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__noskip_src_length_accountcode_tollfree" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Optional alternate rate plan when accountcode is toll free: </TD><TD><SELECT NAME="voip_cdr__accountcode_tollfree_ratenum"><OPTION VALUE=""></SELECT></TD></TR><TR><TD ALIGN="right">When using an alternate rate plan for toll-free accountcodes, the CDR field to use in rating calculations</TD><TD><SELECT NAME="voip_cdr__accountcode_tollfree_field"><OPTION VALUE="dst">Destination (dst)<OPTION VALUE="src">Source (src)</SELECT></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the destination is less than this many digits:</TD><TD><INPUT TYPE="text" NAME="voip_cdr__skip_dst_length_less" VALUE=""></TD></TR><TR><TD ALIGN="right">Do charge for CDRs where dst is less than the specified digits, when accountcode is toll free</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__noskip_dst_length_accountcode_tollfree" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the lastapp matches this value: </TD><TD><INPUT TYPE="text" NAME="voip_cdr__skip_lastapp" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where max_callers is less than or equal to this value: </TD><TD><INPUT TYPE="text" NAME="voip_cdr__skip_max_callers" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for calls between numbers belonging to the same customer</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__skip_same_customer" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Calculate usage based on the duration field instead of the billsec field</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__use_duration" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Rewrite these (comma-separated) destination numbers to 411 for rating purposes (also ignore any carrierid check): </TD><TD><INPUT TYPE="text" NAME="voip_cdr__411_rewrite" VALUE=""></TD></TR><TR><TD ALIGN="right">CDR display format for invoices</TD><TD><SELECT NAME="voip_cdr__output_format"><OPTION VALUE="" SELECTED><OPTION VALUE="accountcode_default">Default plus accountcode<OPTION VALUE="basic_upstream_dst_regionname">Basic with upstream destination name<OPTION VALUE="basic">Basic<OPTION VALUE="sum_count_class">Summary, one line per usage class<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix<OPTION VALUE="source_default">Default with source<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="simple2">Simple with source<OPTION VALUE="description_default">Default with description field as destination<OPTION VALUE="default">Default<OPTION VALUE="simple">Simple<OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="accountcode_simple">Simple with accountcode</SELECT></TD></TR><TR><TD ALIGN="right">CDR display format for selfservice</TD><TD><SELECT NAME="voip_cdr__selfservice_format"><OPTION VALUE="" SELECTED><OPTION VALUE="accountcode_default">Default plus accountcode<OPTION VALUE="basic_upstream_dst_regionname">Basic with upstream destination name<OPTION VALUE="basic">Basic<OPTION VALUE="sum_count_class">Summary, one line per usage class<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix<OPTION VALUE="source_default">Default with source<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="simple2">Simple with source<OPTION VALUE="description_default">Default with description field as destination<OPTION VALUE="default">Default<OPTION VALUE="simple">Simple<OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="accountcode_simple">Simple with accountcode</SELECT></TD></TR><TR><TD ALIGN="right">Inbound CDR display format for selfservice</TD><TD><SELECT NAME="voip_cdr__selfservice_inbound_format"><OPTION VALUE="" SELECTED><OPTION VALUE="accountcode_default">Default plus accountcode<OPTION VALUE="basic_upstream_dst_regionname">Basic with upstream destination name<OPTION VALUE="basic">Basic<OPTION VALUE="sum_count_class">Summary, one line per usage class<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix<OPTION VALUE="source_default">Default with source<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="simple2">Simple with source<OPTION VALUE="description_default">Default with description field as destination<OPTION VALUE="default">Default<OPTION VALUE="simple">Simple<OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="accountcode_simple">Simple with accountcode</SELECT></TD></TR><TR><TD ALIGN="right">Always put usage details in separate section.  The section is defined in the next option.</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__usage_mandate" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Section in which to place usage charges (whether separated or not): </TD><TD><INPUT TYPE="text" NAME="voip_cdr__usage_section" VALUE=""></TD></TR><TR><TD ALIGN="right">Include usage summary with recurring charges when usage is in separate section</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__summarize_usage" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Show details for included / no-charge calls.</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__usage_showzero" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Generate an invoice immediately for every call (as well any setup fee, upon first payment).  Useful for prepaid.</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__bill_every_call" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill for all phone numbers that were active during the billing period</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__bill_inactive_svcs" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Only bill CDRs with a date during the package billing period</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__bill_only_pkg_dates" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Consider for tax purposes the number of lines to be svc_phones that may be provisioned rather than those that actually are.</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__count_available_phones" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Continue recurring billing while suspended</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__suspend_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="voip_cdr__OPTIONS" VALUE="domestic_prefix,bill_only_pkg_dates,selfservice_format,summarize_usage,noskip_src_length_accountcode_tollfree,skip_dst_length_less,use_calltypenum,ignore_unrateable,use_duration,use_amaflags,intrastate_ratenum,skip_max_callers,recur_fee,recur_temporality,a2billing_carrer_initblock_offp,disposition_in,a2billing_simultaccess,ignore_disposition,use_cdrtypenum,unused_credit_cancel,bill_every_call,skip_dst_prefix,rounding,a2billing_carrier_increment_offp,usage_showzero,selfservice_inbound_format,disable_src,a2billing_type,bill_inactive_svcs,delay_cancel,count_available_phones,cdr_svc_method,recur_method,usage_mandate,rating_method,min_charge,a2billing_retail_initblock_offp,skip_lastapp,noskip_dst_length_accountcode_tollfree,skip_dcontext,setup_fee,calls_included,disable_tollfree,unused_credit_change,suspend_bill,a2billing_tariff,output_format,a2billing_carrier_cost_min,cutoff_day,usage_section,prorate_round_day,ignore_cdrtypenum,a2billing_retail_cost_min_offp,default_prefix,skip_same_customer,accountcode_tollfree_field,a2billing_retail_increment_offp,skip_src_length_more,prorate_defer_bill,accountcode_tollfree_ratenum,ratenum,411_rewrite,international_prefix,skip_dstchannel_prefix,use_carrierid,min_included,unused_credit_suspend,sec_granularity,add_full_period,prorate_verbose,ignore_calltypenum">
+</TD></TR><TR><TD ALIGN="right">Number of calls included at no usage charge</TD><TD><INPUT TYPE="text" NAME="voip_cdr__calls_included" VALUE=""></TD></TR><TR><TD ALIGN="right">Charge per minute when using "single price per minute" rating method</TD><TD><INPUT TYPE="text" NAME="voip_cdr__min_charge" VALUE=""></TD></TR><TR><TD ALIGN="right">Minutes included when using the "single price per minute" or "prefix" rating method</TD><TD><INPUT TYPE="text" NAME="voip_cdr__min_included" VALUE=""></TD></TR><TR><TD ALIGN="right">Granularity when using "single price per minute" rating method</TD><TD><SELECT NAME="voip_cdr__sec_granularity"><OPTION VALUE="1">1 second<OPTION VALUE="6">6 second<OPTION VALUE="30">30 second<OPTION VALUE="60">minute<OPTION VALUE="0">call</SELECT></TD></TR><TR><TD ALIGN="right">Handling of calls without a rate in the rate table</TD><TD><SELECT NAME="voip_cdr__ignore_unrateable"><OPTION VALUE="" SELECTED>Exit with a fatal error<OPTION VALUE="1">Ignore and continue<OPTION VALUE="2">Flag for later review</SELECT></TD></TR><TR><TD ALIGN="right">Default prefix optionally prepended to customer DID numbers when searching for CDR records</TD><TD><INPUT TYPE="text" NAME="voip_cdr__default_prefix" VALUE="+1"></TD></TR><TR><TD ALIGN="right">Disable rating of CDR records based on the "src" field in addition to "charged_party"</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__disable_src" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Destination prefix for domestic CDR records</TD><TD><INPUT TYPE="text" NAME="voip_cdr__domestic_prefix" VALUE="1"></TD></TR><TR><TD ALIGN="right">Destination prefix for international CDR records</TD><TD><INPUT TYPE="text" NAME="voip_cdr__international_prefix" VALUE="011"></TD></TR><TR><TD ALIGN="right">Disable automatic toll-free processing</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__disable_tollfree" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the amaflags field is set to "2" ("BILL"/"BILLING").</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__use_amaflags" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the Carrier ID is set to any of these (comma-separated) values: </TD><TD><INPUT TYPE="text" NAME="voip_cdr__use_carrierid" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the CDR Type is set to this cdrtypenum: </TD><TD><INPUT TYPE="text" NAME="voip_cdr__use_cdrtypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the CDR Type is set to this cdrtypenum: </TD><TD><INPUT TYPE="text" NAME="voip_cdr__ignore_cdrtypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the CDR Call Type is set to this calltypenum: </TD><TD><INPUT TYPE="text" NAME="voip_cdr__use_calltypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the CDR Call Type is set to this calltypenum: </TD><TD><INPUT TYPE="text" NAME="voip_cdr__ignore_calltypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the Disposition is set to any of these (comma-separated) values: </TD><TD><INPUT TYPE="text" NAME="voip_cdr__ignore_disposition" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the Disposition is set to any of these (comma-separated) values: </TD><TD><INPUT TYPE="text" NAME="voip_cdr__disposition_in" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the dcontext is set to any of these (comma-separated) values: </TD><TD><INPUT TYPE="text" NAME="voip_cdr__skip_dcontext" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the destination number starts with any of these values: </TD><TD><INPUT TYPE="text" NAME="voip_cdr__skip_dst_prefix" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the dstchannel starts with:</TD><TD><INPUT TYPE="text" NAME="voip_cdr__skip_dstchannel_prefix" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the source is more than this many digits:</TD><TD><INPUT TYPE="text" NAME="voip_cdr__skip_src_length_more" VALUE=""></TD></TR><TR><TD ALIGN="right">Do charge for CDRs where source is equal or greater than the specified digits, when accountcode is toll free</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__noskip_src_length_accountcode_tollfree" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Optional alternate rate plan when accountcode is toll free: </TD><TD><SELECT NAME="voip_cdr__accountcode_tollfree_ratenum"><OPTION VALUE=""></SELECT></TD></TR><TR><TD ALIGN="right">When using an alternate rate plan for toll-free accountcodes, the CDR field to use in rating calculations</TD><TD><SELECT NAME="voip_cdr__accountcode_tollfree_field"><OPTION VALUE="dst">Destination (dst)<OPTION VALUE="src">Source (src)</SELECT></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the destination is less than this many digits:</TD><TD><INPUT TYPE="text" NAME="voip_cdr__skip_dst_length_less" VALUE=""></TD></TR><TR><TD ALIGN="right">Do charge for CDRs where dst is less than the specified digits, when accountcode is toll free</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__noskip_dst_length_accountcode_tollfree" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the lastapp matches this value: </TD><TD><INPUT TYPE="text" NAME="voip_cdr__skip_lastapp" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where max_callers is less than or equal to this value: </TD><TD><INPUT TYPE="text" NAME="voip_cdr__skip_max_callers" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for calls between numbers belonging to the same customer</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__skip_same_customer" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Calculate usage based on the duration field instead of the billsec field</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__use_duration" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Rewrite these (comma-separated) destination numbers to 411 for rating purposes (also ignore any carrierid check): </TD><TD><INPUT TYPE="text" NAME="voip_cdr__411_rewrite" VALUE=""></TD></TR><TR><TD ALIGN="right">CDR display format for invoices</TD><TD><SELECT NAME="voip_cdr__output_format"><OPTION VALUE="" SELECTED><OPTION VALUE="simple">Simple<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix<OPTION VALUE="sum_count_class">Summary, one line per usage class<OPTION VALUE="basic">Basic<OPTION VALUE="accountcode_simple">Simple with accountcode<OPTION VALUE="default">Default<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="accountcode_default">Default plus accountcode<OPTION VALUE="basic_upstream_dst_regionname">Basic with upstream destination name<OPTION VALUE="source_default">Default with source<OPTION VALUE="description_default">Default with description field as destination<OPTION VALUE="simple2">Simple with source</SELECT></TD></TR><TR><TD ALIGN="right">CDR display format for selfservice</TD><TD><SELECT NAME="voip_cdr__selfservice_format"><OPTION VALUE="" SELECTED><OPTION VALUE="simple">Simple<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix<OPTION VALUE="sum_count_class">Summary, one line per usage class<OPTION VALUE="basic">Basic<OPTION VALUE="accountcode_simple">Simple with accountcode<OPTION VALUE="default">Default<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="accountcode_default">Default plus accountcode<OPTION VALUE="basic_upstream_dst_regionname">Basic with upstream destination name<OPTION VALUE="source_default">Default with source<OPTION VALUE="description_default">Default with description field as destination<OPTION VALUE="simple2">Simple with source</SELECT></TD></TR><TR><TD ALIGN="right">Inbound CDR display format for selfservice</TD><TD><SELECT NAME="voip_cdr__selfservice_inbound_format"><OPTION VALUE="" SELECTED><OPTION VALUE="simple">Simple<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix<OPTION VALUE="sum_count_class">Summary, one line per usage class<OPTION VALUE="basic">Basic<OPTION VALUE="accountcode_simple">Simple with accountcode<OPTION VALUE="default">Default<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="accountcode_default">Default plus accountcode<OPTION VALUE="basic_upstream_dst_regionname">Basic with upstream destination name<OPTION VALUE="source_default">Default with source<OPTION VALUE="description_default">Default with description field as destination<OPTION VALUE="simple2">Simple with source</SELECT></TD></TR><TR><TD ALIGN="right">Always put usage details in separate section.  The section is defined in the next option.</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__usage_mandate" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Section in which to place usage charges (whether separated or not): </TD><TD><INPUT TYPE="text" NAME="voip_cdr__usage_section" VALUE=""></TD></TR><TR><TD ALIGN="right">Include usage summary with recurring charges when usage is in separate section</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__summarize_usage" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Show details for included / no-charge calls.</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__usage_showzero" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Generate an invoice immediately for every call (as well any setup fee, upon first payment).  Useful for prepaid.</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__bill_every_call" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill for all phone numbers that were active during the billing period</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__bill_inactive_svcs" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Only bill CDRs with a date during the package billing period</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__bill_only_pkg_dates" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Consider for tax purposes the number of lines to be svc_phones that may be provisioned rather than those that actually are.</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__count_available_phones" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Continue recurring billing while suspended</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__suspend_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="voip_cdr__OPTIONS" VALUE="ignore_cdrtypenum,unused_credit_suspend,add_full_period,a2billing_carrier_cost_min,noskip_src_length_accountcode_tollfree,usage_mandate,a2billing_carrer_initblock_offp,accountcode_tollfree_field,ignore_calltypenum,ignore_disposition,use_carrierid,a2billing_retail_cost_min_offp,skip_dst_prefix,sec_granularity,skip_same_customer,usage_showzero,use_duration,cdr_svc_method,domestic_prefix,selfservice_inbound_format,recur_temporality,noskip_dst_length_accountcode_tollfree,disable_tollfree,cutoff_day,prorate_verbose,accountcode_tollfree_ratenum,disable_src,ratenum,skip_lastapp,skip_max_callers,prorate_defer_bill,output_format,recur_fee,a2billing_retail_increment_offp,suspend_bill,unused_credit_change,skip_src_length_more,a2billing_simultaccess,a2billing_tariff,calls_included,setup_fee,bill_inactive_svcs,skip_dcontext,disposition_in,a2billing_retail_initblock_offp,use_amaflags,bill_only_pkg_dates,intrastate_ratenum,skip_dst_length_less,prorate_round_day,411_rewrite,rounding,rating_method,recur_method,bill_every_call,international_prefix,skip_dstchannel_prefix,use_cdrtypenum,summarize_usage,min_charge,ignore_unrateable,a2billing_carrier_increment_offp,count_available_phones,min_included,selfservice_format,a2billing_type,usage_section,default_prefix,use_calltypenum,delay_cancel,unused_credit_cancel">
 
       </DIV>
 
@@ -3253,7 +4394,7 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Charge recurring fee for period</TD><TD><SELECT NAME="voip_inbound__recur_temporality"><OPTION VALUE="upcoming">Upcoming (future)<OPTION VALUE="preceding">Preceding (past)</SELECT></TD></TR><TR><TD ALIGN="right">Recurring fee method</TD><TD><SELECT NAME="voip_inbound__recur_method"><OPTION VALUE="anniversary">Charge the recurring fee at the frequency specified above<OPTION VALUE="prorate">Charge a prorated fee the first time (selectable billing date)<OPTION VALUE="subscription">Charge the full fee for the first partial period (selectable billing date)</SELECT></TD></TR><TR><TD ALIGN="right">Billing Day (1 - 28) for prorating or subscription</TD><TD><INPUT TYPE="text" NAME="voip_inbound__cutoff_day" VALUE="1"></TD></TR><TR><TD ALIGN="right">When prorating, defer the first bill until the billing day</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When prorating, round to the nearest full day</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">When prorating first month, also bill for one full period after that</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__add_full_period" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Show prorate details on the invoice</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__prorate_verbose" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">Charge per minute</TD><TD><INPUT TYPE="text" NAME="voip_inbound__min_charge" VALUE=""></TD></TR><TR><TD ALIGN="right">Minutes included</TD><TD><INPUT TYPE="text" NAME="voip_inbound__min_included" VALUE=""></TD></TR><TR><TD ALIGN="right">Granularity</TD><TD><SELECT NAME="voip_inbound__sec_granularity"><OPTION VALUE="1">1 second<OPTION VALUE="6">6 second<OPTION VALUE="30">30 second<OPTION VALUE="60">minute<OPTION VALUE="0">call</SELECT></TD></TR><TR><TD ALIGN="right">Default prefix optionally prepended to customer DID numbers when searching for CDR records</TD><TD><INPUT TYPE="text" NAME="voip_inbound__default_prefix" VALUE="+1"></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the amaflags field is set to "2" ("BILL"/"BILLING").</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__use_amaflags" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the Carrier ID is set to any of these (comma-separated) values: </TD><TD><INPUT TYPE="text" NAME="voip_inbound__use_carrierid" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the CDR Type is set to this cdrtypenum: </TD><TD><INPUT TYPE="text" NAME="voip_inbound__use_cdrtypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the CDR Type is set to this cdrtypenum: </TD><TD><INPUT TYPE="text" NAME="voip_inbound__ignore_cdrtypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the CDR Call Type is set to this cdrtypenum: </TD><TD><INPUT TYPE="text" NAME="voip_inbound__use_calltypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the CDR Call Type is set to this cdrtypenum: </TD><TD><INPUT TYPE="text" NAME="voip_inbound__ignore_calltypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the Disposition is set to any of these (comma-separated) values: </TD><TD><INPUT TYPE="text" NAME="voip_inbound__ignore_disposition" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the Disposition is set to any of these (comma-separated) values: </TD><TD><INPUT TYPE="text" NAME="voip_inbound__disposition_in" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the dcontext is set to any of these (comma-separated) values:</TD><TD><INPUT TYPE="text" NAME="voip_inbound__skip_dcontext" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the dstchannel starts with:</TD><TD><INPUT TYPE="text" NAME="voip_inbound__skip_dstchannel_prefix" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the destination is less than this many digits:</TD><TD><INPUT TYPE="text" NAME="voip_inbound__skip_dst_length_less" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the lastapp matches this value</TD><TD><INPUT TYPE="text" NAME="voip_inbound__skip_lastapp" VALUE=""></TD></TR><TR><TD ALIGN="right">Calculate usage based on the duration field instead of the billsec field</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__use_duration" VALUE=1 ></TD></TR><TR><TD ALIGN="right">CDR invoice display format</TD><TD><SELECT NAME="voip_inbound__output_format"><OPTION VALUE="default">Default<OPTION VALUE="description_default">Default with description field as destination<OPTION VALUE="simple">Simple<OPTION VALUE="accountcode_simple">Simple with accountcode<OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="accountcode_default">Default plus accountcode<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix<OPTION VALUE="sum_count_class">Summary, one line per usage class<OPTION VALUE="source_default">Default with source<OPTION VALUE="simple2">Simple with source<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="basic_upstream_dst_regionname">Basic with upstream destination name<OPTION VALUE="basic">Basic</SELECT></TD></TR><TR><TD ALIGN="right">Always put usage details in separate section</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__usage_mandate" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Include usage summary with recurring charges when usage is in separate section</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__summarize_usage" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Section in which to place usage charges (whether separated or not)</TD><TD><INPUT TYPE="text" NAME="voip_inbound__usage_section" VALUE=""></TD></TR><TR><TD ALIGN="right">Generate an invoice immediately for every call.  Useful for prepaid.</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__bill_every_call" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="voip_inbound__OPTIONS" VALUE="ignore_disposition,use_cdrtypenum,unused_credit_cancel,skip_dstchannel_prefix,use_carrierid,bill_every_call,min_included,a2billing_carrier_increment_offp,recur_temporality,a2billing_retail_increment_offp,a2billing_carrer_initblock_offp,prorate_defer_bill,disposition_in,a2billing_simultaccess,a2billing_type,add_full_period,unused_credit_suspend,sec_granularity,delay_cancel,prorate_verbose,ignore_calltypenum,use_amaflags,skip_lastapp,setup_fee,skip_dcontext,recur_method,usage_mandate,summarize_usage,skip_dst_length_less,use_calltypenum,min_charge,a2billing_retail_initblock_offp,use_duration,a2billing_carrier_cost_min,cutoff_day,recur_fee,usage_section,prorate_round_day,ignore_cdrtypenum,a2billing_retail_cost_min_offp,default_prefix,unused_credit_change,a2billing_tariff,output_format">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Charge recurring fee for period</TD><TD><SELECT NAME="voip_inbound__recur_temporality"><OPTION VALUE="upcoming">Upcoming (future)<OPTION VALUE="preceding">Preceding (past)</SELECT></TD></TR><TR><TD ALIGN="right">Recurring fee method</TD><TD><SELECT NAME="voip_inbound__recur_method"><OPTION VALUE="anniversary">Charge the recurring fee at the frequency specified above<OPTION VALUE="prorate">Charge a prorated fee the first time (selectable billing date)<OPTION VALUE="subscription">Charge the full fee for the first partial period (selectable billing date)</SELECT></TD></TR><TR><TD ALIGN="right">Billing Day (1 - 28) for prorating or subscription</TD><TD><INPUT TYPE="text" NAME="voip_inbound__cutoff_day" VALUE="1"></TD></TR><TR><TD ALIGN="right">When prorating, defer the first bill until the billing day</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When prorating, round to the nearest full day</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">When prorating first month, also bill for one full period after that</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__add_full_period" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Show prorate details on the invoice</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__prorate_verbose" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">Charge per minute</TD><TD><INPUT TYPE="text" NAME="voip_inbound__min_charge" VALUE=""></TD></TR><TR><TD ALIGN="right">Minutes included</TD><TD><INPUT TYPE="text" NAME="voip_inbound__min_included" VALUE=""></TD></TR><TR><TD ALIGN="right">Granularity</TD><TD><SELECT NAME="voip_inbound__sec_granularity"><OPTION VALUE="1">1 second<OPTION VALUE="6">6 second<OPTION VALUE="30">30 second<OPTION VALUE="60">minute<OPTION VALUE="0">call</SELECT></TD></TR><TR><TD ALIGN="right">Default prefix optionally prepended to customer DID numbers when searching for CDR records</TD><TD><INPUT TYPE="text" NAME="voip_inbound__default_prefix" VALUE="+1"></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the amaflags field is set to "2" ("BILL"/"BILLING").</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__use_amaflags" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the Carrier ID is set to any of these (comma-separated) values: </TD><TD><INPUT TYPE="text" NAME="voip_inbound__use_carrierid" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the CDR Type is set to this cdrtypenum: </TD><TD><INPUT TYPE="text" NAME="voip_inbound__use_cdrtypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the CDR Type is set to this cdrtypenum: </TD><TD><INPUT TYPE="text" NAME="voip_inbound__ignore_cdrtypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the CDR Call Type is set to this cdrtypenum: </TD><TD><INPUT TYPE="text" NAME="voip_inbound__use_calltypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the CDR Call Type is set to this cdrtypenum: </TD><TD><INPUT TYPE="text" NAME="voip_inbound__ignore_calltypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the Disposition is set to any of these (comma-separated) values: </TD><TD><INPUT TYPE="text" NAME="voip_inbound__ignore_disposition" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the Disposition is set to any of these (comma-separated) values: </TD><TD><INPUT TYPE="text" NAME="voip_inbound__disposition_in" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the dcontext is set to any of these (comma-separated) values:</TD><TD><INPUT TYPE="text" NAME="voip_inbound__skip_dcontext" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the dstchannel starts with:</TD><TD><INPUT TYPE="text" NAME="voip_inbound__skip_dstchannel_prefix" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the destination is less than this many digits:</TD><TD><INPUT TYPE="text" NAME="voip_inbound__skip_dst_length_less" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the lastapp matches this value</TD><TD><INPUT TYPE="text" NAME="voip_inbound__skip_lastapp" VALUE=""></TD></TR><TR><TD ALIGN="right">Calculate usage based on the duration field instead of the billsec field</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__use_duration" VALUE=1 ></TD></TR><TR><TD ALIGN="right">CDR invoice display format</TD><TD><SELECT NAME="voip_inbound__output_format"><OPTION VALUE="sum_count_class">Summary, one line per usage class<OPTION VALUE="simple">Simple<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="default">Default<OPTION VALUE="accountcode_simple">Simple with accountcode<OPTION VALUE="basic">Basic<OPTION VALUE="description_default">Default with description field as destination<OPTION VALUE="source_default">Default with source<OPTION VALUE="basic_upstream_dst_regionname">Basic with upstream destination name<OPTION VALUE="accountcode_default">Default plus accountcode<OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="simple2">Simple with source</SELECT></TD></TR><TR><TD ALIGN="right">Always put usage details in separate section</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__usage_mandate" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Include usage summary with recurring charges when usage is in separate section</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__summarize_usage" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Section in which to place usage charges (whether separated or not)</TD><TD><INPUT TYPE="text" NAME="voip_inbound__usage_section" VALUE=""></TD></TR><TR><TD ALIGN="right">Generate an invoice immediately for every call.  Useful for prepaid.</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__bill_every_call" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="voip_inbound__OPTIONS" VALUE="cutoff_day,a2billing_carrier_increment_offp,prorate_verbose,min_included,skip_lastapp,prorate_defer_bill,a2billing_type,output_format,usage_section,default_prefix,recur_fee,a2billing_retail_increment_offp,use_calltypenum,delay_cancel,unused_credit_cancel,use_duration,recur_method,bill_every_call,skip_dstchannel_prefix,use_cdrtypenum,recur_temporality,summarize_usage,min_charge,ignore_calltypenum,skip_dcontext,a2billing_retail_initblock_offp,disposition_in,ignore_disposition,use_amaflags,use_carrierid,a2billing_retail_cost_min_offp,skip_dst_length_less,sec_granularity,prorate_round_day,ignore_cdrtypenum,unused_credit_change,unused_credit_suspend,a2billing_simultaccess,add_full_period,a2billing_tariff,a2billing_carrier_cost_min,setup_fee,usage_mandate,a2billing_carrer_initblock_offp">
 
       </DIV>
 
@@ -3262,7 +4403,7 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Charge recurring fee for period</TD><TD><SELECT NAME="voip_tiered__recur_temporality"><OPTION VALUE="upcoming">Upcoming (future)<OPTION VALUE="preceding">Preceding (past)</SELECT></TD></TR><TR><TD ALIGN="right">Recurring fee method</TD><TD><SELECT NAME="voip_tiered__recur_method"><OPTION VALUE="anniversary">Charge the recurring fee at the frequency specified above<OPTION VALUE="prorate">Charge a prorated fee the first time (selectable billing date)<OPTION VALUE="subscription">Charge the full fee for the first partial period (selectable billing date)</SELECT></TD></TR><TR><TD ALIGN="right">Billing Day (1 - 28) for prorating or subscription</TD><TD><INPUT TYPE="text" NAME="voip_tiered__cutoff_day" VALUE="1"></TD></TR><TR><TD ALIGN="right">When prorating, defer the first bill until the billing day</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When prorating, round to the nearest full day</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">When prorating first month, also bill for one full period after that</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__add_full_period" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Show prorate details on the invoice</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__prorate_verbose" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">CDR service matching method</TD><TD><SELECT NAME="voip_tiered__cdr_svc_method"><OPTION VALUE="svc_phone.phonenum">Phone numbers (svc_phone.phonenum)<OPTION VALUE="svc_pbx.title">PBX name (svc_pbx.title)<OPTION VALUE="svc_pbx.svcnum">Freeside service # (svc_pbx.svcnum)<OPTION VALUE="svc_pbx.ip.src">PBX name to source IP address<OPTION VALUE="svc_pbx.ip.dst">PBX name to destination IP address<OPTION VALUE="svc_acct.username">Username (svc_acct.username)</SELECT></TD></TR><TR><TD ALIGN="right">Call direction when using phone number matching</TD><TD><SELECT NAME="voip_tiered__cdr_inout"><OPTION VALUE="outbound">Outbound<OPTION VALUE="inbound">Inbound<OPTION VALUE="outbound_inbound">Outbound and Inbound</SELECT></TD></TR><TR><TD ALIGN="right">Tier plan</TD><TD><SELECT NAME="voip_tiered__tiernum"></SELECT></TD></TR><TR><TD ALIGN="right">Rounding for destination prefix rating</TD><TD><SELECT NAME="voip_tiered__rounding"><OPTION VALUE="2">Two decimal places (cent)<OPTION VALUE="4">Four decimal places (100th of a cent)</SELECT></TD></TR><TR><TD ALIGN="right">Number of calls included at no usage charge</TD><TD><INPUT TYPE="text" NAME="voip_tiered__calls_included" VALUE=""></TD></TR><TR><TD ALIGN="right">Minutes included</TD><TD><INPUT TYPE="text" NAME="voip_tiered__min_included" VALUE=""></TD></TR><TR><TD ALIGN="right">Granularity</TD><TD><SELECT NAME="voip_tiered__sec_granularity"><OPTION VALUE="1">1 second<OPTION VALUE="6">6 second<OPTION VALUE="30">30 second<OPTION VALUE="60">minute<OPTION VALUE="0">call</SELECT></TD></TR><TR><TD ALIGN="right">Default prefix optionally prepended to customer DID numbers when searching for CDR records</TD><TD><INPUT TYPE="text" NAME="voip_tiered__default_prefix" VALUE="+1"></TD></TR><TR><TD ALIGN="right">Disable rating of CDR records based on the "src" field in addition to "charged_party"</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__disable_src" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the amaflags field is set to "2" ("BILL"/"BILLING").</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__use_amaflags" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the Carrier ID is set to any of these (comma-separated) values: </TD><TD><INPUT TYPE="text" NAME="voip_tiered__use_carrierid" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the CDR Type is set to this cdrtypenum: </TD><TD><INPUT TYPE="text" NAME="voip_tiered__use_cdrtypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the CDR Type is set to this cdrtypenum: </TD><TD><INPUT TYPE="text" NAME="voip_tiered__ignore_cdrtypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the CDR Call Type is set to this calltypenum: </TD><TD><INPUT TYPE="text" NAME="voip_tiered__use_calltypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the CDR Call Type is set to this calltypenum: </TD><TD><INPUT TYPE="text" NAME="voip_tiered__ignore_calltypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the Disposition is set to any of these (comma-separated) values: </TD><TD><INPUT TYPE="text" NAME="voip_tiered__ignore_disposition" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the Disposition is set to any of these (comma-separated) values: </TD><TD><INPUT TYPE="text" NAME="voip_tiered__disposition_in" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the dcontext is set to any of these (comma-separated) values: </TD><TD><INPUT TYPE="text" NAME="voip_tiered__skip_dcontext" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the destination number starts with any of these values: </TD><TD><INPUT TYPE="text" NAME="voip_tiered__skip_dst_prefix" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the dstchannel starts with:</TD><TD><INPUT TYPE="text" NAME="voip_tiered__skip_dstchannel_prefix" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the source is more than this many digits:</TD><TD><INPUT TYPE="text" NAME="voip_tiered__skip_src_length_more" VALUE=""></TD></TR><TR><TD ALIGN="right">When using an alternate rate plan for toll-free accountcodes, the CDR field to use in rating calculations</TD><TD><SELECT NAME="voip_tiered__accountcode_tollfree_field"><OPTION VALUE="dst">Destination (dst)<OPTION VALUE="src">Source (src)</SELECT></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the destination is less than this many digits:</TD><TD><INPUT TYPE="text" NAME="voip_tiered__skip_dst_length_less" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the lastapp matches this value: </TD><TD><INPUT TYPE="text" NAME="voip_tiered__skip_lastapp" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where max_callers is less than or equal to this value: </TD><TD><INPUT TYPE="text" NAME="voip_tiered__skip_max_callers" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for calls between numbers belonging to the same customer</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__skip_same_customer" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Calculate usage based on the duration field instead of the billsec field</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__use_duration" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Rewrite these (comma-separated) destination numbers to 411 for rating purposes (also ignore any carrierid check): </TD><TD><INPUT TYPE="text" NAME="voip_tiered__411_rewrite" VALUE=""></TD></TR><TR><TD ALIGN="right">CDR display format for invoices</TD><TD><SELECT NAME="voip_tiered__output_format"><OPTION VALUE="" SELECTED><OPTION VALUE="accountcode_default">Default plus accountcode<OPTION VALUE="basic_upstream_dst_regionname">Basic with upstream destination name<OPTION VALUE="basic">Basic<OPTION VALUE="sum_count_class">Summary, one line per usage class<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix<OPTION VALUE="source_default">Default with source<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="simple2">Simple with source<OPTION VALUE="description_default">Default with description field as destination<OPTION VALUE="default">Default<OPTION VALUE="simple">Simple<OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="accountcode_simple">Simple with accountcode</SELECT></TD></TR><TR><TD ALIGN="right">CDR display format for selfservice</TD><TD><SELECT NAME="voip_tiered__selfservice_format"><OPTION VALUE="" SELECTED><OPTION VALUE="accountcode_default">Default plus accountcode<OPTION VALUE="basic_upstream_dst_regionname">Basic with upstream destination name<OPTION VALUE="basic">Basic<OPTION VALUE="sum_count_class">Summary, one line per usage class<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix<OPTION VALUE="source_default">Default with source<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="simple2">Simple with source<OPTION VALUE="description_default">Default with description field as destination<OPTION VALUE="default">Default<OPTION VALUE="simple">Simple<OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="accountcode_simple">Simple with accountcode</SELECT></TD></TR><TR><TD ALIGN="right">Inbound CDR display format for selfservice</TD><TD><SELECT NAME="voip_tiered__selfservice_inbound_format"><OPTION VALUE="" SELECTED><OPTION VALUE="accountcode_default">Default plus accountcode<OPTION VALUE="basic_upstream_dst_regionname">Basic with upstream destination name<OPTION VALUE="basic">Basic<OPTION VALUE="sum_count_class">Summary, one line per usage class<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix<OPTION VALUE="source_default">Default with source<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="simple2">Simple with source<OPTION VALUE="description_default">Default with description field as destination<OPTION VALUE="default">Default<OPTION VALUE="simple">Simple<OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="accountcode_simple">Simple with accountcode</SELECT></TD></TR><TR><TD ALIGN="right">Always put usage details in separate section.  The section is defined in the next option.</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__usage_mandate" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Section in which to place usage charges (whether separated or not): </TD><TD><INPUT TYPE="text" NAME="voip_tiered__usage_section" VALUE=""></TD></TR><TR><TD ALIGN="right">Include usage summary with recurring charges when usage is in separate section</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__summarize_usage" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Show details for included / no-charge calls.</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__usage_showzero" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Generate an invoice immediately for every call (as well any setup fee, upon first payment).  Useful for prepaid.</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__bill_every_call" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill for all phone numbers that were active during the billing period</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__bill_inactive_svcs" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Only bill CDRs with a date during the package billing period</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__bill_only_pkg_dates" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Consider for tax purposes the number of lines to be svc_phones that may be provisioned rather than those that actually are.</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__count_available_phones" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Continue recurring billing while suspended</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__suspend_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="voip_tiered__OPTIONS" VALUE="skip_max_callers,recur_fee,intrastate_ratenum,use_amaflags,skip_dst_length_less,noskip_src_length_accountcode_tollfree,use_calltypenum,ignore_unrateable,use_duration,domestic_prefix,bill_only_pkg_dates,selfservice_format,summarize_usage,delay_cancel,count_available_phones,cdr_svc_method,disable_src,a2billing_type,bill_inactive_svcs,selfservice_inbound_format,tiernum,unused_credit_cancel,skip_dst_prefix,bill_every_call,rounding,usage_showzero,a2billing_carrier_increment_offp,ignore_disposition,use_cdrtypenum,a2billing_carrer_initblock_offp,disposition_in,a2billing_simultaccess,recur_temporality,prorate_round_day,ignore_cdrtypenum,a2billing_retail_cost_min_offp,default_prefix,a2billing_carrier_cost_min,cutoff_day,usage_section,a2billing_tariff,output_format,disable_tollfree,unused_credit_change,suspend_bill,calls_included,skip_lastapp,noskip_dst_length_accountcode_tollfree,skip_dcontext,setup_fee,min_charge,a2billing_retail_initblock_offp,recur_method,usage_mandate,rating_method,prorate_verbose,ignore_calltypenum,add_full_period,sec_granularity,unused_credit_suspend,international_prefix,skip_dstchannel_prefix,use_carrierid,min_included,411_rewrite,ratenum,skip_src_length_more,prorate_defer_bill,accountcode_tollfree_ratenum,accountcode_tollfree_field,cdr_inout,skip_same_customer,a2billing_retail_increment_offp">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Charge recurring fee for period</TD><TD><SELECT NAME="voip_tiered__recur_temporality"><OPTION VALUE="upcoming">Upcoming (future)<OPTION VALUE="preceding">Preceding (past)</SELECT></TD></TR><TR><TD ALIGN="right">Recurring fee method</TD><TD><SELECT NAME="voip_tiered__recur_method"><OPTION VALUE="anniversary">Charge the recurring fee at the frequency specified above<OPTION VALUE="prorate">Charge a prorated fee the first time (selectable billing date)<OPTION VALUE="subscription">Charge the full fee for the first partial period (selectable billing date)</SELECT></TD></TR><TR><TD ALIGN="right">Billing Day (1 - 28) for prorating or subscription</TD><TD><INPUT TYPE="text" NAME="voip_tiered__cutoff_day" VALUE="1"></TD></TR><TR><TD ALIGN="right">When prorating, defer the first bill until the billing day</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When prorating, round to the nearest full day</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">When prorating first month, also bill for one full period after that</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__add_full_period" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Show prorate details on the invoice</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__prorate_verbose" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">CDR service matching method</TD><TD><SELECT NAME="voip_tiered__cdr_svc_method"><OPTION VALUE="svc_phone.phonenum">Phone numbers (svc_phone.phonenum)<OPTION VALUE="svc_pbx.title">PBX name (svc_pbx.title)<OPTION VALUE="svc_pbx.svcnum">Freeside service # (svc_pbx.svcnum)<OPTION VALUE="svc_pbx.ip.src">PBX name to source IP address<OPTION VALUE="svc_pbx.ip.dst">PBX name to destination IP address<OPTION VALUE="svc_acct.username">Username (svc_acct.username)</SELECT></TD></TR><TR><TD ALIGN="right">Call direction when using phone number matching</TD><TD><SELECT NAME="voip_tiered__cdr_inout"><OPTION VALUE="outbound">Outbound<OPTION VALUE="inbound">Inbound<OPTION VALUE="outbound_inbound">Outbound and Inbound</SELECT></TD></TR><TR><TD ALIGN="right">Tier plan</TD><TD><SELECT NAME="voip_tiered__tiernum"></SELECT></TD></TR><TR><TD ALIGN="right">Rounding for destination prefix rating</TD><TD><SELECT NAME="voip_tiered__rounding"><OPTION VALUE="2">Two decimal places (cent)<OPTION VALUE="4">Four decimal places (100th of a cent)</SELECT></TD></TR><TR><TD ALIGN="right">Number of calls included at no usage charge</TD><TD><INPUT TYPE="text" NAME="voip_tiered__calls_included" VALUE=""></TD></TR><TR><TD ALIGN="right">Minutes included</TD><TD><INPUT TYPE="text" NAME="voip_tiered__min_included" VALUE=""></TD></TR><TR><TD ALIGN="right">Granularity</TD><TD><SELECT NAME="voip_tiered__sec_granularity"><OPTION VALUE="1">1 second<OPTION VALUE="6">6 second<OPTION VALUE="30">30 second<OPTION VALUE="60">minute<OPTION VALUE="0">call</SELECT></TD></TR><TR><TD ALIGN="right">Default prefix optionally prepended to customer DID numbers when searching for CDR records</TD><TD><INPUT TYPE="text" NAME="voip_tiered__default_prefix" VALUE="+1"></TD></TR><TR><TD ALIGN="right">Disable rating of CDR records based on the "src" field in addition to "charged_party"</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__disable_src" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the amaflags field is set to "2" ("BILL"/"BILLING").</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__use_amaflags" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the Carrier ID is set to any of these (comma-separated) values: </TD><TD><INPUT TYPE="text" NAME="voip_tiered__use_carrierid" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the CDR Type is set to this cdrtypenum: </TD><TD><INPUT TYPE="text" NAME="voip_tiered__use_cdrtypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the CDR Type is set to this cdrtypenum: </TD><TD><INPUT TYPE="text" NAME="voip_tiered__ignore_cdrtypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the CDR Call Type is set to this calltypenum: </TD><TD><INPUT TYPE="text" NAME="voip_tiered__use_calltypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the CDR Call Type is set to this calltypenum: </TD><TD><INPUT TYPE="text" NAME="voip_tiered__ignore_calltypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the Disposition is set to any of these (comma-separated) values: </TD><TD><INPUT TYPE="text" NAME="voip_tiered__ignore_disposition" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the Disposition is set to any of these (comma-separated) values: </TD><TD><INPUT TYPE="text" NAME="voip_tiered__disposition_in" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the dcontext is set to any of these (comma-separated) values: </TD><TD><INPUT TYPE="text" NAME="voip_tiered__skip_dcontext" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the destination number starts with any of these values: </TD><TD><INPUT TYPE="text" NAME="voip_tiered__skip_dst_prefix" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the dstchannel starts with:</TD><TD><INPUT TYPE="text" NAME="voip_tiered__skip_dstchannel_prefix" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the source is more than this many digits:</TD><TD><INPUT TYPE="text" NAME="voip_tiered__skip_src_length_more" VALUE=""></TD></TR><TR><TD ALIGN="right">When using an alternate rate plan for toll-free accountcodes, the CDR field to use in rating calculations</TD><TD><SELECT NAME="voip_tiered__accountcode_tollfree_field"><OPTION VALUE="dst">Destination (dst)<OPTION VALUE="src">Source (src)</SELECT></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the destination is less than this many digits:</TD><TD><INPUT TYPE="text" NAME="voip_tiered__skip_dst_length_less" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the lastapp matches this value: </TD><TD><INPUT TYPE="text" NAME="voip_tiered__skip_lastapp" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where max_callers is less than or equal to this value: </TD><TD><INPUT TYPE="text" NAME="voip_tiered__skip_max_callers" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for calls between numbers belonging to the same customer</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__skip_same_customer" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Calculate usage based on the duration field instead of the billsec field</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__use_duration" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Rewrite these (comma-separated) destination numbers to 411 for rating purposes (also ignore any carrierid check): </TD><TD><INPUT TYPE="text" NAME="voip_tiered__411_rewrite" VALUE=""></TD></TR><TR><TD ALIGN="right">CDR display format for invoices</TD><TD><SELECT NAME="voip_tiered__output_format"><OPTION VALUE="" SELECTED><OPTION VALUE="simple">Simple<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix<OPTION VALUE="sum_count_class">Summary, one line per usage class<OPTION VALUE="basic">Basic<OPTION VALUE="accountcode_simple">Simple with accountcode<OPTION VALUE="default">Default<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="accountcode_default">Default plus accountcode<OPTION VALUE="basic_upstream_dst_regionname">Basic with upstream destination name<OPTION VALUE="source_default">Default with source<OPTION VALUE="description_default">Default with description field as destination<OPTION VALUE="simple2">Simple with source</SELECT></TD></TR><TR><TD ALIGN="right">CDR display format for selfservice</TD><TD><SELECT NAME="voip_tiered__selfservice_format"><OPTION VALUE="" SELECTED><OPTION VALUE="simple">Simple<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix<OPTION VALUE="sum_count_class">Summary, one line per usage class<OPTION VALUE="basic">Basic<OPTION VALUE="accountcode_simple">Simple with accountcode<OPTION VALUE="default">Default<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="accountcode_default">Default plus accountcode<OPTION VALUE="basic_upstream_dst_regionname">Basic with upstream destination name<OPTION VALUE="source_default">Default with source<OPTION VALUE="description_default">Default with description field as destination<OPTION VALUE="simple2">Simple with source</SELECT></TD></TR><TR><TD ALIGN="right">Inbound CDR display format for selfservice</TD><TD><SELECT NAME="voip_tiered__selfservice_inbound_format"><OPTION VALUE="" SELECTED><OPTION VALUE="simple">Simple<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix<OPTION VALUE="sum_count_class">Summary, one line per usage class<OPTION VALUE="basic">Basic<OPTION VALUE="accountcode_simple">Simple with accountcode<OPTION VALUE="default">Default<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="accountcode_default">Default plus accountcode<OPTION VALUE="basic_upstream_dst_regionname">Basic with upstream destination name<OPTION VALUE="source_default">Default with source<OPTION VALUE="description_default">Default with description field as destination<OPTION VALUE="simple2">Simple with source</SELECT></TD></TR><TR><TD ALIGN="right">Always put usage details in separate section.  The section is defined in the next option.</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__usage_mandate" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Section in which to place usage charges (whether separated or not): </TD><TD><INPUT TYPE="text" NAME="voip_tiered__usage_section" VALUE=""></TD></TR><TR><TD ALIGN="right">Include usage summary with recurring charges when usage is in separate section</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__summarize_usage" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Show details for included / no-charge calls.</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__usage_showzero" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Generate an invoice immediately for every call (as well any setup fee, upon first payment).  Useful for prepaid.</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__bill_every_call" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill for all phone numbers that were active during the billing period</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__bill_inactive_svcs" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Only bill CDRs with a date during the package billing period</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__bill_only_pkg_dates" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Consider for tax purposes the number of lines to be svc_phones that may be provisioned rather than those that actually are.</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__count_available_phones" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Continue recurring billing while suspended</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__suspend_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="voip_tiered__OPTIONS" VALUE="a2billing_retail_cost_min_offp,skip_same_customer,skip_dst_prefix,sec_granularity,ignore_calltypenum,use_carrierid,ignore_disposition,noskip_src_length_accountcode_tollfree,accountcode_tollfree_field,a2billing_carrer_initblock_offp,usage_mandate,ignore_cdrtypenum,add_full_period,a2billing_carrier_cost_min,unused_credit_suspend,recur_fee,output_format,a2billing_retail_increment_offp,suspend_bill,prorate_verbose,accountcode_tollfree_ratenum,cutoff_day,skip_max_callers,prorate_defer_bill,disable_src,ratenum,skip_lastapp,recur_temporality,domestic_prefix,selfservice_inbound_format,disable_tollfree,noskip_dst_length_accountcode_tollfree,cdr_inout,usage_showzero,use_duration,cdr_svc_method,intrastate_ratenum,skip_dst_length_less,bill_only_pkg_dates,prorate_round_day,411_rewrite,disposition_in,a2billing_retail_initblock_offp,skip_dcontext,use_amaflags,setup_fee,bill_inactive_svcs,unused_credit_change,a2billing_tariff,calls_included,skip_src_length_more,a2billing_simultaccess,usage_section,default_prefix,delay_cancel,unused_credit_cancel,use_calltypenum,a2billing_carrier_increment_offp,ignore_unrateable,count_available_phones,a2billing_type,tiernum,min_included,selfservice_format,use_cdrtypenum,skip_dstchannel_prefix,summarize_usage,min_charge,rounding,recur_method,bill_every_call,international_prefix,rating_method">
 
       </DIV>
 
@@ -3271,7 +4412,7 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Charge recurring fee for period</TD><TD><SELECT NAME="cdr_termination__recur_temporality"><OPTION VALUE="upcoming">Upcoming (future)<OPTION VALUE="preceding">Preceding (past)</SELECT></TD></TR><TR><TD ALIGN="right">Recurring fee method</TD><TD><SELECT NAME="cdr_termination__recur_method"><OPTION VALUE="anniversary">Charge the recurring fee at the frequency specified above<OPTION VALUE="prorate">Charge a prorated fee the first time (selectable billing date)<OPTION VALUE="subscription">Charge the full fee for the first partial period (selectable billing date)</SELECT></TD></TR><TR><TD ALIGN="right">Billing Day (1 - 28) for prorating or subscription</TD><TD><INPUT TYPE="text" NAME="cdr_termination__cutoff_day" VALUE="1"></TD></TR><TR><TD ALIGN="right">When prorating, defer the first bill until the billing day</TD><TD><INPUT TYPE="checkbox" NAME="cdr_termination__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When prorating, round to the nearest full day</TD><TD><INPUT TYPE="checkbox" NAME="cdr_termination__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">When prorating first month, also bill for one full period after that</TD><TD><INPUT TYPE="checkbox" NAME="cdr_termination__add_full_period" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Show prorate details on the invoice</TD><TD><INPUT TYPE="checkbox" NAME="cdr_termination__prorate_verbose" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">CDR invoice display format</TD><TD><SELECT NAME="cdr_termination__output_format"><OPTION VALUE="accountcode_default">Default plus accountcode<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="simple2">Simple with source<OPTION VALUE="sum_count_class">Summary, one line per usage class<OPTION VALUE="source_default">Default with source<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix<OPTION VALUE="basic">Basic<OPTION VALUE="basic_upstream_dst_regionname">Basic with upstream destination name<OPTION VALUE="default">Default<OPTION VALUE="description_default">Default with description field as destination<OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="accountcode_simple">Simple with accountcode<OPTION VALUE="simple">Simple</SELECT></TD></TR><TR><TD ALIGN="right">Section in which to place separate usage charges</TD><TD><INPUT TYPE="text" NAME="cdr_termination__usage_section" VALUE=""></TD></TR><TR><TD ALIGN="right">Include usage summary with recurring charges when usage is in separate section</TD><TD><INPUT TYPE="checkbox" NAME="cdr_termination__summarize_usage" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Always put usage details in separate section</TD><TD><INPUT TYPE="checkbox" NAME="cdr_termination__usage_mandate" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="cdr_termination__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="cdr_termination__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="cdr_termination__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="cdr_termination__OPTIONS" VALUE="unused_credit_change,a2billing_tariff,output_format,a2billing_carrier_cost_min,a2billing_type,add_full_period,unused_credit_suspend,cutoff_day,usage_section,recur_fee,delay_cancel,prorate_round_day,a2billing_retail_cost_min_offp,prorate_verbose,recur_method,usage_mandate,recur_temporality,summarize_usage,a2billing_retail_increment_offp,a2billing_carrer_initblock_offp,prorate_defer_bill,a2billing_retail_initblock_offp,a2billing_simultaccess,setup_fee,unused_credit_cancel,a2billing_carrier_increment_offp">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Charge recurring fee for period</TD><TD><SELECT NAME="cdr_termination__recur_temporality"><OPTION VALUE="upcoming">Upcoming (future)<OPTION VALUE="preceding">Preceding (past)</SELECT></TD></TR><TR><TD ALIGN="right">Recurring fee method</TD><TD><SELECT NAME="cdr_termination__recur_method"><OPTION VALUE="anniversary">Charge the recurring fee at the frequency specified above<OPTION VALUE="prorate">Charge a prorated fee the first time (selectable billing date)<OPTION VALUE="subscription">Charge the full fee for the first partial period (selectable billing date)</SELECT></TD></TR><TR><TD ALIGN="right">Billing Day (1 - 28) for prorating or subscription</TD><TD><INPUT TYPE="text" NAME="cdr_termination__cutoff_day" VALUE="1"></TD></TR><TR><TD ALIGN="right">When prorating, defer the first bill until the billing day</TD><TD><INPUT TYPE="checkbox" NAME="cdr_termination__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When prorating, round to the nearest full day</TD><TD><INPUT TYPE="checkbox" NAME="cdr_termination__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">When prorating first month, also bill for one full period after that</TD><TD><INPUT TYPE="checkbox" NAME="cdr_termination__add_full_period" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Show prorate details on the invoice</TD><TD><INPUT TYPE="checkbox" NAME="cdr_termination__prorate_verbose" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">CDR invoice display format</TD><TD><SELECT NAME="cdr_termination__output_format"><OPTION VALUE="simple2">Simple with source<OPTION VALUE="basic_upstream_dst_regionname">Basic with upstream destination name<OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="accountcode_default">Default plus accountcode<OPTION VALUE="description_default">Default with description field as destination<OPTION VALUE="source_default">Default with source<OPTION VALUE="basic">Basic<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="default">Default<OPTION VALUE="accountcode_simple">Simple with accountcode<OPTION VALUE="simple">Simple<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix<OPTION VALUE="sum_count_class">Summary, one line per usage class</SELECT></TD></TR><TR><TD ALIGN="right">Section in which to place separate usage charges</TD><TD><INPUT TYPE="text" NAME="cdr_termination__usage_section" VALUE=""></TD></TR><TR><TD ALIGN="right">Include usage summary with recurring charges when usage is in separate section</TD><TD><INPUT TYPE="checkbox" NAME="cdr_termination__summarize_usage" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Always put usage details in separate section</TD><TD><INPUT TYPE="checkbox" NAME="cdr_termination__usage_mandate" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="cdr_termination__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="cdr_termination__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="cdr_termination__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="cdr_termination__OPTIONS" VALUE="usage_mandate,a2billing_carrer_initblock_offp,summarize_usage,setup_fee,recur_temporality,a2billing_simultaccess,unused_credit_suspend,a2billing_carrier_cost_min,add_full_period,recur_method,a2billing_tariff,unused_credit_change,prorate_round_day,a2billing_retail_increment_offp,unused_credit_cancel,delay_cancel,usage_section,output_format,a2billing_retail_cost_min_offp,recur_fee,a2billing_type,prorate_defer_bill,cutoff_day,a2billing_carrier_increment_offp,a2billing_retail_initblock_offp,prorate_verbose">
 
       </DIV>
 
@@ -3289,7 +4430,7 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Setup fee for each new service</TD><TD><INPUT TYPE="text" NAME="bulk_simple__svc_setup_fee" VALUE="0"></TD></TR><TR><TD ALIGN="right">Recurring fee for each service</TD><TD><INPUT TYPE="text" NAME="bulk_simple__svc_recur_fee" VALUE="0"></TD></TR><TR><TD ALIGN="right">Show a count of services on the invoice, instead of a detailed list</TD><TD><INPUT TYPE="checkbox" NAME="bulk_simple__summarize_svcs" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="bulk_simple__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="bulk_simple__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="bulk_simple__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="bulk_simple__OPTIONS" VALUE="a2billing_carrier_increment_offp,unused_credit_cancel,svc_setup_fee,summarize_svcs,svc_recur_fee,setup_fee,a2billing_retail_initblock_offp,a2billing_simultaccess,a2billing_carrer_initblock_offp,a2billing_retail_increment_offp,a2billing_retail_cost_min_offp,delay_cancel,unused_credit_suspend,recur_fee,a2billing_carrier_cost_min,a2billing_type,a2billing_tariff,unused_credit_change">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Setup fee for each new service</TD><TD><INPUT TYPE="text" NAME="bulk_simple__svc_setup_fee" VALUE="0"></TD></TR><TR><TD ALIGN="right">Recurring fee for each service</TD><TD><INPUT TYPE="text" NAME="bulk_simple__svc_recur_fee" VALUE="0"></TD></TR><TR><TD ALIGN="right">Only charge fees for these services</TD><TD><SELECT MULTIPLE NAME="bulk_simple__only_svcs"><OPTION VALUE="1">Domain<OPTION VALUE="2">Test svc_acct<OPTION VALUE="3">Test svc_domain<OPTION VALUE="4">Test svc_broadband<OPTION VALUE="5">Test svc_phone</SELECT></TD></TR><TR><TD ALIGN="right">Show a count of services on the invoice, instead of a detailed list</TD><TD><INPUT TYPE="checkbox" NAME="bulk_simple__summarize_svcs" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="bulk_simple__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="bulk_simple__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="bulk_simple__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="bulk_simple__OPTIONS" VALUE="a2billing_type,a2billing_carrier_increment_offp,a2billing_retail_initblock_offp,summarize_svcs,a2billing_retail_increment_offp,delay_cancel,unused_credit_cancel,a2billing_retail_cost_min_offp,recur_fee,a2billing_simultaccess,svc_recur_fee,unused_credit_suspend,a2billing_carrier_cost_min,a2billing_tariff,unused_credit_change,only_svcs,a2billing_carrer_initblock_offp,svc_setup_fee,setup_fee">
 
       </DIV>
 
@@ -3298,7 +4439,7 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Don't prorate recurring fees on services active for a partial month</TD><TD><INPUT TYPE="checkbox" NAME="bulk__no_prorate" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Setup fee for each new service</TD><TD><INPUT TYPE="text" NAME="bulk__svc_setup_fee" VALUE="0"></TD></TR><TR><TD ALIGN="right">Recurring fee for each service</TD><TD><INPUT TYPE="text" NAME="bulk__svc_recur_fee" VALUE="0"></TD></TR><TR><TD ALIGN="right">Show a count of services on the invoice, instead of a detailed list</TD><TD><INPUT TYPE="checkbox" NAME="bulk__summarize_svcs" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="bulk__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="bulk__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="bulk__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="bulk__OPTIONS" VALUE="a2billing_tariff,unused_credit_change,delay_cancel,a2billing_retail_cost_min_offp,a2billing_type,a2billing_carrier_cost_min,no_prorate,recur_fee,unused_credit_suspend,a2billing_carrer_initblock_offp,a2billing_retail_initblock_offp,a2billing_simultaccess,a2billing_retail_increment_offp,summarize_svcs,svc_setup_fee,unused_credit_cancel,a2billing_carrier_increment_offp,setup_fee,svc_recur_fee">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Don't prorate recurring fees on services active for a partial month</TD><TD><INPUT TYPE="checkbox" NAME="bulk__no_prorate" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Setup fee for each new service</TD><TD><INPUT TYPE="text" NAME="bulk__svc_setup_fee" VALUE="0"></TD></TR><TR><TD ALIGN="right">Recurring fee for each service</TD><TD><INPUT TYPE="text" NAME="bulk__svc_recur_fee" VALUE="0"></TD></TR><TR><TD ALIGN="right">Only charge fees for these services</TD><TD><SELECT MULTIPLE NAME="bulk__only_svcs"><OPTION VALUE="1">Domain<OPTION VALUE="2">Test svc_acct<OPTION VALUE="3">Test svc_domain<OPTION VALUE="4">Test svc_broadband<OPTION VALUE="5">Test svc_phone</SELECT></TD></TR><TR><TD ALIGN="right">Show a count of services on the invoice, instead of a detailed list</TD><TD><INPUT TYPE="checkbox" NAME="bulk__summarize_svcs" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="bulk__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="bulk__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="bulk__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="bulk__OPTIONS" VALUE="delay_cancel,unused_credit_cancel,a2billing_retail_increment_offp,recur_fee,a2billing_retail_cost_min_offp,a2billing_type,a2billing_retail_initblock_offp,summarize_svcs,a2billing_carrier_increment_offp,a2billing_carrer_initblock_offp,only_svcs,svc_setup_fee,no_prorate,setup_fee,a2billing_carrier_cost_min,a2billing_tariff,a2billing_simultaccess,svc_recur_fee,unused_credit_suspend,unused_credit_change">
 
       </DIV>
 
@@ -3307,7 +4448,7 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Billing Day (1 - 28)</TD><TD><INPUT TYPE="text" NAME="agent__cutoff_day" VALUE="1"></TD></TR><TR><TD ALIGN="right">When prorating first month, also bill for one full period after that</TD><TD><INPUT TYPE="checkbox" NAME="agent__add_full_period" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Disable prorating bulk packages (charge full price for packages active only a portion of the month)</TD><TD><INPUT TYPE="checkbox" NAME="agent__no_pkg_prorate" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Separate customer from package display on invoices</TD><TD><INPUT TYPE="checkbox" NAME="agent__display_separate_cust" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill wholesale on cost only, disabling the price fallback</TD><TD><INPUT TYPE="checkbox" NAME="agent__cost_only" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Defer the first bill until the billing day</TD><TD><INPUT TYPE="checkbox" NAME="agent__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Round the prorated period to the nearest full day</TD><TD><INPUT TYPE="checkbox" NAME="agent__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">Show prorate details on the invoice</TD><TD><INPUT TYPE="checkbox" NAME="agent__prorate_verbose" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="agent__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="agent__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="agent__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="agent__OPTIONS" VALUE="display_separate_cust,unused_credit_change,a2billing_tariff,a2billing_carrier_cost_min,a2billing_type,unused_credit_suspend,cutoff_day,add_full_period,recur_fee,prorate_round_day,delay_cancel,cost_only,prorate_verbose,a2billing_retail_cost_min_offp,recur_temporality,no_pkg_prorate,a2billing_retail_increment_offp,a2billing_carrer_initblock_offp,prorate_defer_bill,a2billing_retail_initblock_offp,a2billing_simultaccess,setup_fee,unused_credit_cancel,a2billing_carrier_increment_offp,sync_bill_date">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Billing Day (1 - 28)</TD><TD><INPUT TYPE="text" NAME="agent__cutoff_day" VALUE="1"></TD></TR><TR><TD ALIGN="right">When prorating first month, also bill for one full period after that</TD><TD><INPUT TYPE="checkbox" NAME="agent__add_full_period" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Disable prorating bulk packages (charge full price for packages active only a portion of the month)</TD><TD><INPUT TYPE="checkbox" NAME="agent__no_pkg_prorate" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Separate customer from package display on invoices</TD><TD><INPUT TYPE="checkbox" NAME="agent__display_separate_cust" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill wholesale on cost only, disabling the price fallback</TD><TD><INPUT TYPE="checkbox" NAME="agent__cost_only" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Defer the first bill until the billing day</TD><TD><INPUT TYPE="checkbox" NAME="agent__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Round the prorated period to the nearest full day</TD><TD><INPUT TYPE="checkbox" NAME="agent__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">Show prorate details on the invoice</TD><TD><INPUT TYPE="checkbox" NAME="agent__prorate_verbose" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="agent__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="agent__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="agent__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="agent__OPTIONS" VALUE="cutoff_day,a2billing_carrier_increment_offp,prorate_verbose,display_separate_cust,a2billing_retail_initblock_offp,sync_bill_date,a2billing_type,prorate_defer_bill,cost_only,a2billing_retail_cost_min_offp,recur_fee,a2billing_retail_increment_offp,prorate_round_day,delay_cancel,unused_credit_cancel,unused_credit_change,unused_credit_suspend,no_pkg_prorate,a2billing_simultaccess,a2billing_tariff,add_full_period,a2billing_carrier_cost_min,setup_fee,recur_temporality,a2billing_carrer_initblock_offp">
 
       </DIV>
 
@@ -3316,7 +4457,7 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Charge recurring fee for period</TD><TD><SELECT NAME="agent_cdr__recur_temporality"><OPTION VALUE="upcoming">Upcoming (future)<OPTION VALUE="preceding">Preceding (past)</SELECT></TD></TR><TR><TD ALIGN="right">Recurring fee method</TD><TD><SELECT NAME="agent_cdr__recur_method"><OPTION VALUE="anniversary">Charge the recurring fee at the frequency specified above<OPTION VALUE="prorate">Charge a prorated fee the first time (selectable billing date)<OPTION VALUE="subscription">Charge the full fee for the first partial period (selectable billing date)</SELECT></TD></TR><TR><TD ALIGN="right">Billing Day (1 - 28) for prorating or subscription</TD><TD><INPUT TYPE="text" NAME="agent_cdr__cutoff_day" VALUE="1"></TD></TR><TR><TD ALIGN="right">When prorating, defer the first bill until the billing day</TD><TD><INPUT TYPE="checkbox" NAME="agent_cdr__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When prorating, round to the nearest full day</TD><TD><INPUT TYPE="checkbox" NAME="agent_cdr__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">When prorating first month, also bill for one full period after that</TD><TD><INPUT TYPE="checkbox" NAME="agent_cdr__add_full_period" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Show prorate details on the invoice</TD><TD><INPUT TYPE="checkbox" NAME="agent_cdr__prorate_verbose" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">CDR invoice display format</TD><TD><SELECT NAME="agent_cdr__output_format"><OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="accountcode_simple">Simple with accountcode<OPTION VALUE="simple">Simple<OPTION VALUE="default">Default<OPTION VALUE="description_default">Default with description field as destination<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix<OPTION VALUE="sum_count_class">Summary, one line per usage class<OPTION VALUE="source_default">Default with source<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="simple2">Simple with source<OPTION VALUE="basic_upstream_dst_regionname">Basic with upstream destination name<OPTION VALUE="basic">Basic<OPTION VALUE="accountcode_default">Default plus accountcode</SELECT></TD></TR><TR><TD ALIGN="right">Section in which to place separate usage charges</TD><TD><INPUT TYPE="text" NAME="agent_cdr__usage_section" VALUE=""></TD></TR><TR><TD ALIGN="right">Include usage summary with recurring charges when usage is in separate section</TD><TD><INPUT TYPE="checkbox" NAME="agent_cdr__summarize_usage" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Always put usage details in separate section</TD><TD><INPUT TYPE="checkbox" NAME="agent_cdr__usage_mandate" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="agent_cdr__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="agent_cdr__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="agent_cdr__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="agent_cdr__OPTIONS" VALUE="a2billing_carrer_initblock_offp,prorate_defer_bill,a2billing_retail_initblock_offp,a2billing_simultaccess,recur_method,recur_temporality,usage_mandate,summarize_usage,a2billing_retail_increment_offp,unused_credit_cancel,a2billing_carrier_increment_offp,setup_fee,a2billing_tariff,output_format,unused_credit_change,delay_cancel,prorate_round_day,a2billing_retail_cost_min_offp,prorate_verbose,a2billing_carrier_cost_min,a2billing_type,unused_credit_suspend,add_full_period,cutoff_day,recur_fee,usage_section">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Charge recurring fee for period</TD><TD><SELECT NAME="agent_cdr__recur_temporality"><OPTION VALUE="upcoming">Upcoming (future)<OPTION VALUE="preceding">Preceding (past)</SELECT></TD></TR><TR><TD ALIGN="right">Recurring fee method</TD><TD><SELECT NAME="agent_cdr__recur_method"><OPTION VALUE="anniversary">Charge the recurring fee at the frequency specified above<OPTION VALUE="prorate">Charge a prorated fee the first time (selectable billing date)<OPTION VALUE="subscription">Charge the full fee for the first partial period (selectable billing date)</SELECT></TD></TR><TR><TD ALIGN="right">Billing Day (1 - 28) for prorating or subscription</TD><TD><INPUT TYPE="text" NAME="agent_cdr__cutoff_day" VALUE="1"></TD></TR><TR><TD ALIGN="right">When prorating, defer the first bill until the billing day</TD><TD><INPUT TYPE="checkbox" NAME="agent_cdr__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When prorating, round to the nearest full day</TD><TD><INPUT TYPE="checkbox" NAME="agent_cdr__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">When prorating first month, also bill for one full period after that</TD><TD><INPUT TYPE="checkbox" NAME="agent_cdr__add_full_period" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Show prorate details on the invoice</TD><TD><INPUT TYPE="checkbox" NAME="agent_cdr__prorate_verbose" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">CDR invoice display format</TD><TD><SELECT NAME="agent_cdr__output_format"><OPTION VALUE="simple">Simple<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix<OPTION VALUE="sum_count_class">Summary, one line per usage class<OPTION VALUE="basic">Basic<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="default">Default<OPTION VALUE="accountcode_simple">Simple with accountcode<OPTION VALUE="accountcode_default">Default plus accountcode<OPTION VALUE="basic_upstream_dst_regionname">Basic with upstream destination name<OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="description_default">Default with description field as destination<OPTION VALUE="source_default">Default with source<OPTION VALUE="simple2">Simple with source</SELECT></TD></TR><TR><TD ALIGN="right">Section in which to place separate usage charges</TD><TD><INPUT TYPE="text" NAME="agent_cdr__usage_section" VALUE=""></TD></TR><TR><TD ALIGN="right">Include usage summary with recurring charges when usage is in separate section</TD><TD><INPUT TYPE="checkbox" NAME="agent_cdr__summarize_usage" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Always put usage details in separate section</TD><TD><INPUT TYPE="checkbox" NAME="agent_cdr__usage_mandate" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="agent_cdr__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="agent_cdr__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="agent_cdr__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="agent_cdr__OPTIONS" VALUE="recur_fee,usage_section,output_format,a2billing_retail_cost_min_offp,delay_cancel,unused_credit_cancel,a2billing_retail_increment_offp,prorate_round_day,prorate_verbose,a2billing_retail_initblock_offp,cutoff_day,a2billing_carrier_increment_offp,a2billing_type,prorate_defer_bill,recur_temporality,setup_fee,summarize_usage,a2billing_carrer_initblock_offp,usage_mandate,unused_credit_change,recur_method,a2billing_tariff,add_full_period,a2billing_carrier_cost_min,unused_credit_suspend,a2billing_simultaccess">
 
       </DIV>
 
@@ -3325,70 +4466,43 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Included megabytes/sec (95th percentile)</TD><TD><INPUT TYPE="text" NAME="torrus_bw_percentile__base_mbps" VALUE="0"></TD></TR><TR><TD ALIGN="right">Charge per megabyte/sec (95th percentile)</TD><TD><INPUT TYPE="text" NAME="torrus_bw_percentile__mbps_rate" VALUE="0"></TD></TR><TR><TD ALIGN="right">Auto-add an expiration date this number of months out</TD><TD><INPUT TYPE="text" NAME="torrus_bw_percentile__expire_months" VALUE=""></TD></TR><TR><TD ALIGN="right">Auto-add a suspension date this number of months out</TD><TD><INPUT TYPE="text" NAME="torrus_bw_percentile__adjourn_months" VALUE=""></TD></TR><TR><TD ALIGN="right">Auto-add a contract end date this number of years out</TD><TD><SELECT NAME="torrus_bw_percentile__contract_end_months"><OPTION VALUE="" SELECTED>(none)<OPTION VALUE="12">1<OPTION VALUE="24">2<OPTION VALUE="36">3<OPTION VALUE="48">4<OPTION VALUE="60">5</SELECT></TD></TR><TR><TD ALIGN="right">Auto-add a start date to the 1st, ignoring the current month.</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_percentile__start_1st" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When synchronizing, defer the bill until the customer's next bill date</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_percentile__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When synchronizing, round the prorated period to the nearest full day</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_percentile__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">Continue recurring billing while suspended</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_percentile__suspend_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Adjust next bill date forward when unsuspending</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_percentile__unsuspend_adjust_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill the last period on cancellation</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_percentile__bill_recur_on_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill immediately upon suspension</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_percentile__bill_suspend_as_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Optional External ID</TD><TD><INPUT TYPE="text" NAME="torrus_bw_percentile__externalid" VALUE=""></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_percentile__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_percentile__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_percentile__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="torrus_bw_percentile__OPTIONS" VALUE="delay_cancel,a2billing_type,add_full_period,unused_credit_suspend,adjourn_months,a2billing_carrer_initblock_offp,a2billing_simultaccess,prorate_defer_bill,recur_temporality,contract_end_months,a2billing_retail_increment_offp,unused_credit_cancel,a2billing_carrier_increment_offp,sync_bill_date,bill_recur_on_cancel,expire_months,a2billing_tariff,externalid,unused_credit_change,mbps_rate,start_1st,suspend_bill,prorate_round_day,a2billing_retail_cost_min_offp,a2billing_carrier_cost_min,recur_fee,cutoff_day,unsuspend_adjust_bill,a2billing_retail_initblock_offp,bill_suspend_as_cancel,base_mbps,setup_fee">
-
-      </DIV>
-
-
-      <DIV ID="plandtorrus_bw_usage"
-           STYLE="display: none; z-index: 0"
-      >
-
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Included gigabytes</TD><TD><INPUT TYPE="text" NAME="torrus_bw_usage__base_gb" VALUE="0"></TD></TR><TR><TD ALIGN="right">Charge per gigabyte</TD><TD><INPUT TYPE="text" NAME="torrus_bw_usage__gb_rate" VALUE="0"></TD></TR><TR><TD ALIGN="right">Auto-add an expiration date this number of months out</TD><TD><INPUT TYPE="text" NAME="torrus_bw_usage__expire_months" VALUE=""></TD></TR><TR><TD ALIGN="right">Auto-add a suspension date this number of months out</TD><TD><INPUT TYPE="text" NAME="torrus_bw_usage__adjourn_months" VALUE=""></TD></TR><TR><TD ALIGN="right">Auto-add a contract end date this number of years out</TD><TD><SELECT NAME="torrus_bw_usage__contract_end_months"><OPTION VALUE="" SELECTED>(none)<OPTION VALUE="12">1<OPTION VALUE="24">2<OPTION VALUE="36">3<OPTION VALUE="48">4<OPTION VALUE="60">5</SELECT></TD></TR><TR><TD ALIGN="right">Auto-add a start date to the 1st, ignoring the current month.</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_usage__start_1st" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When synchronizing, defer the bill until the customer's next bill date</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_usage__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When synchronizing, round the prorated period to the nearest full day</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_usage__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">Continue recurring billing while suspended</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_usage__suspend_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Adjust next bill date forward when unsuspending</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_usage__unsuspend_adjust_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill the last period on cancellation</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_usage__bill_recur_on_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill immediately upon suspension</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_usage__bill_suspend_as_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Optional External ID</TD><TD><INPUT TYPE="text" NAME="torrus_bw_usage__externalid" VALUE=""></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_usage__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_usage__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_usage__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="torrus_bw_usage__OPTIONS" VALUE="setup_fee,a2billing_retail_initblock_offp,bill_suspend_as_cancel,prorate_round_day,a2billing_retail_cost_min_offp,a2billing_carrier_cost_min,recur_fee,cutoff_day,unsuspend_adjust_bill,base_gb,a2billing_tariff,externalid,unused_credit_change,start_1st,suspend_bill,unused_credit_cancel,sync_bill_date,bill_recur_on_cancel,a2billing_carrier_increment_offp,expire_months,adjourn_months,a2billing_carrer_initblock_offp,a2billing_simultaccess,prorate_defer_bill,recur_temporality,contract_end_months,a2billing_retail_increment_offp,delay_cancel,a2billing_type,gb_rate,add_full_period,unused_credit_suspend">
-
-      </DIV>
-
-
-      <DIV ID="plandrt_time"
-           STYLE="display: none; z-index: 0"
-      >
-
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Rate (per minute)</TD><TD><INPUT TYPE="text" NAME="rt_time__base_rate" VALUE="0"></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="rt_time__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="rt_time__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="rt_time__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="rt_time__OPTIONS" VALUE="setup_fee,unused_credit_cancel,a2billing_carrier_increment_offp,base_rate,a2billing_retail_increment_offp,a2billing_carrer_initblock_offp,a2billing_simultaccess,a2billing_retail_initblock_offp,a2billing_carrier_cost_min,a2billing_type,recur_fee,unused_credit_suspend,delay_cancel,a2billing_retail_cost_min_offp,unused_credit_change,a2billing_tariff">
-
-      </DIV>
-
-
-      <DIV ID="plandsql_generic"
-           STYLE="display: none; z-index: 0"
-      >
-
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Units included</TD><TD><INPUT TYPE="text" NAME="sql_generic__recur_included" VALUE="0"></TD></TR><TR><TD ALIGN="right">Additional charge per unit</TD><TD><INPUT TYPE="text" NAME="sql_generic__recur_unit_charge" VALUE="0"></TD></TR><TR><TD ALIGN="right">DBI data source</TD><TD><INPUT TYPE="text" NAME="sql_generic__datasrc" VALUE=""></TD></TR><TR><TD ALIGN="right">Database username</TD><TD><INPUT TYPE="text" NAME="sql_generic__db_username" VALUE=""></TD></TR><TR><TD ALIGN="right">Database username</TD><TD><INPUT TYPE="text" NAME="sql_generic__db_password" VALUE=""></TD></TR><TR><TD ALIGN="right">SQL query</TD><TD><INPUT TYPE="text" NAME="sql_generic__query" VALUE=""></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="sql_generic__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="sql_generic__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="sql_generic__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="sql_generic__OPTIONS" VALUE="unused_credit_cancel,a2billing_carrier_increment_offp,recur_unit_charge,setup_fee,a2billing_carrer_initblock_offp,a2billing_simultaccess,a2billing_retail_initblock_offp,db_password,query,a2billing_retail_increment_offp,delay_cancel,db_username,a2billing_retail_cost_min_offp,a2billing_carrier_cost_min,a2billing_type,unused_credit_suspend,recur_fee,a2billing_tariff,unused_credit_change,datasrc,recur_included">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Included megabytes/sec (95th percentile)</TD><TD><INPUT TYPE="text" NAME="torrus_bw_percentile__base_mbps" VALUE="0"></TD></TR><TR><TD ALIGN="right">Charge per megabyte/sec (95th percentile)</TD><TD><INPUT TYPE="text" NAME="torrus_bw_percentile__mbps_rate" VALUE="0"></TD></TR><TR><TD ALIGN="right">Auto-add a start date to the 1st, ignoring the current month.</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_percentile__start_1st" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When synchronizing, defer the bill until the customer's next bill date</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_percentile__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When synchronizing, round the prorated period to the nearest full day</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_percentile__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">Continue recurring billing while suspended</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_percentile__suspend_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Adjust next bill date forward when unsuspending</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_percentile__unsuspend_adjust_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill the last period on cancellation</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_percentile__bill_recur_on_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill immediately upon suspension</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_percentile__bill_suspend_as_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Optional External ID</TD><TD><INPUT TYPE="text" NAME="torrus_bw_percentile__externalid" VALUE=""></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_percentile__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_percentile__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_percentile__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="torrus_bw_percentile__OPTIONS" VALUE="recur_temporality,setup_fee,a2billing_carrer_initblock_offp,unused_credit_change,base_mbps,add_full_period,a2billing_tariff,bill_suspend_as_cancel,a2billing_carrier_cost_min,unused_credit_suspend,a2billing_simultaccess,recur_fee,externalid,a2billing_retail_cost_min_offp,unused_credit_cancel,delay_cancel,a2billing_retail_increment_offp,prorate_round_day,suspend_bill,a2billing_retail_initblock_offp,a2billing_carrier_increment_offp,cutoff_day,prorate_defer_bill,a2billing_type,unsuspend_adjust_bill,bill_recur_on_cancel,start_1st,mbps_rate,sync_bill_date">
 
       </DIV>
 
 
-      <DIV ID="plandsql_external"
+      <DIV ID="plandtorrus_bw_usage"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Recurring fee method</TD><TD><SELECT NAME="sql_external__recur_method"><OPTION VALUE="anniversary">Charge the recurring fee at the frequency specified above<OPTION VALUE="prorate">Charge a prorated fee the first time (selectable billing date)<OPTION VALUE="subscription">Charge the full fee for the first partial period (selectable billing date)</SELECT></TD></TR><TR><TD ALIGN="right">Billing Day (1 - 28) for prorating or subscription</TD><TD><INPUT TYPE="text" NAME="sql_external__cutoff_day" VALUE="1"></TD></TR><TR><TD ALIGN="right">When prorating, defer the first bill until the billing day</TD><TD><INPUT TYPE="checkbox" NAME="sql_external__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When prorating, round to the nearest full day</TD><TD><INPUT TYPE="checkbox" NAME="sql_external__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">When prorating first month, also bill for one full period after that</TD><TD><INPUT TYPE="checkbox" NAME="sql_external__add_full_period" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Show prorate details on the invoice</TD><TD><INPUT TYPE="checkbox" NAME="sql_external__prorate_verbose" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">DBI data source</TD><TD><INPUT TYPE="text" NAME="sql_external__datasrc" VALUE=""></TD></TR><TR><TD ALIGN="right">Database username</TD><TD><INPUT TYPE="text" NAME="sql_external__db_username" VALUE=""></TD></TR><TR><TD ALIGN="right">Database password</TD><TD><INPUT TYPE="text" NAME="sql_external__db_password" VALUE=""></TD></TR><TR><TD ALIGN="right">SQL query</TD><TD><INPUT TYPE="text" NAME="sql_external__query" VALUE=""></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="sql_external__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="sql_external__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="sql_external__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="sql_external__OPTIONS" VALUE="unused_credit_suspend,add_full_period,cutoff_day,recur_fee,a2billing_type,a2billing_carrier_cost_min,a2billing_retail_cost_min_offp,prorate_verbose,delay_cancel,prorate_round_day,db_username,datasrc,unused_credit_change,a2billing_tariff,setup_fee,a2billing_carrier_increment_offp,unused_credit_cancel,db_password,a2billing_retail_increment_offp,query,recur_method,prorate_defer_bill,a2billing_simultaccess,a2billing_retail_initblock_offp,a2billing_carrer_initblock_offp">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Included gigabytes</TD><TD><INPUT TYPE="text" NAME="torrus_bw_usage__base_gb" VALUE="0"></TD></TR><TR><TD ALIGN="right">Charge per gigabyte</TD><TD><INPUT TYPE="text" NAME="torrus_bw_usage__gb_rate" VALUE="0"></TD></TR><TR><TD ALIGN="right">Auto-add a start date to the 1st, ignoring the current month.</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_usage__start_1st" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When synchronizing, defer the bill until the customer's next bill date</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_usage__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When synchronizing, round the prorated period to the nearest full day</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_usage__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">Continue recurring billing while suspended</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_usage__suspend_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Adjust next bill date forward when unsuspending</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_usage__unsuspend_adjust_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill the last period on cancellation</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_usage__bill_recur_on_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill immediately upon suspension</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_usage__bill_suspend_as_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Optional External ID</TD><TD><INPUT TYPE="text" NAME="torrus_bw_usage__externalid" VALUE=""></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_usage__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_usage__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_usage__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="torrus_bw_usage__OPTIONS" VALUE="delay_cancel,unused_credit_cancel,prorate_round_day,suspend_bill,a2billing_retail_increment_offp,recur_fee,a2billing_retail_cost_min_offp,externalid,a2billing_type,prorate_defer_bill,start_1st,sync_bill_date,unsuspend_adjust_bill,bill_recur_on_cancel,a2billing_retail_initblock_offp,cutoff_day,a2billing_carrier_increment_offp,a2billing_carrer_initblock_offp,recur_temporality,gb_rate,setup_fee,a2billing_carrier_cost_min,add_full_period,bill_suspend_as_cancel,base_gb,a2billing_tariff,a2billing_simultaccess,unused_credit_suspend,unused_credit_change">
 
       </DIV>
 
 
-      <DIV ID="plandflat_comission_cust"
+      <DIV ID="plandsql_generic"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Number of layers</TD><TD><INPUT TYPE="text" NAME="flat_comission_cust__comission_depth" VALUE="1"></TD></TR><TR><TD ALIGN="right">Commission amount per month (per active package)</TD><TD><INPUT TYPE="text" NAME="flat_comission_cust__comission_amount" VALUE="0"></TD></TR><TR><TD ALIGN="right">Reason type for commission credits</TD><TD><SELECT NAME="flat_comission_cust__reason_type"><OPTION VALUE="4">Credit Reason<OPTION VALUE="5">Legacy</SELECT></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="flat_comission_cust__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="flat_comission_cust__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="flat_comission_cust__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="flat_comission_cust__OPTIONS" VALUE="a2billing_type,a2billing_carrier_cost_min,unused_credit_suspend,recur_fee,delay_cancel,a2billing_retail_cost_min_offp,reason_type,comission_depth,unused_credit_change,a2billing_tariff,comission_amount,setup_fee,unused_credit_cancel,a2billing_carrier_increment_offp,a2billing_retail_increment_offp,a2billing_carrer_initblock_offp,a2billing_retail_initblock_offp,a2billing_simultaccess">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Units included</TD><TD><INPUT TYPE="text" NAME="sql_generic__recur_included" VALUE="0"></TD></TR><TR><TD ALIGN="right">Additional charge per unit</TD><TD><INPUT TYPE="text" NAME="sql_generic__recur_unit_charge" VALUE="0"></TD></TR><TR><TD ALIGN="right">DBI data source</TD><TD><INPUT TYPE="text" NAME="sql_generic__datasrc" VALUE=""></TD></TR><TR><TD ALIGN="right">Database username</TD><TD><INPUT TYPE="text" NAME="sql_generic__db_username" VALUE=""></TD></TR><TR><TD ALIGN="right">Database username</TD><TD><INPUT TYPE="text" NAME="sql_generic__db_password" VALUE=""></TD></TR><TR><TD ALIGN="right">SQL query</TD><TD><INPUT TYPE="text" NAME="sql_generic__query" VALUE=""></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="sql_generic__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="sql_generic__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="sql_generic__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="sql_generic__OPTIONS" VALUE="a2billing_carrer_initblock_offp,db_username,datasrc,setup_fee,db_password,a2billing_simultaccess,unused_credit_suspend,recur_included,a2billing_carrier_cost_min,a2billing_tariff,recur_unit_charge,unused_credit_change,a2billing_retail_increment_offp,unused_credit_cancel,delay_cancel,a2billing_retail_cost_min_offp,recur_fee,query,a2billing_type,a2billing_carrier_increment_offp,a2billing_retail_initblock_offp">
 
       </DIV>
 
 
-      <DIV ID="plandflat_comission"
+      <DIV ID="plandsql_external"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Number of layers</TD><TD><INPUT TYPE="text" NAME="flat_comission__comission_depth" VALUE="1"></TD></TR><TR><TD ALIGN="right">Commission amount per month (per active package)</TD><TD><INPUT TYPE="text" NAME="flat_comission__comission_amount" VALUE="0"></TD></TR><TR><TD ALIGN="right">Reason type for commission credits</TD><TD><SELECT NAME="flat_comission__reason_type"><OPTION VALUE="4">Credit Reason<OPTION VALUE="5">Legacy</SELECT></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="flat_comission__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="flat_comission__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="flat_comission__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="flat_comission__OPTIONS" VALUE="a2billing_retail_increment_offp,a2billing_simultaccess,a2billing_retail_initblock_offp,a2billing_carrer_initblock_offp,setup_fee,a2billing_carrier_increment_offp,unused_credit_cancel,comission_depth,unused_credit_change,comission_amount,a2billing_tariff,recur_fee,unused_credit_suspend,a2billing_type,a2billing_carrier_cost_min,reason_type,a2billing_retail_cost_min_offp,delay_cancel">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Recurring fee method</TD><TD><SELECT NAME="sql_external__recur_method"><OPTION VALUE="anniversary">Charge the recurring fee at the frequency specified above<OPTION VALUE="prorate">Charge a prorated fee the first time (selectable billing date)<OPTION VALUE="subscription">Charge the full fee for the first partial period (selectable billing date)</SELECT></TD></TR><TR><TD ALIGN="right">Billing Day (1 - 28) for prorating or subscription</TD><TD><INPUT TYPE="text" NAME="sql_external__cutoff_day" VALUE="1"></TD></TR><TR><TD ALIGN="right">When prorating, defer the first bill until the billing day</TD><TD><INPUT TYPE="checkbox" NAME="sql_external__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When prorating, round to the nearest full day</TD><TD><INPUT TYPE="checkbox" NAME="sql_external__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">When prorating first month, also bill for one full period after that</TD><TD><INPUT TYPE="checkbox" NAME="sql_external__add_full_period" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Show prorate details on the invoice</TD><TD><INPUT TYPE="checkbox" NAME="sql_external__prorate_verbose" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">DBI data source</TD><TD><INPUT TYPE="text" NAME="sql_external__datasrc" VALUE=""></TD></TR><TR><TD ALIGN="right">Database username</TD><TD><INPUT TYPE="text" NAME="sql_external__db_username" VALUE=""></TD></TR><TR><TD ALIGN="right">Database password</TD><TD><INPUT TYPE="text" NAME="sql_external__db_password" VALUE=""></TD></TR><TR><TD ALIGN="right">SQL query</TD><TD><INPUT TYPE="text" NAME="sql_external__query" VALUE=""></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="sql_external__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="sql_external__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="sql_external__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="sql_external__OPTIONS" VALUE="a2billing_retail_initblock_offp,prorate_verbose,cutoff_day,a2billing_carrier_increment_offp,prorate_defer_bill,a2billing_type,query,recur_fee,a2billing_retail_cost_min_offp,unused_credit_cancel,delay_cancel,prorate_round_day,a2billing_retail_increment_offp,unused_credit_change,a2billing_carrier_cost_min,a2billing_tariff,recur_method,add_full_period,a2billing_simultaccess,unused_credit_suspend,db_password,datasrc,setup_fee,a2billing_carrer_initblock_offp,db_username">
 
       </DIV>
 
 
-      <DIV ID="plandflat_comission_pkg"
+      <DIV ID="plandcurrency_fixed"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Number of layers</TD><TD><INPUT TYPE="text" NAME="flat_comission_pkg__comission_depth" VALUE="1"></TD></TR><TR><TD ALIGN="right">Commission amount per month (per active package)</TD><TD><INPUT TYPE="text" NAME="flat_comission_pkg__comission_amount" VALUE="0"></TD></TR><TR><TD ALIGN="right">Applicable packages<BR><FONT SIZE="-1">(hold <b>ctrl</b> to select multiple packages)</FONT></TD><TD><SELECT MULTIPLE NAME="flat_comission_pkg__comission_pkgpart"><OPTION VALUE="1">System Domain<OPTION VALUE="2">Monthly prorated account<OPTION VALUE="3">Monthly prorated broadband<OPTION VALUE="4">Annual subscription domain<OPTION VALUE="5">Monthly anniversary phone x4</SELECT></TD></TR><TR><TD ALIGN="right">Reason type for commission credits</TD><TD><SELECT NAME="flat_comission_pkg__reason_type"><OPTION VALUE="4">Credit Reason<OPTION VALUE="5">Legacy</SELECT></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="flat_comission_pkg__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="flat_comission_pkg__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="flat_comission_pkg__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="flat_comission_pkg__OPTIONS" VALUE="delay_cancel,a2billing_retail_cost_min_offp,reason_type,a2billing_carrier_cost_min,a2billing_type,unused_credit_suspend,recur_fee,a2billing_tariff,comission_amount,unused_credit_change,comission_depth,unused_credit_cancel,a2billing_carrier_increment_offp,comission_pkgpart,setup_fee,a2billing_carrer_initblock_offp,a2billing_simultaccess,a2billing_retail_initblock_offp,a2billing_retail_increment_offp">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Recurring fee method</TD><TD><SELECT NAME="currency_fixed__recur_method"><OPTION VALUE="anniversary">Charge the recurring fee at the frequency specified above<OPTION VALUE="prorate">Charge a prorated fee the first time (selectable billing date)<OPTION VALUE="subscription">Charge the full fee for the first partial period (selectable billing date)</SELECT></TD></TR><TR><TD ALIGN="right">Billing Day (1 - 28) for prorating or subscription</TD><TD><INPUT TYPE="text" NAME="currency_fixed__cutoff_day" VALUE="1"></TD></TR><TR><TD ALIGN="right">When prorating, defer the first bill until the billing day</TD><TD><INPUT TYPE="checkbox" NAME="currency_fixed__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When prorating, round to the nearest full day</TD><TD><INPUT TYPE="checkbox" NAME="currency_fixed__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">When prorating first month, also bill for one full period after that</TD><TD><INPUT TYPE="checkbox" NAME="currency_fixed__add_full_period" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Show prorate details on the invoice</TD><TD><INPUT TYPE="checkbox" NAME="currency_fixed__prorate_verbose" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="currency_fixed__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="currency_fixed__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="currency_fixed__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="currency_fixed__OPTIONS" VALUE="a2billing_carrer_initblock_offp,setup_fee,a2billing_tariff,recur_method,add_full_period,a2billing_carrier_cost_min,unused_credit_suspend,a2billing_simultaccess,unused_credit_change,unused_credit_cancel,delay_cancel,a2billing_retail_increment_offp,prorate_round_day,recur_fee,a2billing_retail_cost_min_offp,prorate_defer_bill,a2billing_type,prorate_verbose,a2billing_retail_initblock_offp,a2billing_carrier_increment_offp,cutoff_day">
 
       </DIV>
 
@@ -3407,10 +4521,10 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandflat_delayed').style.zIndex = 0;
               document.getElementById('plandflat_introrate').style.display = "none";
               document.getElementById('plandflat_introrate').style.zIndex = 0;
-              document.getElementById('plandprorate').style.display = "none";
-              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_calendar').style.display = "none";
               document.getElementById('plandprorate_calendar').style.zIndex = 0;
+              document.getElementById('plandprorate').style.display = "none";
+              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_delayed').style.display = "none";
               document.getElementById('plandprorate_delayed').style.zIndex = 0;
               document.getElementById('plandprepaid').style.display = "none";
@@ -3443,18 +4557,12 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandtorrus_bw_percentile').style.zIndex = 0;
               document.getElementById('plandtorrus_bw_usage').style.display = "none";
               document.getElementById('plandtorrus_bw_usage').style.zIndex = 0;
-              document.getElementById('plandrt_time').style.display = "none";
-              document.getElementById('plandrt_time').style.zIndex = 0;
               document.getElementById('plandsql_generic').style.display = "none";
               document.getElementById('plandsql_generic').style.zIndex = 0;
               document.getElementById('plandsql_external').style.display = "none";
               document.getElementById('plandsql_external').style.zIndex = 0;
-              document.getElementById('plandflat_comission_cust').style.display = "none";
-              document.getElementById('plandflat_comission_cust').style.zIndex = 0;
-              document.getElementById('plandflat_comission').style.display = "none";
-              document.getElementById('plandflat_comission').style.zIndex = 0;
-              document.getElementById('plandflat_comission_pkg').style.display = "none";
-              document.getElementById('plandflat_comission_pkg').style.zIndex = 0;
+              document.getElementById('plandcurrency_fixed').style.display = "none";
+              document.getElementById('plandcurrency_fixed').style.zIndex = 0;
 
             document.getElementById('plandflat').style.display = "";
             document.getElementById('plandflat').style.zIndex = 1;
@@ -3466,10 +4574,10 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandflat').style.zIndex = 0;
               document.getElementById('plandflat_introrate').style.display = "none";
               document.getElementById('plandflat_introrate').style.zIndex = 0;
-              document.getElementById('plandprorate').style.display = "none";
-              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_calendar').style.display = "none";
               document.getElementById('plandprorate_calendar').style.zIndex = 0;
+              document.getElementById('plandprorate').style.display = "none";
+              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_delayed').style.display = "none";
               document.getElementById('plandprorate_delayed').style.zIndex = 0;
               document.getElementById('plandprepaid').style.display = "none";
@@ -3502,18 +4610,12 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandtorrus_bw_percentile').style.zIndex = 0;
               document.getElementById('plandtorrus_bw_usage').style.display = "none";
               document.getElementById('plandtorrus_bw_usage').style.zIndex = 0;
-              document.getElementById('plandrt_time').style.display = "none";
-              document.getElementById('plandrt_time').style.zIndex = 0;
               document.getElementById('plandsql_generic').style.display = "none";
               document.getElementById('plandsql_generic').style.zIndex = 0;
               document.getElementById('plandsql_external').style.display = "none";
               document.getElementById('plandsql_external').style.zIndex = 0;
-              document.getElementById('plandflat_comission_cust').style.display = "none";
-              document.getElementById('plandflat_comission_cust').style.zIndex = 0;
-              document.getElementById('plandflat_comission').style.display = "none";
-              document.getElementById('plandflat_comission').style.zIndex = 0;
-              document.getElementById('plandflat_comission_pkg').style.display = "none";
-              document.getElementById('plandflat_comission_pkg').style.zIndex = 0;
+              document.getElementById('plandcurrency_fixed').style.display = "none";
+              document.getElementById('plandcurrency_fixed').style.zIndex = 0;
 
             document.getElementById('plandflat_delayed').style.display = "";
             document.getElementById('plandflat_delayed').style.zIndex = 1;
@@ -3525,10 +4627,10 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandflat').style.zIndex = 0;
               document.getElementById('plandflat_delayed').style.display = "none";
               document.getElementById('plandflat_delayed').style.zIndex = 0;
-              document.getElementById('plandprorate').style.display = "none";
-              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_calendar').style.display = "none";
               document.getElementById('plandprorate_calendar').style.zIndex = 0;
+              document.getElementById('plandprorate').style.display = "none";
+              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_delayed').style.display = "none";
               document.getElementById('plandprorate_delayed').style.zIndex = 0;
               document.getElementById('plandprepaid').style.display = "none";
@@ -3561,24 +4663,18 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandtorrus_bw_percentile').style.zIndex = 0;
               document.getElementById('plandtorrus_bw_usage').style.display = "none";
               document.getElementById('plandtorrus_bw_usage').style.zIndex = 0;
-              document.getElementById('plandrt_time').style.display = "none";
-              document.getElementById('plandrt_time').style.zIndex = 0;
               document.getElementById('plandsql_generic').style.display = "none";
               document.getElementById('plandsql_generic').style.zIndex = 0;
               document.getElementById('plandsql_external').style.display = "none";
               document.getElementById('plandsql_external').style.zIndex = 0;
-              document.getElementById('plandflat_comission_cust').style.display = "none";
-              document.getElementById('plandflat_comission_cust').style.zIndex = 0;
-              document.getElementById('plandflat_comission').style.display = "none";
-              document.getElementById('plandflat_comission').style.zIndex = 0;
-              document.getElementById('plandflat_comission_pkg').style.display = "none";
-              document.getElementById('plandflat_comission_pkg').style.zIndex = 0;
+              document.getElementById('plandcurrency_fixed').style.display = "none";
+              document.getElementById('plandcurrency_fixed').style.zIndex = 0;
 
             document.getElementById('plandflat_introrate').style.display = "";
             document.getElementById('plandflat_introrate').style.zIndex = 1;
 
           }
-          if (planlayer == "prorate" ) {
+          if (planlayer == "prorate_calendar" ) {
 
               document.getElementById('plandflat').style.display = "none";
               document.getElementById('plandflat').style.zIndex = 0;
@@ -3586,8 +4682,8 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandflat_delayed').style.zIndex = 0;
               document.getElementById('plandflat_introrate').style.display = "none";
               document.getElementById('plandflat_introrate').style.zIndex = 0;
-              document.getElementById('plandprorate_calendar').style.display = "none";
-              document.getElementById('plandprorate_calendar').style.zIndex = 0;
+              document.getElementById('plandprorate').style.display = "none";
+              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_delayed').style.display = "none";
               document.getElementById('plandprorate_delayed').style.zIndex = 0;
               document.getElementById('plandprepaid').style.display = "none";
@@ -3620,24 +4716,18 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandtorrus_bw_percentile').style.zIndex = 0;
               document.getElementById('plandtorrus_bw_usage').style.display = "none";
               document.getElementById('plandtorrus_bw_usage').style.zIndex = 0;
-              document.getElementById('plandrt_time').style.display = "none";
-              document.getElementById('plandrt_time').style.zIndex = 0;
               document.getElementById('plandsql_generic').style.display = "none";
               document.getElementById('plandsql_generic').style.zIndex = 0;
               document.getElementById('plandsql_external').style.display = "none";
               document.getElementById('plandsql_external').style.zIndex = 0;
-              document.getElementById('plandflat_comission_cust').style.display = "none";
-              document.getElementById('plandflat_comission_cust').style.zIndex = 0;
-              document.getElementById('plandflat_comission').style.display = "none";
-              document.getElementById('plandflat_comission').style.zIndex = 0;
-              document.getElementById('plandflat_comission_pkg').style.display = "none";
-              document.getElementById('plandflat_comission_pkg').style.zIndex = 0;
+              document.getElementById('plandcurrency_fixed').style.display = "none";
+              document.getElementById('plandcurrency_fixed').style.zIndex = 0;
 
-            document.getElementById('plandprorate').style.display = "";
-            document.getElementById('plandprorate').style.zIndex = 1;
+            document.getElementById('plandprorate_calendar').style.display = "";
+            document.getElementById('plandprorate_calendar').style.zIndex = 1;
 
           }
-          if (planlayer == "prorate_calendar" ) {
+          if (planlayer == "prorate" ) {
 
               document.getElementById('plandflat').style.display = "none";
               document.getElementById('plandflat').style.zIndex = 0;
@@ -3645,8 +4735,8 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandflat_delayed').style.zIndex = 0;
               document.getElementById('plandflat_introrate').style.display = "none";
               document.getElementById('plandflat_introrate').style.zIndex = 0;
-              document.getElementById('plandprorate').style.display = "none";
-              document.getElementById('plandprorate').style.zIndex = 0;
+              document.getElementById('plandprorate_calendar').style.display = "none";
+              document.getElementById('plandprorate_calendar').style.zIndex = 0;
               document.getElementById('plandprorate_delayed').style.display = "none";
               document.getElementById('plandprorate_delayed').style.zIndex = 0;
               document.getElementById('plandprepaid').style.display = "none";
@@ -3679,21 +4769,15 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandtorrus_bw_percentile').style.zIndex = 0;
               document.getElementById('plandtorrus_bw_usage').style.display = "none";
               document.getElementById('plandtorrus_bw_usage').style.zIndex = 0;
-              document.getElementById('plandrt_time').style.display = "none";
-              document.getElementById('plandrt_time').style.zIndex = 0;
               document.getElementById('plandsql_generic').style.display = "none";
               document.getElementById('plandsql_generic').style.zIndex = 0;
               document.getElementById('plandsql_external').style.display = "none";
               document.getElementById('plandsql_external').style.zIndex = 0;
-              document.getElementById('plandflat_comission_cust').style.display = "none";
-              document.getElementById('plandflat_comission_cust').style.zIndex = 0;
-              document.getElementById('plandflat_comission').style.display = "none";
-              document.getElementById('plandflat_comission').style.zIndex = 0;
-              document.getElementById('plandflat_comission_pkg').style.display = "none";
-              document.getElementById('plandflat_comission_pkg').style.zIndex = 0;
+              document.getElementById('plandcurrency_fixed').style.display = "none";
+              document.getElementById('plandcurrency_fixed').style.zIndex = 0;
 
-            document.getElementById('plandprorate_calendar').style.display = "";
-            document.getElementById('plandprorate_calendar').style.zIndex = 1;
+            document.getElementById('plandprorate').style.display = "";
+            document.getElementById('plandprorate').style.zIndex = 1;
 
           }
           if (planlayer == "prorate_delayed" ) {
@@ -3704,10 +4788,10 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandflat_delayed').style.zIndex = 0;
               document.getElementById('plandflat_introrate').style.display = "none";
               document.getElementById('plandflat_introrate').style.zIndex = 0;
-              document.getElementById('plandprorate').style.display = "none";
-              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_calendar').style.display = "none";
               document.getElementById('plandprorate_calendar').style.zIndex = 0;
+              document.getElementById('plandprorate').style.display = "none";
+              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprepaid').style.display = "none";
               document.getElementById('plandprepaid').style.zIndex = 0;
               document.getElementById('plandsubscription').style.display = "none";
@@ -3738,18 +4822,12 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandtorrus_bw_percentile').style.zIndex = 0;
               document.getElementById('plandtorrus_bw_usage').style.display = "none";
               document.getElementById('plandtorrus_bw_usage').style.zIndex = 0;
-              document.getElementById('plandrt_time').style.display = "none";
-              document.getElementById('plandrt_time').style.zIndex = 0;
               document.getElementById('plandsql_generic').style.display = "none";
               document.getElementById('plandsql_generic').style.zIndex = 0;
               document.getElementById('plandsql_external').style.display = "none";
               document.getElementById('plandsql_external').style.zIndex = 0;
-              document.getElementById('plandflat_comission_cust').style.display = "none";
-              document.getElementById('plandflat_comission_cust').style.zIndex = 0;
-              document.getElementById('plandflat_comission').style.display = "none";
-              document.getElementById('plandflat_comission').style.zIndex = 0;
-              document.getElementById('plandflat_comission_pkg').style.display = "none";
-              document.getElementById('plandflat_comission_pkg').style.zIndex = 0;
+              document.getElementById('plandcurrency_fixed').style.display = "none";
+              document.getElementById('plandcurrency_fixed').style.zIndex = 0;
 
             document.getElementById('plandprorate_delayed').style.display = "";
             document.getElementById('plandprorate_delayed').style.zIndex = 1;
@@ -3763,10 +4841,10 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandflat_delayed').style.zIndex = 0;
               document.getElementById('plandflat_introrate').style.display = "none";
               document.getElementById('plandflat_introrate').style.zIndex = 0;
-              document.getElementById('plandprorate').style.display = "none";
-              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_calendar').style.display = "none";
               document.getElementById('plandprorate_calendar').style.zIndex = 0;
+              document.getElementById('plandprorate').style.display = "none";
+              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_delayed').style.display = "none";
               document.getElementById('plandprorate_delayed').style.zIndex = 0;
               document.getElementById('plandsubscription').style.display = "none";
@@ -3797,18 +4875,12 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandtorrus_bw_percentile').style.zIndex = 0;
               document.getElementById('plandtorrus_bw_usage').style.display = "none";
               document.getElementById('plandtorrus_bw_usage').style.zIndex = 0;
-              document.getElementById('plandrt_time').style.display = "none";
-              document.getElementById('plandrt_time').style.zIndex = 0;
               document.getElementById('plandsql_generic').style.display = "none";
               document.getElementById('plandsql_generic').style.zIndex = 0;
               document.getElementById('plandsql_external').style.display = "none";
               document.getElementById('plandsql_external').style.zIndex = 0;
-              document.getElementById('plandflat_comission_cust').style.display = "none";
-              document.getElementById('plandflat_comission_cust').style.zIndex = 0;
-              document.getElementById('plandflat_comission').style.display = "none";
-              document.getElementById('plandflat_comission').style.zIndex = 0;
-              document.getElementById('plandflat_comission_pkg').style.display = "none";
-              document.getElementById('plandflat_comission_pkg').style.zIndex = 0;
+              document.getElementById('plandcurrency_fixed').style.display = "none";
+              document.getElementById('plandcurrency_fixed').style.zIndex = 0;
 
             document.getElementById('plandprepaid').style.display = "";
             document.getElementById('plandprepaid').style.zIndex = 1;
@@ -3822,10 +4894,10 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandflat_delayed').style.zIndex = 0;
               document.getElementById('plandflat_introrate').style.display = "none";
               document.getElementById('plandflat_introrate').style.zIndex = 0;
-              document.getElementById('plandprorate').style.display = "none";
-              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_calendar').style.display = "none";
               document.getElementById('plandprorate_calendar').style.zIndex = 0;
+              document.getElementById('plandprorate').style.display = "none";
+              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_delayed').style.display = "none";
               document.getElementById('plandprorate_delayed').style.zIndex = 0;
               document.getElementById('plandprepaid').style.display = "none";
@@ -3856,18 +4928,12 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandtorrus_bw_percentile').style.zIndex = 0;
               document.getElementById('plandtorrus_bw_usage').style.display = "none";
               document.getElementById('plandtorrus_bw_usage').style.zIndex = 0;
-              document.getElementById('plandrt_time').style.display = "none";
-              document.getElementById('plandrt_time').style.zIndex = 0;
               document.getElementById('plandsql_generic').style.display = "none";
               document.getElementById('plandsql_generic').style.zIndex = 0;
               document.getElementById('plandsql_external').style.display = "none";
               document.getElementById('plandsql_external').style.zIndex = 0;
-              document.getElementById('plandflat_comission_cust').style.display = "none";
-              document.getElementById('plandflat_comission_cust').style.zIndex = 0;
-              document.getElementById('plandflat_comission').style.display = "none";
-              document.getElementById('plandflat_comission').style.zIndex = 0;
-              document.getElementById('plandflat_comission_pkg').style.display = "none";
-              document.getElementById('plandflat_comission_pkg').style.zIndex = 0;
+              document.getElementById('plandcurrency_fixed').style.display = "none";
+              document.getElementById('plandcurrency_fixed').style.zIndex = 0;
 
             document.getElementById('plandsubscription').style.display = "";
             document.getElementById('plandsubscription').style.zIndex = 1;
@@ -3881,10 +4947,10 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandflat_delayed').style.zIndex = 0;
               document.getElementById('plandflat_introrate').style.display = "none";
               document.getElementById('plandflat_introrate').style.zIndex = 0;
-              document.getElementById('plandprorate').style.display = "none";
-              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_calendar').style.display = "none";
               document.getElementById('plandprorate_calendar').style.zIndex = 0;
+              document.getElementById('plandprorate').style.display = "none";
+              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_delayed').style.display = "none";
               document.getElementById('plandprorate_delayed').style.zIndex = 0;
               document.getElementById('plandprepaid').style.display = "none";
@@ -3915,18 +4981,12 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandtorrus_bw_percentile').style.zIndex = 0;
               document.getElementById('plandtorrus_bw_usage').style.display = "none";
               document.getElementById('plandtorrus_bw_usage').style.zIndex = 0;
-              document.getElementById('plandrt_time').style.display = "none";
-              document.getElementById('plandrt_time').style.zIndex = 0;
               document.getElementById('plandsql_generic').style.display = "none";
               document.getElementById('plandsql_generic').style.zIndex = 0;
               document.getElementById('plandsql_external').style.display = "none";
               document.getElementById('plandsql_external').style.zIndex = 0;
-              document.getElementById('plandflat_comission_cust').style.display = "none";
-              document.getElementById('plandflat_comission_cust').style.zIndex = 0;
-              document.getElementById('plandflat_comission').style.display = "none";
-              document.getElementById('plandflat_comission').style.zIndex = 0;
-              document.getElementById('plandflat_comission_pkg').style.display = "none";
-              document.getElementById('plandflat_comission_pkg').style.zIndex = 0;
+              document.getElementById('plandcurrency_fixed').style.display = "none";
+              document.getElementById('plandcurrency_fixed').style.zIndex = 0;
 
             document.getElementById('plandsqlradacct_hour').style.display = "";
             document.getElementById('plandsqlradacct_hour').style.zIndex = 1;
@@ -3940,10 +5000,10 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandflat_delayed').style.zIndex = 0;
               document.getElementById('plandflat_introrate').style.display = "none";
               document.getElementById('plandflat_introrate').style.zIndex = 0;
-              document.getElementById('plandprorate').style.display = "none";
-              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_calendar').style.display = "none";
               document.getElementById('plandprorate_calendar').style.zIndex = 0;
+              document.getElementById('plandprorate').style.display = "none";
+              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_delayed').style.display = "none";
               document.getElementById('plandprorate_delayed').style.zIndex = 0;
               document.getElementById('plandprepaid').style.display = "none";
@@ -3974,18 +5034,12 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandtorrus_bw_percentile').style.zIndex = 0;
               document.getElementById('plandtorrus_bw_usage').style.display = "none";
               document.getElementById('plandtorrus_bw_usage').style.zIndex = 0;
-              document.getElementById('plandrt_time').style.display = "none";
-              document.getElementById('plandrt_time').style.zIndex = 0;
               document.getElementById('plandsql_generic').style.display = "none";
               document.getElementById('plandsql_generic').style.zIndex = 0;
               document.getElementById('plandsql_external').style.display = "none";
               document.getElementById('plandsql_external').style.zIndex = 0;
-              document.getElementById('plandflat_comission_cust').style.display = "none";
-              document.getElementById('plandflat_comission_cust').style.zIndex = 0;
-              document.getElementById('plandflat_comission').style.display = "none";
-              document.getElementById('plandflat_comission').style.zIndex = 0;
-              document.getElementById('plandflat_comission_pkg').style.display = "none";
-              document.getElementById('plandflat_comission_pkg').style.zIndex = 0;
+              document.getElementById('plandcurrency_fixed').style.display = "none";
+              document.getElementById('plandcurrency_fixed').style.zIndex = 0;
 
             document.getElementById('plandsqlradacct_daily').style.display = "";
             document.getElementById('plandsqlradacct_daily').style.zIndex = 1;
@@ -3999,10 +5053,10 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandflat_delayed').style.zIndex = 0;
               document.getElementById('plandflat_introrate').style.display = "none";
               document.getElementById('plandflat_introrate').style.zIndex = 0;
-              document.getElementById('plandprorate').style.display = "none";
-              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_calendar').style.display = "none";
               document.getElementById('plandprorate_calendar').style.zIndex = 0;
+              document.getElementById('plandprorate').style.display = "none";
+              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_delayed').style.display = "none";
               document.getElementById('plandprorate_delayed').style.zIndex = 0;
               document.getElementById('plandprepaid').style.display = "none";
@@ -4033,18 +5087,12 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandtorrus_bw_percentile').style.zIndex = 0;
               document.getElementById('plandtorrus_bw_usage').style.display = "none";
               document.getElementById('plandtorrus_bw_usage').style.zIndex = 0;
-              document.getElementById('plandrt_time').style.display = "none";
-              document.getElementById('plandrt_time').style.zIndex = 0;
               document.getElementById('plandsql_generic').style.display = "none";
               document.getElementById('plandsql_generic').style.zIndex = 0;
               document.getElementById('plandsql_external').style.display = "none";
               document.getElementById('plandsql_external').style.zIndex = 0;
-              document.getElementById('plandflat_comission_cust').style.display = "none";
-              document.getElementById('plandflat_comission_cust').style.zIndex = 0;
-              document.getElementById('plandflat_comission').style.display = "none";
-              document.getElementById('plandflat_comission').style.zIndex = 0;
-              document.getElementById('plandflat_comission_pkg').style.display = "none";
-              document.getElementById('plandflat_comission_pkg').style.zIndex = 0;
+              document.getElementById('plandcurrency_fixed').style.display = "none";
+              document.getElementById('plandcurrency_fixed').style.zIndex = 0;
 
             document.getElementById('plandvoip_cdr').style.display = "";
             document.getElementById('plandvoip_cdr').style.zIndex = 1;
@@ -4058,10 +5106,10 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandflat_delayed').style.zIndex = 0;
               document.getElementById('plandflat_introrate').style.display = "none";
               document.getElementById('plandflat_introrate').style.zIndex = 0;
-              document.getElementById('plandprorate').style.display = "none";
-              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_calendar').style.display = "none";
               document.getElementById('plandprorate_calendar').style.zIndex = 0;
+              document.getElementById('plandprorate').style.display = "none";
+              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_delayed').style.display = "none";
               document.getElementById('plandprorate_delayed').style.zIndex = 0;
               document.getElementById('plandprepaid').style.display = "none";
@@ -4092,18 +5140,12 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandtorrus_bw_percentile').style.zIndex = 0;
               document.getElementById('plandtorrus_bw_usage').style.display = "none";
               document.getElementById('plandtorrus_bw_usage').style.zIndex = 0;
-              document.getElementById('plandrt_time').style.display = "none";
-              document.getElementById('plandrt_time').style.zIndex = 0;
               document.getElementById('plandsql_generic').style.display = "none";
               document.getElementById('plandsql_generic').style.zIndex = 0;
               document.getElementById('plandsql_external').style.display = "none";
               document.getElementById('plandsql_external').style.zIndex = 0;
-              document.getElementById('plandflat_comission_cust').style.display = "none";
-              document.getElementById('plandflat_comission_cust').style.zIndex = 0;
-              document.getElementById('plandflat_comission').style.display = "none";
-              document.getElementById('plandflat_comission').style.zIndex = 0;
-              document.getElementById('plandflat_comission_pkg').style.display = "none";
-              document.getElementById('plandflat_comission_pkg').style.zIndex = 0;
+              document.getElementById('plandcurrency_fixed').style.display = "none";
+              document.getElementById('plandcurrency_fixed').style.zIndex = 0;
 
             document.getElementById('plandvoip_inbound').style.display = "";
             document.getElementById('plandvoip_inbound').style.zIndex = 1;
@@ -4117,10 +5159,10 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandflat_delayed').style.zIndex = 0;
               document.getElementById('plandflat_introrate').style.display = "none";
               document.getElementById('plandflat_introrate').style.zIndex = 0;
-              document.getElementById('plandprorate').style.display = "none";
-              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_calendar').style.display = "none";
               document.getElementById('plandprorate_calendar').style.zIndex = 0;
+              document.getElementById('plandprorate').style.display = "none";
+              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_delayed').style.display = "none";
               document.getElementById('plandprorate_delayed').style.zIndex = 0;
               document.getElementById('plandprepaid').style.display = "none";
@@ -4151,18 +5193,12 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandtorrus_bw_percentile').style.zIndex = 0;
               document.getElementById('plandtorrus_bw_usage').style.display = "none";
               document.getElementById('plandtorrus_bw_usage').style.zIndex = 0;
-              document.getElementById('plandrt_time').style.display = "none";
-              document.getElementById('plandrt_time').style.zIndex = 0;
               document.getElementById('plandsql_generic').style.display = "none";
               document.getElementById('plandsql_generic').style.zIndex = 0;
               document.getElementById('plandsql_external').style.display = "none";
               document.getElementById('plandsql_external').style.zIndex = 0;
-              document.getElementById('plandflat_comission_cust').style.display = "none";
-              document.getElementById('plandflat_comission_cust').style.zIndex = 0;
-              document.getElementById('plandflat_comission').style.display = "none";
-              document.getElementById('plandflat_comission').style.zIndex = 0;
-              document.getElementById('plandflat_comission_pkg').style.display = "none";
-              document.getElementById('plandflat_comission_pkg').style.zIndex = 0;
+              document.getElementById('plandcurrency_fixed').style.display = "none";
+              document.getElementById('plandcurrency_fixed').style.zIndex = 0;
 
             document.getElementById('plandvoip_tiered').style.display = "";
             document.getElementById('plandvoip_tiered').style.zIndex = 1;
@@ -4176,10 +5212,10 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandflat_delayed').style.zIndex = 0;
               document.getElementById('plandflat_introrate').style.display = "none";
               document.getElementById('plandflat_introrate').style.zIndex = 0;
-              document.getElementById('plandprorate').style.display = "none";
-              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_calendar').style.display = "none";
               document.getElementById('plandprorate_calendar').style.zIndex = 0;
+              document.getElementById('plandprorate').style.display = "none";
+              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_delayed').style.display = "none";
               document.getElementById('plandprorate_delayed').style.zIndex = 0;
               document.getElementById('plandprepaid').style.display = "none";
@@ -4210,18 +5246,12 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandtorrus_bw_percentile').style.zIndex = 0;
               document.getElementById('plandtorrus_bw_usage').style.display = "none";
               document.getElementById('plandtorrus_bw_usage').style.zIndex = 0;
-              document.getElementById('plandrt_time').style.display = "none";
-              document.getElementById('plandrt_time').style.zIndex = 0;
               document.getElementById('plandsql_generic').style.display = "none";
               document.getElementById('plandsql_generic').style.zIndex = 0;
               document.getElementById('plandsql_external').style.display = "none";
               document.getElementById('plandsql_external').style.zIndex = 0;
-              document.getElementById('plandflat_comission_cust').style.display = "none";
-              document.getElementById('plandflat_comission_cust').style.zIndex = 0;
-              document.getElementById('plandflat_comission').style.display = "none";
-              document.getElementById('plandflat_comission').style.zIndex = 0;
-              document.getElementById('plandflat_comission_pkg').style.display = "none";
-              document.getElementById('plandflat_comission_pkg').style.zIndex = 0;
+              document.getElementById('plandcurrency_fixed').style.display = "none";
+              document.getElementById('plandcurrency_fixed').style.zIndex = 0;
 
             document.getElementById('plandcdr_termination').style.display = "";
             document.getElementById('plandcdr_termination').style.zIndex = 1;
@@ -4235,10 +5265,10 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandflat_delayed').style.zIndex = 0;
               document.getElementById('plandflat_introrate').style.display = "none";
               document.getElementById('plandflat_introrate').style.zIndex = 0;
-              document.getElementById('plandprorate').style.display = "none";
-              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_calendar').style.display = "none";
               document.getElementById('plandprorate_calendar').style.zIndex = 0;
+              document.getElementById('plandprorate').style.display = "none";
+              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_delayed').style.display = "none";
               document.getElementById('plandprorate_delayed').style.zIndex = 0;
               document.getElementById('plandprepaid').style.display = "none";
@@ -4269,18 +5299,12 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandtorrus_bw_percentile').style.zIndex = 0;
               document.getElementById('plandtorrus_bw_usage').style.display = "none";
               document.getElementById('plandtorrus_bw_usage').style.zIndex = 0;
-              document.getElementById('plandrt_time').style.display = "none";
-              document.getElementById('plandrt_time').style.zIndex = 0;
               document.getElementById('plandsql_generic').style.display = "none";
               document.getElementById('plandsql_generic').style.zIndex = 0;
               document.getElementById('plandsql_external').style.display = "none";
               document.getElementById('plandsql_external').style.zIndex = 0;
-              document.getElementById('plandflat_comission_cust').style.display = "none";
-              document.getElementById('plandflat_comission_cust').style.zIndex = 0;
-              document.getElementById('plandflat_comission').style.display = "none";
-              document.getElementById('plandflat_comission').style.zIndex = 0;
-              document.getElementById('plandflat_comission_pkg').style.display = "none";
-              document.getElementById('plandflat_comission_pkg').style.zIndex = 0;
+              document.getElementById('plandcurrency_fixed').style.display = "none";
+              document.getElementById('plandcurrency_fixed').style.zIndex = 0;
 
             document.getElementById('plandprepaid_nibblebill').style.display = "";
             document.getElementById('plandprepaid_nibblebill').style.zIndex = 1;
@@ -4294,10 +5318,10 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandflat_delayed').style.zIndex = 0;
               document.getElementById('plandflat_introrate').style.display = "none";
               document.getElementById('plandflat_introrate').style.zIndex = 0;
-              document.getElementById('plandprorate').style.display = "none";
-              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_calendar').style.display = "none";
               document.getElementById('plandprorate_calendar').style.zIndex = 0;
+              document.getElementById('plandprorate').style.display = "none";
+              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_delayed').style.display = "none";
               document.getElementById('plandprorate_delayed').style.zIndex = 0;
               document.getElementById('plandprepaid').style.display = "none";
@@ -4328,18 +5352,12 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandtorrus_bw_percentile').style.zIndex = 0;
               document.getElementById('plandtorrus_bw_usage').style.display = "none";
               document.getElementById('plandtorrus_bw_usage').style.zIndex = 0;
-              document.getElementById('plandrt_time').style.display = "none";
-              document.getElementById('plandrt_time').style.zIndex = 0;
               document.getElementById('plandsql_generic').style.display = "none";
               document.getElementById('plandsql_generic').style.zIndex = 0;
               document.getElementById('plandsql_external').style.display = "none";
               document.getElementById('plandsql_external').style.zIndex = 0;
-              document.getElementById('plandflat_comission_cust').style.display = "none";
-              document.getElementById('plandflat_comission_cust').style.zIndex = 0;
-              document.getElementById('plandflat_comission').style.display = "none";
-              document.getElementById('plandflat_comission').style.zIndex = 0;
-              document.getElementById('plandflat_comission_pkg').style.display = "none";
-              document.getElementById('plandflat_comission_pkg').style.zIndex = 0;
+              document.getElementById('plandcurrency_fixed').style.display = "none";
+              document.getElementById('plandcurrency_fixed').style.zIndex = 0;
 
             document.getElementById('plandbulk_simple').style.display = "";
             document.getElementById('plandbulk_simple').style.zIndex = 1;
@@ -4353,10 +5371,10 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandflat_delayed').style.zIndex = 0;
               document.getElementById('plandflat_introrate').style.display = "none";
               document.getElementById('plandflat_introrate').style.zIndex = 0;
-              document.getElementById('plandprorate').style.display = "none";
-              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_calendar').style.display = "none";
               document.getElementById('plandprorate_calendar').style.zIndex = 0;
+              document.getElementById('plandprorate').style.display = "none";
+              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_delayed').style.display = "none";
               document.getElementById('plandprorate_delayed').style.zIndex = 0;
               document.getElementById('plandprepaid').style.display = "none";
@@ -4387,18 +5405,12 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandtorrus_bw_percentile').style.zIndex = 0;
               document.getElementById('plandtorrus_bw_usage').style.display = "none";
               document.getElementById('plandtorrus_bw_usage').style.zIndex = 0;
-              document.getElementById('plandrt_time').style.display = "none";
-              document.getElementById('plandrt_time').style.zIndex = 0;
               document.getElementById('plandsql_generic').style.display = "none";
               document.getElementById('plandsql_generic').style.zIndex = 0;
               document.getElementById('plandsql_external').style.display = "none";
               document.getElementById('plandsql_external').style.zIndex = 0;
-              document.getElementById('plandflat_comission_cust').style.display = "none";
-              document.getElementById('plandflat_comission_cust').style.zIndex = 0;
-              document.getElementById('plandflat_comission').style.display = "none";
-              document.getElementById('plandflat_comission').style.zIndex = 0;
-              document.getElementById('plandflat_comission_pkg').style.display = "none";
-              document.getElementById('plandflat_comission_pkg').style.zIndex = 0;
+              document.getElementById('plandcurrency_fixed').style.display = "none";
+              document.getElementById('plandcurrency_fixed').style.zIndex = 0;
 
             document.getElementById('plandbulk').style.display = "";
             document.getElementById('plandbulk').style.zIndex = 1;
@@ -4412,10 +5424,10 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandflat_delayed').style.zIndex = 0;
               document.getElementById('plandflat_introrate').style.display = "none";
               document.getElementById('plandflat_introrate').style.zIndex = 0;
-              document.getElementById('plandprorate').style.display = "none";
-              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_calendar').style.display = "none";
               document.getElementById('plandprorate_calendar').style.zIndex = 0;
+              document.getElementById('plandprorate').style.display = "none";
+              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_delayed').style.display = "none";
               document.getElementById('plandprorate_delayed').style.zIndex = 0;
               document.getElementById('plandprepaid').style.display = "none";
@@ -4446,18 +5458,12 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandtorrus_bw_percentile').style.zIndex = 0;
               document.getElementById('plandtorrus_bw_usage').style.display = "none";
               document.getElementById('plandtorrus_bw_usage').style.zIndex = 0;
-              document.getElementById('plandrt_time').style.display = "none";
-              document.getElementById('plandrt_time').style.zIndex = 0;
               document.getElementById('plandsql_generic').style.display = "none";
               document.getElementById('plandsql_generic').style.zIndex = 0;
               document.getElementById('plandsql_external').style.display = "none";
               document.getElementById('plandsql_external').style.zIndex = 0;
-              document.getElementById('plandflat_comission_cust').style.display = "none";
-              document.getElementById('plandflat_comission_cust').style.zIndex = 0;
-              document.getElementById('plandflat_comission').style.display = "none";
-              document.getElementById('plandflat_comission').style.zIndex = 0;
-              document.getElementById('plandflat_comission_pkg').style.display = "none";
-              document.getElementById('plandflat_comission_pkg').style.zIndex = 0;
+              document.getElementById('plandcurrency_fixed').style.display = "none";
+              document.getElementById('plandcurrency_fixed').style.zIndex = 0;
 
             document.getElementById('plandagent').style.display = "";
             document.getElementById('plandagent').style.zIndex = 1;
@@ -4471,10 +5477,10 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandflat_delayed').style.zIndex = 0;
               document.getElementById('plandflat_introrate').style.display = "none";
               document.getElementById('plandflat_introrate').style.zIndex = 0;
-              document.getElementById('plandprorate').style.display = "none";
-              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_calendar').style.display = "none";
               document.getElementById('plandprorate_calendar').style.zIndex = 0;
+              document.getElementById('plandprorate').style.display = "none";
+              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_delayed').style.display = "none";
               document.getElementById('plandprorate_delayed').style.zIndex = 0;
               document.getElementById('plandprepaid').style.display = "none";
@@ -4505,18 +5511,12 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandtorrus_bw_percentile').style.zIndex = 0;
               document.getElementById('plandtorrus_bw_usage').style.display = "none";
               document.getElementById('plandtorrus_bw_usage').style.zIndex = 0;
-              document.getElementById('plandrt_time').style.display = "none";
-              document.getElementById('plandrt_time').style.zIndex = 0;
               document.getElementById('plandsql_generic').style.display = "none";
               document.getElementById('plandsql_generic').style.zIndex = 0;
               document.getElementById('plandsql_external').style.display = "none";
               document.getElementById('plandsql_external').style.zIndex = 0;
-              document.getElementById('plandflat_comission_cust').style.display = "none";
-              document.getElementById('plandflat_comission_cust').style.zIndex = 0;
-              document.getElementById('plandflat_comission').style.display = "none";
-              document.getElementById('plandflat_comission').style.zIndex = 0;
-              document.getElementById('plandflat_comission_pkg').style.display = "none";
-              document.getElementById('plandflat_comission_pkg').style.zIndex = 0;
+              document.getElementById('plandcurrency_fixed').style.display = "none";
+              document.getElementById('plandcurrency_fixed').style.zIndex = 0;
 
             document.getElementById('plandagent_cdr').style.display = "";
             document.getElementById('plandagent_cdr').style.zIndex = 1;
@@ -4530,10 +5530,10 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandflat_delayed').style.zIndex = 0;
               document.getElementById('plandflat_introrate').style.display = "none";
               document.getElementById('plandflat_introrate').style.zIndex = 0;
-              document.getElementById('plandprorate').style.display = "none";
-              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_calendar').style.display = "none";
               document.getElementById('plandprorate_calendar').style.zIndex = 0;
+              document.getElementById('plandprorate').style.display = "none";
+              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_delayed').style.display = "none";
               document.getElementById('plandprorate_delayed').style.zIndex = 0;
               document.getElementById('plandprepaid').style.display = "none";
@@ -4564,18 +5564,12 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandagent_cdr').style.zIndex = 0;
               document.getElementById('plandtorrus_bw_usage').style.display = "none";
               document.getElementById('plandtorrus_bw_usage').style.zIndex = 0;
-              document.getElementById('plandrt_time').style.display = "none";
-              document.getElementById('plandrt_time').style.zIndex = 0;
               document.getElementById('plandsql_generic').style.display = "none";
               document.getElementById('plandsql_generic').style.zIndex = 0;
               document.getElementById('plandsql_external').style.display = "none";
               document.getElementById('plandsql_external').style.zIndex = 0;
-              document.getElementById('plandflat_comission_cust').style.display = "none";
-              document.getElementById('plandflat_comission_cust').style.zIndex = 0;
-              document.getElementById('plandflat_comission').style.display = "none";
-              document.getElementById('plandflat_comission').style.zIndex = 0;
-              document.getElementById('plandflat_comission_pkg').style.display = "none";
-              document.getElementById('plandflat_comission_pkg').style.zIndex = 0;
+              document.getElementById('plandcurrency_fixed').style.display = "none";
+              document.getElementById('plandcurrency_fixed').style.zIndex = 0;
 
             document.getElementById('plandtorrus_bw_percentile').style.display = "";
             document.getElementById('plandtorrus_bw_percentile').style.zIndex = 1;
@@ -4589,10 +5583,10 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandflat_delayed').style.zIndex = 0;
               document.getElementById('plandflat_introrate').style.display = "none";
               document.getElementById('plandflat_introrate').style.zIndex = 0;
-              document.getElementById('plandprorate').style.display = "none";
-              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_calendar').style.display = "none";
               document.getElementById('plandprorate_calendar').style.zIndex = 0;
+              document.getElementById('plandprorate').style.display = "none";
+              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_delayed').style.display = "none";
               document.getElementById('plandprorate_delayed').style.zIndex = 0;
               document.getElementById('plandprepaid').style.display = "none";
@@ -4623,24 +5617,18 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandagent_cdr').style.zIndex = 0;
               document.getElementById('plandtorrus_bw_percentile').style.display = "none";
               document.getElementById('plandtorrus_bw_percentile').style.zIndex = 0;
-              document.getElementById('plandrt_time').style.display = "none";
-              document.getElementById('plandrt_time').style.zIndex = 0;
               document.getElementById('plandsql_generic').style.display = "none";
               document.getElementById('plandsql_generic').style.zIndex = 0;
               document.getElementById('plandsql_external').style.display = "none";
               document.getElementById('plandsql_external').style.zIndex = 0;
-              document.getElementById('plandflat_comission_cust').style.display = "none";
-              document.getElementById('plandflat_comission_cust').style.zIndex = 0;
-              document.getElementById('plandflat_comission').style.display = "none";
-              document.getElementById('plandflat_comission').style.zIndex = 0;
-              document.getElementById('plandflat_comission_pkg').style.display = "none";
-              document.getElementById('plandflat_comission_pkg').style.zIndex = 0;
+              document.getElementById('plandcurrency_fixed').style.display = "none";
+              document.getElementById('plandcurrency_fixed').style.zIndex = 0;
 
             document.getElementById('plandtorrus_bw_usage').style.display = "";
             document.getElementById('plandtorrus_bw_usage').style.zIndex = 1;
 
           }
-          if (planlayer == "rt_time" ) {
+          if (planlayer == "sql_generic" ) {
 
               document.getElementById('plandflat').style.display = "none";
               document.getElementById('plandflat').style.zIndex = 0;
@@ -4648,69 +5636,10 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandflat_delayed').style.zIndex = 0;
               document.getElementById('plandflat_introrate').style.display = "none";
               document.getElementById('plandflat_introrate').style.zIndex = 0;
-              document.getElementById('plandprorate').style.display = "none";
-              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_calendar').style.display = "none";
               document.getElementById('plandprorate_calendar').style.zIndex = 0;
-              document.getElementById('plandprorate_delayed').style.display = "none";
-              document.getElementById('plandprorate_delayed').style.zIndex = 0;
-              document.getElementById('plandprepaid').style.display = "none";
-              document.getElementById('plandprepaid').style.zIndex = 0;
-              document.getElementById('plandsubscription').style.display = "none";
-              document.getElementById('plandsubscription').style.zIndex = 0;
-              document.getElementById('plandsqlradacct_hour').style.display = "none";
-              document.getElementById('plandsqlradacct_hour').style.zIndex = 0;
-              document.getElementById('plandsqlradacct_daily').style.display = "none";
-              document.getElementById('plandsqlradacct_daily').style.zIndex = 0;
-              document.getElementById('plandvoip_cdr').style.display = "none";
-              document.getElementById('plandvoip_cdr').style.zIndex = 0;
-              document.getElementById('plandvoip_inbound').style.display = "none";
-              document.getElementById('plandvoip_inbound').style.zIndex = 0;
-              document.getElementById('plandvoip_tiered').style.display = "none";
-              document.getElementById('plandvoip_tiered').style.zIndex = 0;
-              document.getElementById('plandcdr_termination').style.display = "none";
-              document.getElementById('plandcdr_termination').style.zIndex = 0;
-              document.getElementById('plandprepaid_nibblebill').style.display = "none";
-              document.getElementById('plandprepaid_nibblebill').style.zIndex = 0;
-              document.getElementById('plandbulk_simple').style.display = "none";
-              document.getElementById('plandbulk_simple').style.zIndex = 0;
-              document.getElementById('plandbulk').style.display = "none";
-              document.getElementById('plandbulk').style.zIndex = 0;
-              document.getElementById('plandagent').style.display = "none";
-              document.getElementById('plandagent').style.zIndex = 0;
-              document.getElementById('plandagent_cdr').style.display = "none";
-              document.getElementById('plandagent_cdr').style.zIndex = 0;
-              document.getElementById('plandtorrus_bw_percentile').style.display = "none";
-              document.getElementById('plandtorrus_bw_percentile').style.zIndex = 0;
-              document.getElementById('plandtorrus_bw_usage').style.display = "none";
-              document.getElementById('plandtorrus_bw_usage').style.zIndex = 0;
-              document.getElementById('plandsql_generic').style.display = "none";
-              document.getElementById('plandsql_generic').style.zIndex = 0;
-              document.getElementById('plandsql_external').style.display = "none";
-              document.getElementById('plandsql_external').style.zIndex = 0;
-              document.getElementById('plandflat_comission_cust').style.display = "none";
-              document.getElementById('plandflat_comission_cust').style.zIndex = 0;
-              document.getElementById('plandflat_comission').style.display = "none";
-              document.getElementById('plandflat_comission').style.zIndex = 0;
-              document.getElementById('plandflat_comission_pkg').style.display = "none";
-              document.getElementById('plandflat_comission_pkg').style.zIndex = 0;
-
-            document.getElementById('plandrt_time').style.display = "";
-            document.getElementById('plandrt_time').style.zIndex = 1;
-
-          }
-          if (planlayer == "sql_generic" ) {
-
-              document.getElementById('plandflat').style.display = "none";
-              document.getElementById('plandflat').style.zIndex = 0;
-              document.getElementById('plandflat_delayed').style.display = "none";
-              document.getElementById('plandflat_delayed').style.zIndex = 0;
-              document.getElementById('plandflat_introrate').style.display = "none";
-              document.getElementById('plandflat_introrate').style.zIndex = 0;
               document.getElementById('plandprorate').style.display = "none";
               document.getElementById('plandprorate').style.zIndex = 0;
-              document.getElementById('plandprorate_calendar').style.display = "none";
-              document.getElementById('plandprorate_calendar').style.zIndex = 0;
               document.getElementById('plandprorate_delayed').style.display = "none";
               document.getElementById('plandprorate_delayed').style.zIndex = 0;
               document.getElementById('plandprepaid').style.display = "none";
@@ -4743,16 +5672,10 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandtorrus_bw_percentile').style.zIndex = 0;
               document.getElementById('plandtorrus_bw_usage').style.display = "none";
               document.getElementById('plandtorrus_bw_usage').style.zIndex = 0;
-              document.getElementById('plandrt_time').style.display = "none";
-              document.getElementById('plandrt_time').style.zIndex = 0;
               document.getElementById('plandsql_external').style.display = "none";
               document.getElementById('plandsql_external').style.zIndex = 0;
-              document.getElementById('plandflat_comission_cust').style.display = "none";
-              document.getElementById('plandflat_comission_cust').style.zIndex = 0;
-              document.getElementById('plandflat_comission').style.display = "none";
-              document.getElementById('plandflat_comission').style.zIndex = 0;
-              document.getElementById('plandflat_comission_pkg').style.display = "none";
-              document.getElementById('plandflat_comission_pkg').style.zIndex = 0;
+              document.getElementById('plandcurrency_fixed').style.display = "none";
+              document.getElementById('plandcurrency_fixed').style.zIndex = 0;
 
             document.getElementById('plandsql_generic').style.display = "";
             document.getElementById('plandsql_generic').style.zIndex = 1;
@@ -4766,69 +5689,10 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandflat_delayed').style.zIndex = 0;
               document.getElementById('plandflat_introrate').style.display = "none";
               document.getElementById('plandflat_introrate').style.zIndex = 0;
-              document.getElementById('plandprorate').style.display = "none";
-              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_calendar').style.display = "none";
               document.getElementById('plandprorate_calendar').style.zIndex = 0;
-              document.getElementById('plandprorate_delayed').style.display = "none";
-              document.getElementById('plandprorate_delayed').style.zIndex = 0;
-              document.getElementById('plandprepaid').style.display = "none";
-              document.getElementById('plandprepaid').style.zIndex = 0;
-              document.getElementById('plandsubscription').style.display = "none";
-              document.getElementById('plandsubscription').style.zIndex = 0;
-              document.getElementById('plandsqlradacct_hour').style.display = "none";
-              document.getElementById('plandsqlradacct_hour').style.zIndex = 0;
-              document.getElementById('plandsqlradacct_daily').style.display = "none";
-              document.getElementById('plandsqlradacct_daily').style.zIndex = 0;
-              document.getElementById('plandvoip_cdr').style.display = "none";
-              document.getElementById('plandvoip_cdr').style.zIndex = 0;
-              document.getElementById('plandvoip_inbound').style.display = "none";
-              document.getElementById('plandvoip_inbound').style.zIndex = 0;
-              document.getElementById('plandvoip_tiered').style.display = "none";
-              document.getElementById('plandvoip_tiered').style.zIndex = 0;
-              document.getElementById('plandcdr_termination').style.display = "none";
-              document.getElementById('plandcdr_termination').style.zIndex = 0;
-              document.getElementById('plandprepaid_nibblebill').style.display = "none";
-              document.getElementById('plandprepaid_nibblebill').style.zIndex = 0;
-              document.getElementById('plandbulk_simple').style.display = "none";
-              document.getElementById('plandbulk_simple').style.zIndex = 0;
-              document.getElementById('plandbulk').style.display = "none";
-              document.getElementById('plandbulk').style.zIndex = 0;
-              document.getElementById('plandagent').style.display = "none";
-              document.getElementById('plandagent').style.zIndex = 0;
-              document.getElementById('plandagent_cdr').style.display = "none";
-              document.getElementById('plandagent_cdr').style.zIndex = 0;
-              document.getElementById('plandtorrus_bw_percentile').style.display = "none";
-              document.getElementById('plandtorrus_bw_percentile').style.zIndex = 0;
-              document.getElementById('plandtorrus_bw_usage').style.display = "none";
-              document.getElementById('plandtorrus_bw_usage').style.zIndex = 0;
-              document.getElementById('plandrt_time').style.display = "none";
-              document.getElementById('plandrt_time').style.zIndex = 0;
-              document.getElementById('plandsql_generic').style.display = "none";
-              document.getElementById('plandsql_generic').style.zIndex = 0;
-              document.getElementById('plandflat_comission_cust').style.display = "none";
-              document.getElementById('plandflat_comission_cust').style.zIndex = 0;
-              document.getElementById('plandflat_comission').style.display = "none";
-              document.getElementById('plandflat_comission').style.zIndex = 0;
-              document.getElementById('plandflat_comission_pkg').style.display = "none";
-              document.getElementById('plandflat_comission_pkg').style.zIndex = 0;
-
-            document.getElementById('plandsql_external').style.display = "";
-            document.getElementById('plandsql_external').style.zIndex = 1;
-
-          }
-          if (planlayer == "flat_comission_cust" ) {
-
-              document.getElementById('plandflat').style.display = "none";
-              document.getElementById('plandflat').style.zIndex = 0;
-              document.getElementById('plandflat_delayed').style.display = "none";
-              document.getElementById('plandflat_delayed').style.zIndex = 0;
-              document.getElementById('plandflat_introrate').style.display = "none";
-              document.getElementById('plandflat_introrate').style.zIndex = 0;
               document.getElementById('plandprorate').style.display = "none";
               document.getElementById('plandprorate').style.zIndex = 0;
-              document.getElementById('plandprorate_calendar').style.display = "none";
-              document.getElementById('plandprorate_calendar').style.zIndex = 0;
               document.getElementById('plandprorate_delayed').style.display = "none";
               document.getElementById('plandprorate_delayed').style.zIndex = 0;
               document.getElementById('plandprepaid').style.display = "none";
@@ -4861,22 +5725,16 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandtorrus_bw_percentile').style.zIndex = 0;
               document.getElementById('plandtorrus_bw_usage').style.display = "none";
               document.getElementById('plandtorrus_bw_usage').style.zIndex = 0;
-              document.getElementById('plandrt_time').style.display = "none";
-              document.getElementById('plandrt_time').style.zIndex = 0;
               document.getElementById('plandsql_generic').style.display = "none";
               document.getElementById('plandsql_generic').style.zIndex = 0;
-              document.getElementById('plandsql_external').style.display = "none";
-              document.getElementById('plandsql_external').style.zIndex = 0;
-              document.getElementById('plandflat_comission').style.display = "none";
-              document.getElementById('plandflat_comission').style.zIndex = 0;
-              document.getElementById('plandflat_comission_pkg').style.display = "none";
-              document.getElementById('plandflat_comission_pkg').style.zIndex = 0;
+              document.getElementById('plandcurrency_fixed').style.display = "none";
+              document.getElementById('plandcurrency_fixed').style.zIndex = 0;
 
-            document.getElementById('plandflat_comission_cust').style.display = "";
-            document.getElementById('plandflat_comission_cust').style.zIndex = 1;
+            document.getElementById('plandsql_external').style.display = "";
+            document.getElementById('plandsql_external').style.zIndex = 1;
 
           }
-          if (planlayer == "flat_comission" ) {
+          if (planlayer == "currency_fixed" ) {
 
               document.getElementById('plandflat').style.display = "none";
               document.getElementById('plandflat').style.zIndex = 0;
@@ -4884,69 +5742,10 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandflat_delayed').style.zIndex = 0;
               document.getElementById('plandflat_introrate').style.display = "none";
               document.getElementById('plandflat_introrate').style.zIndex = 0;
-              document.getElementById('plandprorate').style.display = "none";
-              document.getElementById('plandprorate').style.zIndex = 0;
               document.getElementById('plandprorate_calendar').style.display = "none";
               document.getElementById('plandprorate_calendar').style.zIndex = 0;
-              document.getElementById('plandprorate_delayed').style.display = "none";
-              document.getElementById('plandprorate_delayed').style.zIndex = 0;
-              document.getElementById('plandprepaid').style.display = "none";
-              document.getElementById('plandprepaid').style.zIndex = 0;
-              document.getElementById('plandsubscription').style.display = "none";
-              document.getElementById('plandsubscription').style.zIndex = 0;
-              document.getElementById('plandsqlradacct_hour').style.display = "none";
-              document.getElementById('plandsqlradacct_hour').style.zIndex = 0;
-              document.getElementById('plandsqlradacct_daily').style.display = "none";
-              document.getElementById('plandsqlradacct_daily').style.zIndex = 0;
-              document.getElementById('plandvoip_cdr').style.display = "none";
-              document.getElementById('plandvoip_cdr').style.zIndex = 0;
-              document.getElementById('plandvoip_inbound').style.display = "none";
-              document.getElementById('plandvoip_inbound').style.zIndex = 0;
-              document.getElementById('plandvoip_tiered').style.display = "none";
-              document.getElementById('plandvoip_tiered').style.zIndex = 0;
-              document.getElementById('plandcdr_termination').style.display = "none";
-              document.getElementById('plandcdr_termination').style.zIndex = 0;
-              document.getElementById('plandprepaid_nibblebill').style.display = "none";
-              document.getElementById('plandprepaid_nibblebill').style.zIndex = 0;
-              document.getElementById('plandbulk_simple').style.display = "none";
-              document.getElementById('plandbulk_simple').style.zIndex = 0;
-              document.getElementById('plandbulk').style.display = "none";
-              document.getElementById('plandbulk').style.zIndex = 0;
-              document.getElementById('plandagent').style.display = "none";
-              document.getElementById('plandagent').style.zIndex = 0;
-              document.getElementById('plandagent_cdr').style.display = "none";
-              document.getElementById('plandagent_cdr').style.zIndex = 0;
-              document.getElementById('plandtorrus_bw_percentile').style.display = "none";
-              document.getElementById('plandtorrus_bw_percentile').style.zIndex = 0;
-              document.getElementById('plandtorrus_bw_usage').style.display = "none";
-              document.getElementById('plandtorrus_bw_usage').style.zIndex = 0;
-              document.getElementById('plandrt_time').style.display = "none";
-              document.getElementById('plandrt_time').style.zIndex = 0;
-              document.getElementById('plandsql_generic').style.display = "none";
-              document.getElementById('plandsql_generic').style.zIndex = 0;
-              document.getElementById('plandsql_external').style.display = "none";
-              document.getElementById('plandsql_external').style.zIndex = 0;
-              document.getElementById('plandflat_comission_cust').style.display = "none";
-              document.getElementById('plandflat_comission_cust').style.zIndex = 0;
-              document.getElementById('plandflat_comission_pkg').style.display = "none";
-              document.getElementById('plandflat_comission_pkg').style.zIndex = 0;
-
-            document.getElementById('plandflat_comission').style.display = "";
-            document.getElementById('plandflat_comission').style.zIndex = 1;
-
-          }
-          if (planlayer == "flat_comission_pkg" ) {
-
-              document.getElementById('plandflat').style.display = "none";
-              document.getElementById('plandflat').style.zIndex = 0;
-              document.getElementById('plandflat_delayed').style.display = "none";
-              document.getElementById('plandflat_delayed').style.zIndex = 0;
-              document.getElementById('plandflat_introrate').style.display = "none";
-              document.getElementById('plandflat_introrate').style.zIndex = 0;
               document.getElementById('plandprorate').style.display = "none";
               document.getElementById('plandprorate').style.zIndex = 0;
-              document.getElementById('plandprorate_calendar').style.display = "none";
-              document.getElementById('plandprorate_calendar').style.zIndex = 0;
               document.getElementById('plandprorate_delayed').style.display = "none";
               document.getElementById('plandprorate_delayed').style.zIndex = 0;
               document.getElementById('plandprepaid').style.display = "none";
@@ -4979,19 +5778,13 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandtorrus_bw_percentile').style.zIndex = 0;
               document.getElementById('plandtorrus_bw_usage').style.display = "none";
               document.getElementById('plandtorrus_bw_usage').style.zIndex = 0;
-              document.getElementById('plandrt_time').style.display = "none";
-              document.getElementById('plandrt_time').style.zIndex = 0;
               document.getElementById('plandsql_generic').style.display = "none";
               document.getElementById('plandsql_generic').style.zIndex = 0;
               document.getElementById('plandsql_external').style.display = "none";
               document.getElementById('plandsql_external').style.zIndex = 0;
-              document.getElementById('plandflat_comission_cust').style.display = "none";
-              document.getElementById('plandflat_comission_cust').style.zIndex = 0;
-              document.getElementById('plandflat_comission').style.display = "none";
-              document.getElementById('plandflat_comission').style.zIndex = 0;
 
-            document.getElementById('plandflat_comission_pkg').style.display = "";
-            document.getElementById('plandflat_comission_pkg').style.zIndex = 1;
+            document.getElementById('plandcurrency_fixed').style.display = "";
+            document.getElementById('plandcurrency_fixed').style.zIndex = 1;
 
           }