diff options
| author | Mark Wells <mark@freeside.biz> | 2015-08-04 11:15:52 -0700 |
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2015-08-04 11:53:17 -0700 |
| commit | 82090fc595a4c7b1d03fe3d6e0039b06f0bc9ede (patch) | |
| tree | 243b990aca8c033f6b85adb0ff2cd1cc46ce7a2f /FS-Test/share/output/edit/part_pkg.cgi | |
| parent | ce1a26f5033acf26ccf0c922b2fc43cc2baa2bb9 (diff) | |
UI testing tool, #37340
Diffstat (limited to 'FS-Test/share/output/edit/part_pkg.cgi')
| -rw-r--r-- | FS-Test/share/output/edit/part_pkg.cgi/2 | 5022 |
1 files changed, 5022 insertions, 0 deletions
diff --git a/FS-Test/share/output/edit/part_pkg.cgi/2 b/FS-Test/share/output/edit/part_pkg.cgi/2 new file mode 100644 index 000000000..21bf1f2eb --- /dev/null +++ b/FS-Test/share/output/edit/part_pkg.cgi/2 @@ -0,0 +1,5022 @@ + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<HTML> + <HEAD> + <TITLE> + Edit Package definition + </TITLE> + <!-- per RT, to prevent IE compatibility mode --> + <meta http-equiv="X-UA-Compatible" content="IE=edge" /> + <!-- The X-UA-Compatible <meta> tag above must be very early in <head> --> + <META HTTP-Equiv="Cache-Control" Content="no-cache"> + <META HTTP-Equiv="Pragma" Content="no-cache"> + <META HTTP-Equiv="Expires" Content="0"> + + <script type="text/javascript" src="http://localhost/freeside/elements/cssexpr.js"></script> + + + <script type="text/javascript" src="http://localhost/freeside/elements/xmenu.top.js"></script> + <link href="http://localhost/freeside/elements/xmenu.top.css" type="text/css" rel="stylesheet"> + + + <link href="http://localhost/freeside/elements/freeside.css" type="text/css" rel="stylesheet"> + <link href="http://localhost/freeside/elements/freeside-print.css" type="text/css" rel="stylesheet" media="print"> +<link href="http://localhost/freeside/elements/freeside-menu.css" type="text/css" rel="stylesheet"> + +<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'); + } + + webfxMenuImagePath = "http://localhost/freeside/images/"; + webfxMenuUseHover = 1; + webfxMenuShowTime = 300; + webfxMenuHideTime = 500; + + var myBar = new WebFXMenuBar; + + + myBar.add(new WebFXMenuButton('Billing Main', "http://localhost/freeside/", 'Billing start page' )); + + + myBar.add(new WebFXMenuButton('Ticketing Main', "http://localhost/freeside/rt/", 'Ticketing start page' )); + + + myBar.add(new WebFXMenuButton('New prospect', "http://localhost/freeside/edit/prospect_main.html", 'Add a new prospect' )); + + + myBar.add(new WebFXMenuButton('New customer', "http://localhost/freeside/edit/cust_main.cgi", 'Add a new customer' )); + + + var myMenu0 = new WebFXMenu; +myMenu0.emptyText = ''; +var myMenu1 = new WebFXMenu; +myMenu1.emptyText = ''; +myMenu1.add(new WebFXMenuItem("List prospects", "http://localhost/freeside/search/prospect_main.html", "" )); +myMenu1.add(new WebFXMenuItem("Advanced prospect reports", "http://localhost/freeside/search/report_prospect_main.html", "" )); +myMenu1.add(new WebFXMenuSeparator()); +myMenu1.add(new WebFXMenuItem("Prospect contacts", "http://localhost/freeside/search/report_contact.html?link=prospect_main", "" )); +myMenu1.width = 256; + +myMenu0.add(new WebFXMenuItem("Prospects", null, "Prospect reports", myMenu1 )); +var myMenu2 = new WebFXMenu; +myMenu2.emptyText = ''; +myMenu2.add(new WebFXMenuItem("List quotations", "http://localhost/freeside/search/quotation.html", "" )); +myMenu2.add(new WebFXMenuItem("Advanced quotation reports", "http://localhost/freeside/search/report_quotation.html", "" )); +myMenu2.width = 256; + +myMenu0.add(new WebFXMenuItem("Quotations", null, "Quotation reports", myMenu2 )); +var myMenu3 = new WebFXMenu; +myMenu3.emptyText = ''; +var myMenu4 = new WebFXMenu; +myMenu4.emptyText = ''; +myMenu4.add(new WebFXMenuItem("by customer number", "http://localhost/freeside/search/cust_main.cgi?browse=custnum", "" )); +myMenu4.add(new WebFXMenuItem("by last name", "http://localhost/freeside/search/cust_main.cgi?browse=last", "" )); +myMenu4.add(new WebFXMenuItem("by company name", "http://localhost/freeside/search/cust_main.cgi?browse=company", "" )); +myMenu4.add(new WebFXMenuItem("by active trouble tickets", "http://localhost/freeside/search/cust_main.cgi?browse=tickets", "" )); +myMenu4.width = 256; + +myMenu3.add(new WebFXMenuItem("List customers", null, "List customers", myMenu4 )); +myMenu3.add(new WebFXMenuItem("Zip code distribution", "http://localhost/freeside/search/report_cust_main-zip.html", "Zip codes by number of customers" )); +myMenu3.add(new WebFXMenuItem("Customer signup report", "http://localhost/freeside/graph/report_cust_signup.html", "New customer signups by date" )); +myMenu3.add(new WebFXMenuItem("Customer churn report", "http://localhost/freeside/graph/report_cust_churn.html", "New customers, suspensions, and cancellations summary" )); +myMenu3.add(new WebFXMenuItem("Signup date report", "http://localhost/freeside/graph/report_signupdate.html", "Signup date report (by date of signup)" )); +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.width = 256; + +myMenu0.add(new WebFXMenuItem("Customers", null, "Customer reports", myMenu3 )); +var myMenu5 = new WebFXMenu; +myMenu5.emptyText = ''; +var myMenu6 = new WebFXMenu; +myMenu6.emptyText = ''; +myMenu6.add(new WebFXMenuItem("All open invoices", "http://localhost/freeside/search/cust_bill.html?OPEN_date", "All invoices with an unpaid balance" )); +myMenu6.add(new WebFXMenuItem("15 day open invoices", "http://localhost/freeside/search/cust_bill.html?OPEN15_date", "Invoices 15 days or older with an unpaid balance" )); +myMenu6.add(new WebFXMenuItem("30 day open invoices", "http://localhost/freeside/search/cust_bill.html?OPEN30_date", "Invoices 30 days or older with an unpaid balance" )); +myMenu6.add(new WebFXMenuItem("60 day open invoices", "http://localhost/freeside/search/cust_bill.html?OPEN60_date", "Invoices 60 days or older with an unpaid balance" )); +myMenu6.add(new WebFXMenuItem("90 day open invoices", "http://localhost/freeside/search/cust_bill.html?OPEN90_date", "Invoices 90 days or older with an unpaid balance" )); +myMenu6.add(new WebFXMenuItem("120 day open invoices", "http://localhost/freeside/search/cust_bill.html?OPEN120_date", "Invoices 120 days or older with an unpaid balance" )); +myMenu6.width = 256; + +myMenu5.add(new WebFXMenuItem("Open invoices", null, "Open invoices", myMenu6 )); +myMenu5.add(new WebFXMenuItem("All invoices", "http://localhost/freeside/search/cust_bill.html?date", "List all invoices" )); +myMenu5.add(new WebFXMenuItem("Advanced invoice reports", "http://localhost/freeside/search/report_cust_bill.html", "by agent, date range, etc." )); +myMenu5.add(new WebFXMenuSeparator()); +myMenu5.add(new WebFXMenuItem("Line items", "http://localhost/freeside/search/report_cust_bill_pkg.html", "Individual line item detail" )); +myMenu5.add(new WebFXMenuItem("Voided invoices", "http://localhost/freeside/search/report_cust_bill_void.html", "Search for voided invoices" )); +myMenu5.width = 256; + +myMenu0.add(new WebFXMenuItem("Invoices", null, "Invoice reports", myMenu5 )); +var myMenu7 = new WebFXMenu; +myMenu7.emptyText = ''; +myMenu7.add(new WebFXMenuItem("Discount graph", "http://localhost/freeside/graph/report_cust_bill_pkg_discount.html", "Discount overview per month" )); +myMenu7.add(new WebFXMenuItem("Discount detail", "http://localhost/freeside/search/report_cust_bill_pkg_discount.html", "Discount report (by employee and/or date range)" )); +myMenu7.add(new WebFXMenuItem("Package discounts", "http://localhost/freeside/search/report_cust_pkg_discount.html", "Active/inactive discounts by package" )); +myMenu7.width = 256; + +myMenu0.add(new WebFXMenuItem("Discounts", null, "Discount reports", myMenu7 )); +var myMenu8 = new WebFXMenu; +myMenu8.emptyText = ''; +myMenu8.add(new WebFXMenuItem("Payments", "http://localhost/freeside/search/report_cust_pay.html", "Payment report (by type and/or date range)" )); +myMenu8.add(new WebFXMenuItem("Payment application detail", "http://localhost/freeside/search/report_cust_bill_pay_pkg.html", "Line item application detail" )); +myMenu8.add(new WebFXMenuItem("Pending Payments", "http://localhost/freeside/search/cust_pay_pending.html?magic=_date;statusNOT=done", "Pending real-time payments" )); +myMenu8.add(new WebFXMenuItem("Unapplied Payments", "http://localhost/freeside/search/report_cust_pay.html?unapplied=1", "Unapplied payment report (by type and/or date range)" )); +myMenu8.add(new WebFXMenuItem("Voided Payments", "http://localhost/freeside/search/report_cust_pay.html?void=1", "Voided payment report (by type and/or date range)" )); +myMenu8.add(new WebFXMenuItem("Unapplied Payment Aging", "http://localhost/freeside/search/report_unapplied_cust_pay.html", "Unapplied payment aging report" )); +myMenu8.width = 256; + +myMenu0.add(new WebFXMenuItem("Payments", null, "Payment reports", myMenu8 )); +var myMenu9 = new WebFXMenu; +myMenu9.emptyText = ''; +myMenu9.add(new WebFXMenuItem("Package definitions (by # active)", "http://localhost/freeside/browse/part_pkg.cgi?active=1", "Package definitions by number of active packages" )); +myMenu9.add(new WebFXMenuItem("Package costs", "http://localhost/freeside/graph/report_cust_pkg_cost.html", "Package setup and recurring costs graph" )); +myMenu9.add(new WebFXMenuSeparator()); +myMenu9.add(new WebFXMenuItem("Package churn", "http://localhost/freeside/graph/report_cust_pkg.html", "Orders, suspensions and cancellations summary graph" )); +myMenu9.add(new WebFXMenuSeparator()); +myMenu9.add(new WebFXMenuItem("All customer packages", "http://localhost/freeside/search/cust_pkg.cgi?pkgnum", "List all customer packages" )); +myMenu9.add(new WebFXMenuItem("Package summary", "http://localhost/freeside/search/cust_pkg_summary.html", "Show package sales summary" )); +myMenu9.add(new WebFXMenuItem("Suspended customer packages", "http://localhost/freeside/search/cust_pkg.cgi?magic=suspended", "List suspended packages" )); +myMenu9.add(new WebFXMenuItem("Suspension summary", "http://localhost/freeside/search/cust_pkg_susp.html", "Show suspension activity" )); +myMenu9.add(new WebFXMenuItem("Customer packages with unconfigured services", "http://localhost/freeside/search/cust_pkg.cgi?APKG_pkgnum", "List packages which have provisionable services" )); +myMenu9.add(new WebFXMenuItem("Advanced package reports", "http://localhost/freeside/search/report_cust_pkg.html", "by agent, date range, status, package definition" )); +myMenu9.width = 256; + +myMenu0.add(new WebFXMenuItem("Packages", null, "Package reports", myMenu9 )); +var myMenu10 = new WebFXMenu; +myMenu10.emptyText = ''; +myMenu10.add(new WebFXMenuItem("Service definitions", "http://localhost/freeside/browse/part_svc.cgi?orderby=active", "Service definitions by number of active packages" )); +myMenu10.add(new WebFXMenuSeparator()); +myMenu10.add(new WebFXMenuItem("Unprovisioned services", "http://localhost/freeside/search/report_unprovisioned_services.html", "Unprovisioned services" )); +myMenu10.add(new WebFXMenuSeparator()); +var myMenu11 = new WebFXMenu; +myMenu11.emptyText = ''; +myMenu11.add(new WebFXMenuItem("All accounts by Username", "http://localhost/freeside/search/svc_acct.cgi?magic=all;sortby=username", "" )); +myMenu11.add(new WebFXMenuItem("All accounts by UID", "http://localhost/freeside/search/svc_acct.cgi?magic=all;sortby=uid", "" )); +myMenu11.add(new WebFXMenuItem("All accounts with Time Remaining", "http://localhost/freeside/search/svc_acct.cgi?magic=all;sortby=seconds", "" )); +myMenu11.add(new WebFXMenuItem("All accounts by Last login", "http://localhost/freeside/search/svc_acct.cgi?magic=all;sortby=last_login", "" )); +myMenu11.add(new WebFXMenuItem("All accounts never logged in", "http://localhost/freeside/search/svc_acct.cgi?magic=nologin;sortby=svcnum", "" )); +myMenu11.add(new WebFXMenuItem("Advanced account reports", "http://localhost/freeside/search/report_svc_acct.html", "" )); +myMenu11.width = 256; + +myMenu10.add(new WebFXMenuItem("Accounts", null, "Access accounts and mailboxes", myMenu11 )); +var myMenu12 = new WebFXMenu; +myMenu12.emptyText = ''; +myMenu12.add(new WebFXMenuItem("All domains", "http://localhost/freeside/search/svc_domain.cgi?magic=all;sortby=domain", "" )); +myMenu12.width = 256; + +myMenu10.add(new WebFXMenuItem("Domains", null, "Domains", myMenu12 )); +var myMenu13 = new WebFXMenu; +myMenu13.emptyText = ''; +myMenu13.add(new WebFXMenuItem("All certificates", "http://localhost/freeside/search/cust_svc.html?svcdb=svc_cert;magic=all;sortby=svcnum", "" )); +myMenu13.width = 256; + +myMenu10.add(new WebFXMenuItem("Certificates", null, "Example services", myMenu13 )); +var myMenu14 = new WebFXMenu; +myMenu14.emptyText = ''; +myMenu14.add(new WebFXMenuItem("All mail forwards", "http://localhost/freeside/search/svc_forward.cgi?magic=all;sortby=svcnum", "" )); +myMenu14.width = 256; + +myMenu10.add(new WebFXMenuItem("Mail forwards", null, "Mail forwards", myMenu14 )); +var myMenu15 = new WebFXMenu; +myMenu15.emptyText = ''; +myMenu15.add(new WebFXMenuItem("All mailing lists", "http://localhost/freeside/search/cust_svc.html?svcdb=svc_mailinglist;magic=all;sortby=svcnum", "" )); +myMenu15.width = 256; + +myMenu10.add(new WebFXMenuItem("Mailing lists", null, "Mailing lists", myMenu15 )); +var myMenu16 = new WebFXMenu; +myMenu16.emptyText = ''; +myMenu16.add(new WebFXMenuItem("All virtual hosting services", "http://localhost/freeside/search/svc_www.cgi?magic=all;sortby=svcnum", "" )); +myMenu16.width = 256; + +myMenu10.add(new WebFXMenuItem("Virtual hosting services", null, "Virtual hosting services", myMenu16 )); +var myMenu17 = new WebFXMenu; +myMenu17.emptyText = ''; +myMenu17.add(new WebFXMenuItem("All wireless broadband services", "http://localhost/freeside/search/svc_broadband.cgi?magic=all;sortby=svcnum", "" )); +myMenu17.add(new WebFXMenuItem("Advanced wireless broadband reports", "http://localhost/freeside/search/report_svc_broadband.html", "" )); +myMenu17.width = 256; + +myMenu10.add(new WebFXMenuItem("Wireless broadband services", null, "Fixed wireless broadband services", myMenu17 )); +var myMenu18 = new WebFXMenu; +myMenu18.emptyText = ''; +myMenu18.add(new WebFXMenuItem("All cable subscribers by Service", "http://localhost/freeside/search/cust_svc.html?svcdb=svc_cable;magic=all;sortby=svcnum", "" )); +myMenu18.add(new WebFXMenuItem("All cable subscribers by Serial number", "http://localhost/freeside/search/cust_svc.html?svcdb=svc_cable;magic=all;sortby=serialnum", "" )); +myMenu18.add(new WebFXMenuItem("All cable subscribers by MAC address", "http://localhost/freeside/search/cust_svc.html?svcdb=svc_cable;magic=all;sortby=mac_addr", "" )); +myMenu18.width = 256; + +myMenu10.add(new WebFXMenuItem("Cable Subscribers", null, "Cable Subscribers", myMenu18 )); +var myMenu19 = new WebFXMenu; +myMenu19.emptyText = ''; +myMenu19.add(new WebFXMenuItem("All DSLs", "http://localhost/freeside/search/cust_svc.html?svcdb=svc_dsl;magic=all;sortby=phonenum", "" )); +myMenu19.add(new WebFXMenuItem("Qualifications", "http://localhost/freeside/search/qual.cgi", "" )); +myMenu19.width = 256; + +myMenu10.add(new WebFXMenuItem("DSLs", null, "DSLs", myMenu19 )); +var myMenu20 = new WebFXMenu; +myMenu20.emptyText = ''; +myMenu20.add(new WebFXMenuItem("All dish services", "http://localhost/freeside/search/svc_dish.cgi?magic=all;sortby=svcnum", "" )); +myMenu20.width = 256; + +myMenu10.add(new WebFXMenuItem("Dish services", null, "Dish services", myMenu20 )); +var myMenu21 = new WebFXMenu; +myMenu21.emptyText = ''; +myMenu21.add(new WebFXMenuItem("All hardware", "http://localhost/freeside/search/svc_hardware.cgi?magic=all;sortby=svcnum", "" )); +myMenu21.add(new WebFXMenuItem("Advanced hardware reports", "http://localhost/freeside/search/report_svc_hardware.html", "" )); +myMenu21.width = 256; + +myMenu10.add(new WebFXMenuItem("Hardware", null, "Hardware", myMenu21 )); +var myMenu22 = new WebFXMenu; +myMenu22.emptyText = ''; +myMenu22.add(new WebFXMenuItem("All phone numbers", "http://localhost/freeside/search/svc_phone.cgi?magic=all;sortby=phonenum", "" )); +myMenu22.add(new WebFXMenuItem("Phone numbers' total usage by time period", "http://localhost/freeside/search/report_svc_phone_usage.html", "Total usage (minutes, and amount billed) for the specified time period, per phone number." )); +myMenu22.add(new WebFXMenuItem("Phone numbers by state", "http://localhost/freeside/search/phone_state.html", "Current or historical phone services broken down by state." )); +myMenu22.add(new WebFXMenuItem("Advanced phone number reports", "http://localhost/freeside/search/report_svc_phone.html", "" )); +myMenu22.add(new WebFXMenuItem("Phone number (DID) availability", "http://localhost/freeside/search/report_phone_avail.html", "" )); +myMenu22.add(new WebFXMenuItem("Inventory/Provisioning Status", "http://localhost/freeside/search/phone_inventory_provisioned.html", "" )); +myMenu22.width = 256; + +myMenu10.add(new WebFXMenuItem("Phone numbers", null, "Phone numbers", myMenu22 )); +var myMenu23 = new WebFXMenu; +myMenu23.emptyText = ''; +myMenu23.add(new WebFXMenuItem("All PBXs", "http://localhost/freeside/search/cust_svc.html?svcdb=svc_pbx;magic=all;sortby=svcnum", "" )); +myMenu23.width = 256; + +myMenu10.add(new WebFXMenuItem("PBXs", null, "PBXs", myMenu23 )); +var myMenu24 = new WebFXMenu; +myMenu24.emptyText = ''; +myMenu24.add(new WebFXMenuItem("All circuits", "http://localhost/freeside/search/svc_circuit.cgi?magic=all;sortby=svcnum", "" )); +myMenu24.width = 256; + +myMenu10.add(new WebFXMenuItem("Circuits", null, "Voice and data circuit services", myMenu24 )); +var myMenu25 = new WebFXMenu; +myMenu25.emptyText = ''; +myMenu25.add(new WebFXMenuItem("All ports", "http://localhost/freeside/search/cust_svc.html?svcdb=svc_port;magic=all;sortby=serviceid", "" )); +myMenu25.width = 256; + +myMenu10.add(new WebFXMenuItem("Ports", null, "Ports", myMenu25 )); +var myMenu26 = new WebFXMenu; +myMenu26.emptyText = ''; +myMenu26.add(new WebFXMenuItem("All alarm services", "http://localhost/freeside/search/cust_svc.html?svcdb=svc_alarm;magic=all;sortby=acctnum", "" )); +myMenu26.width = 256; + +myMenu10.add(new WebFXMenuItem("Alarm services", null, "Alarm services", myMenu26 )); +var myMenu27 = new WebFXMenu; +myMenu27.emptyText = ''; +myMenu27.add(new WebFXMenuItem("All external services", "http://localhost/freeside/search/svc_external.cgi?magic=all;sortby=id", "" )); +myMenu27.width = 256; + +myMenu10.add(new WebFXMenuItem("External services", null, "External services", myMenu27 )); +myMenu10.width = 256; + +myMenu0.add(new WebFXMenuItem("Services", null, "Services reports", myMenu10 )); +var myMenu28 = new WebFXMenu; +myMenu28.emptyText = ''; +myMenu28.add(new WebFXMenuItem("Inventory by agent", "http://localhost/freeside/search/report_agent_inventory.html", "" )); +myMenu28.add(new WebFXMenuItem("Inventory activity", "http://localhost/freeside/search/report_h_inventory_item.html", "" )); +myMenu28.width = 256; + +myMenu0.add(new WebFXMenuItem("Inventory", null, "Inventory reports", myMenu28 )); +var myMenu29 = new WebFXMenu; +myMenu29.emptyText = ''; +myMenu29.add(new WebFXMenuItem("RADIUS sessions", "http://localhost/freeside/search/sqlradius.html", "" )); +myMenu29.add(new WebFXMenuItem("RADIUS data usage", "http://localhost/freeside/search/report_sqlradius_usage.html", "" )); +myMenu29.add(new WebFXMenuItem("Call Detail Records (CDRs)", "http://localhost/freeside/search/report_cdr.html", "" )); +myMenu29.add(new WebFXMenuItem("Unrateable CDRs", "http://localhost/freeside/search/cdr.html?freesidestatus=failed;cdrbatchnum=_ALL_", "" )); +myMenu29.width = 256; + +myMenu0.add(new WebFXMenuItem("Usage", null, "Usage reports", myMenu29 )); +var myMenu30 = new WebFXMenu; +myMenu30.emptyText = ''; +var myMenu31 = new WebFXMenu; +myMenu31.emptyText = ''; +myMenu31.add(new WebFXMenuItem("Tickets per day per Queue", "http://localhost/freeside/rt/RTx/Statistics/CallsQueueDay", "View the number of tickets created, resolved or deleted in a specific Queue, over the requested period of days" )); +myMenu31.add(new WebFXMenuItem("Ticket status by Queue", "http://localhost/freeside/rt/RTx/Statistics/OpenStalled", "View numbers of new, open and stalled tickets in a selected Queue" )); +myMenu31.add(new WebFXMenuItem("Tickets per day (multiple Queues)", "http://localhost/freeside/rt/RTx/Statistics/CallsMultiQueue", "View tickets created, resolved or deleted on in one or more Queues over a specified time period" )); +myMenu31.add(new WebFXMenuItem("Tickets per Day of Week", "http://localhost/freeside/rt/RTx/Statistics/DayOfWeek", "View trends showing when tickets are created, resolved or deleted" )); +myMenu31.add(new WebFXMenuItem("Time to resolve", "http://localhost/freeside/rt/RTx/Statistics/Resolution", "View how long tickets take to be resolved by Queue" )); +myMenu31.add(new WebFXMenuItem("Time to resolve (scatter graph)", "http://localhost/freeside/rt/RTx/Statistics/TimeToResolve", "View a detailed scatter graph of time to resolve tickets by Queue" )); +myMenu31.width = 256; + +myMenu30.add(new WebFXMenuItem("Statistics", null, "", myMenu31 )); +myMenu30.add(new WebFXMenuSeparator()); +myMenu30.add(new WebFXMenuItem("Advanced ticket reports", "http://localhost/freeside/rt/Search/Build.html?NewQuery=1", "List tickets by any criteria" )); +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.width = 256; + +myMenu0.add(new WebFXMenuItem("Billing events", null, "Billing events", myMenu33 )); +var myMenu34 = new WebFXMenu; +myMenu34.emptyText = ''; +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.width = 256; + +myMenu34.add(new WebFXMenuItem("Sales", null, "Sales 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.width = 256; + +myMenu34.add(new WebFXMenuItem("Credits", null, "Credit reports", myMenu36 )); +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.width = 256; + +myMenu34.add(new WebFXMenuItem("Refunds", null, "Refund reports", 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.width = 256; + +myMenu0.add(new WebFXMenuItem("Logs", null, "System and email logs", myMenu39 )); +myMenu0.width = 256; + + myBar.add(new WebFXMenuButton('Reports', null, 'Lists, reporting and graphing', myMenu0 )); + + + 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 = ''; +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.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" )); +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.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 )); + + + var myMenu45 = new WebFXMenu; +myMenu45.emptyText = ''; +myMenu45.add(new WebFXMenuItem("Settings", "http://localhost/freeside/config/config-view.cgi", "" )); +myMenu45.add(new WebFXMenuSeparator()); +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.width = 256; + +myMenu45.add(new WebFXMenuItem("Companies", null, "", 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.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; + +myMenu45.add(new WebFXMenuItem("Employees", null, "", myMenu48 )); +myMenu45.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.width = 256; + +myMenu45.add(new WebFXMenuItem("Customers", 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", "" )); +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.width = 256; + +myMenu50.add(new WebFXMenuItem("Cancel/Suspend Reasons", null, "", myMenu51 )); +myMenu50.width = 256; + +myMenu45.add(new WebFXMenuItem("Packages", null, "", myMenu50 )); +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" )); +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 )); +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.width = 256; + +myMenu52.add(new WebFXMenuItem("Wireless broadband", null, "", myMenu54 )); +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 )); +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.width = 256; + +myMenu52.add(new WebFXMenuItem("RADIUS", 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.width = 256; + +myMenu52.add(new WebFXMenuItem("Cable", 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.width = 256; + +myMenu52.add(new WebFXMenuItem("Alarm", 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.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()); +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" )); +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.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()); +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.width = 256; + +myMenu45.add(new WebFXMenuItem("Miscellaneous", null, "", myMenu62 )); +myMenu45.width = 256; + + myBar.add(new WebFXMenuButton('Configuration', null, 'Configuration and setup', myMenu45 )); + + + 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('Help', null, '', myMenu63 )); + + + myBar.show( null, 'vertical' ); + myBar.width = 154; + +</SCRIPT> + + + + + + <SCRIPT TYPE="text/javascript"> + + function rs_init_object() { + var A; + try { + A=new ActiveXObject("Msxml2.XMLHTTP"); + } catch (e) { + try { + A=new ActiveXObject("Microsoft.XMLHTTP"); + } catch (oc) { + A=null; + } + } + if(!A && typeof XMLHttpRequest != "undefined") + A = new XMLHttpRequest(); + if (!A) + alert("Can't create XMLHttpRequest object"); + return A; + + } + +</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"> + <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> + </td> + <td align=right valign=top BGCOLOR="#ffffff"><FONT SIZE="-1">Logged in as <b>test </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> + <BR></FONT> + </td> + </tr> + </table> + + <TABLE WIDTH="100%" CELLSPACING=0 CELLPADDING=0> + +<link href="http://localhost/freeside/elements/freeside-menu.css" type="text/css" rel="stylesheet"> + + + <TR CLASS="fsmenubar"> + + + <TD COLSPAN="7" WIDTH="100%" STYLE="padding:1px 0px 0px 0px;border-top: 1px solid #7e0079" BGCOLOR="#cccccc"> + <SCRIPT TYPE="text/javascript"> + document.write(myBar); + </SCRIPT> + </TD> + + </TR> + + <TR CLASS="fssearchbar"> + + <TD COLSPAN=1 BGCOLOR="#cccccc" 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> + <A HREF="http://localhost/freeside/search/report_prospect_main.html" CLASS="fslink" STYLE="font-size: 11px">Adv</A> + <INPUT TYPE="submit" VALUE="Search prospects" CLASS="fsblackbutton" onMouseOver="this.className='fsblackbuttonselected'; return true;" onMouseOut="this.className='fsblackbutton'; return true;" STYLE="font-size:11px;padding-left:1px;padding-right:1px"> + </FORM> + + + +<SCRIPT TYPE="text/javascript"> + + function clearhint_search_prospect (what) { + if ( what.value == '(name, company or phone)' ) + what.value = ''; + } + +</SCRIPT> + + </TD> + + <TD COLSPAN=1 BGCOLOR="#cccccc" 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> + <A HREF="http://localhost/freeside/search/report_cust_main.html" CLASS="fslink" STYLE="font-size: 11px">Advanced</A> + <INPUT TYPE="submit" VALUE="Search customers" CLASS="fsblackbutton" onMouseOver="this.className='fsblackbuttonselected'; return true;" onMouseOut="this.className='fsblackbutton'; return true;" STYLE="font-size:11px"> + </FORM> + + + +<SCRIPT TYPE="text/javascript"> + + function clearhint_search_cust (what) { + if ( what.value == '(cust #, name, company or contact phone)' ) + what.value = ''; + } + +</SCRIPT> + + </TD> + + <TD COLSPAN=1 BGCOLOR="#cccccc" ALIGN="center"> + +<SCRIPT TYPE="text/javascript"> + + function clearhint_search_address2 (what) { + if ( what.value == '(Unit #)' ) + what.value = ''; + } + +</SCRIPT> + + </TD> + + <TD COLSPAN=1 BGCOLOR="#cccccc" 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"> + <A HREF="http://localhost/freeside/search/report_cust_bill.html" CLASS="fslink" STYLE="font-size: 11px">Adv</A> <BR> + <INPUT TYPE="submit" VALUE="Search invoices" CLASS="fsblackbutton" onMouseOver="this.className='fsblackbuttonselected'; return true;" onMouseOut="this.className='fsblackbutton'; return true;" STYLE="font-size:11px;padding-left:1px;padding-right:1px;margin-top:3px"> + </FORM> + + + +<SCRIPT TYPE="text/javascript"> + + function clearhint_search_invoice (what) { + if ( what.value == '(inv #)' ) + what.value = ''; + } + +</SCRIPT> + + </TD> + + <TD COLSPAN=1 BGCOLOR="#cccccc" 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> + <A NOTYET="http://localhost/freeside/search/svc_Smarter.html" STYLE="color: #cccccc; font-size:11px">Advanced</A> + <INPUT TYPE="submit" VALUE="Search services" CLASS="fsblackbutton" onMouseOver="this.className='fsblackbuttonselected'; return true;" onMouseOut="this.className='fsblackbutton'; return true;" STYLE="font-size:11px"> + </FORM> + + + +<SCRIPT TYPE="text/javascript"> + + function clearhint_search_svc (what) { + if ( what.value == '(user, email, ip, mac, domain or service phone)' ) + what.value = ''; + } + +</SCRIPT> + + </TD> + + <TD COLSPAN=1 BGCOLOR="#cccccc" 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> + <A HREF="http://localhost/freeside//rt/Search/Build.html?NewQuery=1" CLASS="fslink" STYLE="font-size:11px">Advanced</A> + <INPUT TYPE="submit" VALUE="Search tickets" CLASS="fsblackbutton" onMouseOver="this.className='fsblackbuttonselected'; return true;" onMouseOut="this.className='fsblackbutton'; return true;" STYLE="font-size:11px"> + </FORM> + + + +<SCRIPT TYPE="text/javascript"> + + function clearhint_search_ticket (what) { + if ( what.value == '(ticket #, subject, email or fulltext:text)' ) + what.value = ''; + } + +</SCRIPT> + + </TD> + + </TR> + </TABLE> + + + + <TABLE WIDTH="100%" HEIGHT="100%" CELLSPACING=0 CELLPADDING=4> + + <TR HEIGHT="100%"> + + <TD CLASS="background" HEIGHT="100%" VALIGN="top"> <!-- WIDTH="100%"> --> + + <FONT SIZE=6> + Edit Package definition + </FONT> + + <BR><BR> + + + <A HREF="http://localhost/freeside/browse/part_pkg.cgi" >View all Package definitions</A> + +<BR><BR> + + + <SCRIPT TYPE="text/javascript" SRC="http://localhost/freeside/elements/overlibmws.js"></SCRIPT> + <SCRIPT TYPE="text/javascript" SRC="http://localhost/freeside/elements/overlibmws_iframe.js"></SCRIPT> + <SCRIPT TYPE="text/javascript" SRC="http://localhost/freeside/elements/overlibmws_draggable.js"></SCRIPT> + <SCRIPT TYPE="text/javascript" SRC="http://localhost/freeside/elements/overlibmws_crossframe.js"></SCRIPT> + <SCRIPT TYPE="text/javascript" SRC="http://localhost/freeside/elements/iframecontentmws.js"></SCRIPT> + <SCRIPT TYPE="text/javascript" SRC="http://localhost/freeside/elements/ajaxcontentmws.js"></SCRIPT> + <SCRIPT TYPE="text/javascript"> + + function freq_changed(what) { + var freq = what.options[what.selectedIndex].value; + + if ( freq == '0' ) { + what.form.recur_fee.disabled = true; + what.form.recur_fee.style.backgroundColor = '#dddddd'; + what.form.recur_show_zero.disabled = true; + //what.form.recur_show_zero.style.backgroundColor= '#dddddd'; + } else { + what.form.recur_fee.disabled = false; + what.form.recur_fee.style.backgroundColor = '#ffffff'; + recur_changed( what.form.recur_fee ); + //what.form.recur_show_zero.style.backgroundColor= '#ffffff'; + } + + } + + function setup_changed(what) { + var setup = what.value; + if ( parseFloat(setup) == 0 ) { + what.form.setup_show_zero.disabled = false; + } else { + what.form.setup_show_zero.disabled = true; + } + } + + function recur_changed(what) { + var recur = what.value; + if ( parseFloat(recur) == 0 ) { + what.form.recur_show_zero.disabled = false; + } else { + what.form.recur_show_zero.disabled = true; + } + } + + function agent_changed(what) { + + var agentnum; + if ( what.type == 'select-one' ) { + agentnum = what.options[what.selectedIndex].value; + } else { + agentnum = what.value; + } + + if ( agentnum == 0 ) { + what.form.agent_type.disabled = false; + //what.form.agent_type.style.backgroundColor = '#ffffff'; + what.form.agent_type.style.visibility = ''; + } else { + what.form.agent_type.disabled = true; + //what.form.agent_type.style.backgroundColor = '#dddddd'; + what.form.agent_type.style.visibility = 'hidden'; + } + + } + + function aux_planchanged(what) { //? + + var plan = what.options[what.selectedIndex].value; + var table = document.getElementById('TableNumber6') // XXX NOT ROBUST + + if ( plan == 'flat' || plan == 'prorate' || plan == 'subscription' ) { + //table.disabled = false; + table.style.visibility = ''; + } else { + //table.disabled = true; + table.style.visibility = 'hidden'; + } + + } + + // some magic to make "supplemental packages" less obvious + var supp_pkg_rows = []; + function show_supp_pkgs_click() { + supp_pkg_rows[0].style.display = ''; + this.onclick = ''; + this.style.backgroundColor = ''; + this.style.border = ''; + this.style.padding = ''; + } + + function hide_supp_pkgs() { + var all_selects = document.getElementsByTagName('select'); + for (var i=0; i < all_selects.length; i++) { + if ( all_selects[i].id.match(/^supp_dst_pkgpart/) ) { + supp_pkg_rows.push( all_selects[i].parentNode.parentNode ); + } + } + if ( supp_pkg_rows.length == 1 ) { + // there are none configured, so hide the row to create a new one + supp_pkg_rows[0].style.display = 'none'; + var button = document.getElementById('show_supp_pkgs'); + button.onclick = show_supp_pkgs_click; + button.style.backgroundColor = '#cccccc'; + button.style.border = '1px solid #7e0079'; + button.style.padding = '1px'; + } + } + + function finish_edit_fcc(id) { + cClick(); + show_fcc_options(id); // refresh the display + } + +function confirm_submit(f) { + return true; +} +</SCRIPT> + + + + + <FORM NAME = "edit_topform" + METHOD = POST + ACTION = "http://localhost/freeside/edit/process/part_pkg.cgi" + onSubmit="return confirm_submit(this)" + > + + <INPUT TYPE="hidden" NAME="svcdb" VALUE="part_pkg"> + <INPUT TYPE="hidden" NAME="pkgpart" VALUE="2"> + + <FONT SIZE="+1"><B> + Package Definition + </B></FONT> + #2 + + +<TABLE ID="TableNumber0" BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0> + + + <INPUT TYPE = "hidden" + NAME = "clone" + ID = "clone" + VALUE = "" +> + + + + + + <INPUT TYPE = "hidden" + NAME = "pkgnum" + ID = "pkgnum" + VALUE = "" +> + + + + + + <INPUT TYPE = "hidden" + NAME = "custom" + ID = "custom" + VALUE = "" +> + + + + + + <INPUT TYPE = "hidden" + NAME = "family_pkgpart" + ID = "family_pkgpart" + VALUE = "2" +> + + + + + + <INPUT TYPE = "hidden" + NAME = "successor" + ID = "successor" + VALUE = "" +> + + + + + + <TR> + <TD CLASS="background" COLSPAN=99> + <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 id="table00000000"> + <TR> + <TD VALIGN="top"> + <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0> + + + + + <TR> + + <TD ALIGN = "right" + VALIGN = "top" + STYLE = "padding-top: 3px" + ID = "pkg_label" + >Package</TD> + + + + <TD ID="pkg_input0"><INPUT TYPE = "text" + NAME = "pkg" + ID = "pkg" + VALUE = "Monthly prorated account" + SIZE="40" + MAXLENGTH="50" + + + + + > +</TD> + +</TR> + + + + + + <TR> + + <TD ALIGN = "right" + VALIGN = "top" + STYLE = "padding-top: 3px" + ID = "comment_label" + >Comment (customer-hidden)</TD> + + + + <TD ID="comment_input0"><INPUT TYPE = "text" + NAME = "comment" + ID = "comment" + VALUE = "" + SIZE="40" + + + + + + > +</TD> + +</TR> + + + + + + + <INPUT TYPE = "hidden" + NAME = "agentnum" + ID = "agentnum" + VALUE = "1" + > + + <TR> + </TR> + + + + + + + <TR> + <TD ALIGN="right">Package class</TD> + <TD> + +<SELECT + NAME = "classnum" + ID = "classnum" + + + +> + + + <OPTION VALUE="">(none) + + <OPTION VALUE="1" + + > + Fees + + +</SELECT> + + + + </TD> + </TR> + + + + + + + <TR> + + <TD ALIGN = "right" + VALIGN = "top" + STYLE = "padding-top: 3px" + ID = "disabled_label" + >Disable new orders</TD> + + + + <TD > + <INPUT TYPE = "checkbox" + NAME = "disabled" + ID = "disabled" + VALUE = "Y" + + + + > + + </TD> + +</TR> + + + + + + <TR> + + <TD ALIGN = "right" + VALIGN = "top" + STYLE = "padding-top: 3px" + ID = "disable_line_item_date_ranges_label" + >Disable line item date ranges</TD> + + + + <TD > + <INPUT TYPE = "checkbox" + NAME = "disable_line_item_date_ranges" + ID = "disable_line_item_date_ranges" + VALUE = "Y" + + + + > + + </TD> + +</TR> + + + + + + <TR> + + <TD ALIGN = "right" + VALIGN = "top" + STYLE = "padding-top: 3px" + ID = "start_on_hold_label" + >Start on hold</TD> + + + + <TD > + <INPUT TYPE = "checkbox" + NAME = "start_on_hold" + ID = "start_on_hold" + VALUE = "Y" + + + + > + + </TD> + +</TR> + + + + + + </TABLE> + +<TABLE ID="TableNumber1" BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0> + +<TR> + <TD CLASS="background" COLSPAN=2> </TD> +</TR> + +<TR> + <TH CLASS="background" COLSPAN=2 ALIGN="left" > + <FONT SIZE="+1">Pricing</FONT> + </TH> +</TR> + + + + + + + + + + <TR> + + <TD ALIGN = "right" + VALIGN = "top" + STYLE = "padding-top: 3px" + ID = "plan_label" + >Price plan</TD> + + + + <TD > + + + + <SELECT NAME = "plan" + ID = "plan" + previousValue = "prorate" + previousText = "Prorate (Nth of month billing)" + onChange="planchanged(this);" + > + + + <OPTION VALUE="flat" + + >Anniversary</OPTION> + + + <OPTION VALUE="flat_delayed" + + >Anniversary, with intro period</OPTION> + + + <OPTION VALUE="flat_introrate" + + >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_delayed" + + >Prorate (Nth of month billing), with intro period</OPTION> + + + <OPTION VALUE="prepaid" + + >Prepaid, no automatic cycle</OPTION> + + + <OPTION VALUE="subscription" + + >Subscription (Nth of month, full charge for first)</OPTION> + + + <OPTION VALUE="sqlradacct_hour" + + >Usage charges from RADIUS</OPTION> + + + <OPTION VALUE="sqlradacct_daily" + + >Daily usage charges from RADIUS</OPTION> + + + <OPTION VALUE="voip_cdr" + + >VoIP/telco CDR rating (standard)</OPTION> + + + <OPTION VALUE="voip_inbound" + + >VoIP/telco CDR rating (inbound)</OPTION> + + + <OPTION VALUE="voip_tiered" + + >VoIP/telco CDR tiered rating</OPTION> + + + <OPTION VALUE="cdr_termination" + + >VoIP/telco CDR termination</OPTION> + + + <OPTION VALUE="prepaid_nibblebill" + + >Prepaid FreeSWITCH mod_nibblebill</OPTION> + + + <OPTION VALUE="bulk_simple" + + >Bulk billing based on number of active services (at invoice generation)</OPTION> + + + <OPTION VALUE="bulk" + + >Bulk billing based on number of active services (during billing period)</OPTION> + + + <OPTION VALUE="agent" + + >Wholesale bulk billing for agent</OPTION> + + + <OPTION VALUE="agent_cdr" + + >Wholesale CDR cost billing for agent</OPTION> + + + <OPTION VALUE="torrus_bw_percentile" + + >Bandwidth (95th percentile)</OPTION> + + + <OPTION VALUE="torrus_bw_usage" + + >Bandwidth (volume)</OPTION> + + + <OPTION VALUE="rt_time" + + >Project Billing (RT)</OPTION> + + + <OPTION VALUE="sql_generic" + + >Bulk (per-domain from SQL query)</OPTION> + + + <OPTION VALUE="sql_external" + + >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" + + >Commission per (selected) active package</OPTION> + + + </SELECT> + + + + + </TD> + + </TR> + + + + + + + + <TR> + + <TD ALIGN = "right" + VALIGN = "top" + STYLE = "padding-top: 3px" + ID = "setup_fee_label" + >Setup fee</TD> + + + + <TD ID="setup_fee_input0">$<INPUT TYPE = "text" + NAME = "setup_fee" + ID = "setup_fee" + VALUE = "20" + SIZE="8" + + + + + onChange="setup_changed(this)" onKeyDown="setup_changed(this)" onKeyUp="setup_changed(this)" onKeyPress="setup_changed(this)" + > +</TD> + +</TR> + + + + + + + + <TR> + + <TD ALIGN = "right" + VALIGN = "top" + STYLE = "padding-top: 3px" + ID = "setup_show_zero_label" + >Show zero setup</TD> + + + + <TD > + <INPUT TYPE = "checkbox" + NAME = "setup_show_zero" + ID = "setup_show_zero" + VALUE = "Y" + + DISABLED + + > + + </TD> + +</TR> + + + + + + + <TR> + + <TD ALIGN = "right" + VALIGN = "top" + STYLE = "padding-top: 3px" + ID = "freq_label" + >Recurring fee frequency</TD> + + + + <TD > + + +<SELECT NAME = "freq" + ID = "freq" + previousValue = "1" + previousText = "monthly" + + + + + onChange="freq_changed(this)" +> + + + <OPTION VALUE="0" + + > + (no recurring fee) + </OPTION> + + + <OPTION VALUE="1h" + + > + hourly + </OPTION> + + + <OPTION VALUE="1d" + + > + daily + </OPTION> + + + <OPTION VALUE="2d" + + > + every two days + </OPTION> + + + <OPTION VALUE="3d" + + > + every three days + </OPTION> + + + <OPTION VALUE="1w" + + > + weekly + </OPTION> + + + <OPTION VALUE="2w" + + > + biweekly (every 2 weeks) + </OPTION> + + + <OPTION VALUE="1" + SELECTED + > + monthly + </OPTION> + + + <OPTION VALUE="45d" + + > + every 45 days + </OPTION> + + + <OPTION VALUE="2" + + > + bimonthly (every 2 months) + </OPTION> + + + <OPTION VALUE="3" + + > + quarterly (every 3 months) + </OPTION> + + + <OPTION VALUE="4" + + > + every 4 months + </OPTION> + + + <OPTION VALUE="137d" + + > + every 4 1/2 months (137 days) + </OPTION> + + + <OPTION VALUE="6" + + > + semiannually (every 6 months) + </OPTION> + + + <OPTION VALUE="12" + + > + annually + </OPTION> + + + <OPTION VALUE="13" + + > + every 13 months (annually +1 month) + </OPTION> + + + <OPTION VALUE="24" + + > + biannually (every 2 years) + </OPTION> + + + <OPTION VALUE="36" + + > + triannually (every 3 years) + </OPTION> + + + <OPTION VALUE="48" + + > + (every 4 years) + </OPTION> + + + <OPTION VALUE="60" + + > + (every 5 years) + </OPTION> + + + <OPTION VALUE="120" + + > + (every 10 years) + </OPTION> + + +</SELECT> + + + + </TD> + </TR> + + + + + + <TR> + + <TD ALIGN = "right" + VALIGN = "top" + STYLE = "padding-top: 3px" + ID = "recur_fee_label" + >Recurring fee</TD> + + + + <TD ID="recur_fee_input0">$<INPUT TYPE = "text" + NAME = "recur_fee" + ID = "recur_fee" + VALUE = "30" + SIZE="8" + + + + 0 + onChange="recur_changed(this)" onKeyDown="recur_changed(this)" onKeyUp="recur_changed(this)" onKeyPress="recur_changed(this)" + > +</TD> + +</TR> + + + + + + + + <TR> + + <TD ALIGN = "right" + VALIGN = "top" + STYLE = "padding-top: 3px" + ID = "recur_show_zero_label" + >Show zero recurring</TD> + + + + <TD > + <INPUT TYPE = "checkbox" + NAME = "recur_show_zero" + ID = "recur_show_zero" + VALUE = "Y" + + DISABLED + + > + + </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> + + <TD 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> + + <TD 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" + + + + > + + </TD> + +</TR> + + + + + + + <INPUT TYPE="hidden" NAME="taxclass" VALUE=""> + + + + + + <INPUT TYPE = "hidden" + NAME = "taxproductnums" + ID = "taxproductnums" + VALUE = "setup,recur,1,2,3" +> + + + + + + + <TR> + + <TD ALIGN = "right" + VALIGN = "top" + STYLE = "padding-top: 3px; display:none" + ID = "taxproduct_select_label" + >Tax products</TD> + + + + <TD STYLE="display:none"> + + + + + <DIV ID="taxproduct_selectd(default)" + STYLE="display: none; z-index: 0" + > + + <TABLE> <INPUT TYPE="hidden" NAME="taxproductnum" VALUE=""> + + <INPUT TYPE="hidden" NAME="tax_override" VALUE=""> + +</TABLE> + + </DIV> + + + <DIV ID="taxproduct_selectdsetup" + STYLE="display: none; z-index: 0" + > + + <TABLE> <INPUT TYPE="hidden" NAME="taxproductnum_setup" VALUE=""> + + <INPUT TYPE="hidden" NAME="tax_override_setup" VALUE=""> + +</TABLE> + + </DIV> + + + <DIV ID="taxproduct_selectdrecur" + STYLE="display: none; z-index: 0" + > + + <TABLE> <INPUT TYPE="hidden" NAME="taxproductnum_recur" VALUE=""> + + <INPUT TYPE="hidden" NAME="tax_override_recur" VALUE=""> + +</TABLE> + + </DIV> + + + <DIV ID="taxproduct_selectd1" + STYLE="display: none; z-index: 0" + > + + <TABLE> <INPUT TYPE="hidden" NAME="taxproductnum_1" VALUE=""> + + <INPUT TYPE="hidden" NAME="tax_override_1" VALUE=""> + +</TABLE> + + </DIV> + + + <DIV ID="taxproduct_selectd2" + STYLE="display: none; z-index: 0" + > + + <TABLE> <INPUT TYPE="hidden" NAME="taxproductnum_2" VALUE=""> + + <INPUT TYPE="hidden" NAME="tax_override_2" VALUE=""> + +</TABLE> + + </DIV> + + + <DIV ID="taxproduct_selectd3" + STYLE="display: none; z-index: 0" + > + + <TABLE> <INPUT TYPE="hidden" NAME="taxproductnum_3" VALUE=""> + + <INPUT TYPE="hidden" NAME="tax_override_3" VALUE=""> + +</TABLE> + + </DIV> + + + + + + </TD> + + </TR> + + + + + + + </TABLE> + +<TABLE ID="TableNumber2" BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0> + +<TR> + <TD CLASS="background" COLSPAN=2> </TD> +</TR> + +<TR> + <TH CLASS="background" COLSPAN=2 ALIGN="left" > + <FONT SIZE="+1">Promotions</FONT> + </TH> +</TR> + + + + + + + + + <TR> + + <TD ALIGN = "right" + VALIGN = "top" + STYLE = "padding-top: 3px" + ID = "promo_code_label" + >Promotional code</TD> + + + + <TD ID="promo_code_input0"><INPUT TYPE = "text" + NAME = "promo_code" + ID = "promo_code" + VALUE = "" + SIZE="15" + + + + + + > +</TD> + +</TR> + + + + + + </TABLE> + +<TABLE ID="TableNumber3" BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0> + +<TR> + <TD CLASS="background" COLSPAN=2> </TD> +</TR> + +<TR> + <TH CLASS="background" COLSPAN=2 ALIGN="left" > + <FONT SIZE="+1">Cost tracking</FONT> + </TH> +</TR> + + + + + + + + + <TR> + + <TD ALIGN = "right" + VALIGN = "top" + STYLE = "padding-top: 3px" + ID = "setup_cost_label" + >Setup cost</TD> + + + + <TD ID="setup_cost_input0">$<INPUT TYPE = "text" + NAME = "setup_cost" + ID = "setup_cost" + VALUE = "" + SIZE="8" + + + + + + > +</TD> + +</TR> + + + + + + + + <TR> + + <TD ALIGN = "right" + VALIGN = "top" + STYLE = "padding-top: 3px" + ID = "recur_cost_label" + >Recur cost</TD> + + + + <TD ID="recur_cost_input0">$<INPUT TYPE = "text" + NAME = "recur_cost" + ID = "recur_cost" + VALUE = "" + SIZE="8" + + + + + + > +</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">Agent (reseller) types</FONT> + </TH> +</TR> + + + + + + + <INPUT TYPE="hidden" NAME="agent_type" VALUE="1"> + + + + + + + </TABLE> + +<TABLE ID="TableNumber4" BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0> + +<TR> + <TD CLASS="background" COLSPAN=2> </TD> +</TR> + +<TR> + <TH CLASS="background" COLSPAN=2 ALIGN="left" > + <FONT SIZE="+1">External Links</FONT> + </TH> +</TR> + + + + + + + + + <TR> + + <TD ALIGN = "right" + VALIGN = "top" + STYLE = "padding-top: 3px" + ID = "agent_pkgpartid_label" + >External ID</TD> + + + + <TD ID="agent_pkgpartid_input0"><INPUT TYPE = "text" + NAME = "agent_pkgpartid" + ID = "agent_pkgpartid" + VALUE = "" + SIZE="21" + + + + + + > +</TD> + +</TR> + + + + + + </TABLE> + +<TABLE ID="TableNumber5" BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0> + +<TR> + <TD CLASS="background" COLSPAN=2> </TD> +</TR> + +<TR> + <TH CLASS="background" COLSPAN=2 ALIGN="left" > + <FONT SIZE="+1">Line-item revenue recogition</FONT> + </TH> +</TR> + + + + + + + + + <TR> + + <TD ALIGN = "right" + VALIGN = "top" + STYLE = "padding-top: 3px" + ID = "pay_weight_label" + >Payment weight</TD> + + + + <TD ID="pay_weight_input0"><INPUT TYPE = "text" + NAME = "pay_weight" + ID = "pay_weight" + VALUE = "" + SIZE="6" + + + + + + > +</TD> + +</TR> + + + + + + <TR> + + <TD ALIGN = "right" + VALIGN = "top" + STYLE = "padding-top: 3px" + ID = "credit_weight_label" + >Credit weight</TD> + + + + <TD ID="credit_weight_input0"><INPUT TYPE = "text" + NAME = "credit_weight" + ID = "credit_weight" + VALUE = "" + SIZE="6" + + + + + + > +</TD> + +</TR> + + + + + + </TABLE> + </TD> + </TR> + </TABLE> + </TD> +</TR> + + + + + <INPUT TYPE = "hidden" + NAME = "census_title" + ID = "census_title" + VALUE = "Optional report classes" +> + + + + + + <INPUT TYPE = "hidden" + NAME = "report_option" + ID = "report_option" + VALUE = "" +> + + + + + + </TABLE> + +<TABLE ID="TableNumber6" BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0> + +<TR> + <TD CLASS="background" COLSPAN=2> </TD> +</TR> + +<TR> + <TH CLASS="background" COLSPAN=2 ALIGN="left" > + <FONT SIZE="+1">Term discounts</FONT> + </TH> +</TR> + + + + + + + + + <TR> + + <TD ALIGN = "right" + VALIGN = "top" + STYLE = "padding-top: 3px" + ID = "discountnum_label0" + >Offer discounts for longer terms</TD> + + + <TD COLSPAN="1"> + +<SELECT + NAME = "discountnum0" + ID = "discountnum0" + onChange=" +spawn_discountnum(this);" + + +> + + + <OPTION VALUE="">Select discount + + + +</SELECT> + + + </TD> + + + </TR> + + + <SCRIPT TYPE="text/javascript"> + + var discountnum_rownum = 3; + var discountnum_fieldnum = 0; + + function spawn_discountnum(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] != discountnum_fieldnum ) { + return; + } + + // change the label on the last entry & add a remove button + var prev_label = document.getElementById('discountnum_label' + discountnum_fieldnum ); + prev_label.innerHTML = '<INPUT TYPE="button" VALUE="X" TITLE="Remove this offer discounts for longer terms" onClick="remove_discountnum(' + discountnum_fieldnum + ');" STYLE="color:#ff0000;font-weight:bold;padding-left:2px;padding-right:2px" > Offer discounts for longer terms'; + + discountnum_fieldnum++; + + //get the new widget + + + var newrow = '\n<SELECT \n NAME = "discountnumMAGIC_NUMBER"\n ID = "discountnumMAGIC_NUMBER"\n onChange="\nspawn_discountnum(this);"\n \n \n>\n\n\n <OPTION VALUE="">Select discount\n\n\n\n</SELECT>\n\n'; + + var newfunc = ''; + + // substitute in the new field name + var magic_regex = /MAGIC_NUMBER/g; + newrow = newrow.replace( magic_regex, discountnum_fieldnum ); + newfunc = newfunc.replace( magic_regex, discountnum_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('TableNumber6'); + + var row = table.insertRow(discountnum_rownum++); + + var label_cell = document.createElement('TD'); + + label_cell.id = 'discountnum_label' + discountnum_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 = 'Offer discounts for longer terms'; + + 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_discountnum(remove_fieldnum) { + //alert("remove discountnum " + remove_fieldnum); + var select = document.getElementById('discountnum' + remove_fieldnum); + + if ( ! select ) { + alert("can't find element discountnum" + 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('discountnum_label' + remove_fieldnum ); + label_td.parentNode.style.display = 'none'; + + + } + + </SCRIPT> + + + + </TABLE> + +<TABLE ID="TableNumber7" BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0> + +<TR> + <TD CLASS="background" COLSPAN=4> </TD> +</TR> + +<TR> + <TH CLASS="background" COLSPAN=4 ALIGN="left" > + <FONT SIZE="+1">Pricing add-ons</FONT> + </TH> +</TR> + + + + + + + + + <TR> + + <TD ALIGN = "right" + VALIGN = "top" + STYLE = "padding-top: 3px" + ID = "bill_dst_pkgpart_label0" + >Include line item(s) from package</TD> + + + <TD COLSPAN="1"> + + +<SELECT + NAME = "bill_dst_pkgpart0" + ID = "bill_dst_pkgpart0" + onChange=" +spawn_bill_dst_pkgpart(this);" + + +> + + + <OPTION VALUE="">Select package + + <OPTION VALUE="4" + + > + 4: Annual subscription domain + <OPTION VALUE="5" + + > + 5: Monthly anniversary phone x4 + <OPTION VALUE="3" + + > + 3: Monthly prorated broadband + <OPTION VALUE="1" + + > + 1: System Domain - (NOT FOR CUSTOMERS) + + +</SELECT> + + + + </TD> + + + <TD id='bill_dst_pkgpart__hidden_label0' + style='text-align:right;vertical-align:top; + border-top:1px solid black;padding-top:5px;'> + Bundle + </TD> + <TD style='border-top:1px solid black;padding-top:3px;'> + <INPUT TYPE = "checkbox" + NAME = "bill_dst_pkgpart__hidden0" + ID = "bill_dst_pkgpart__hidden0" + VALUE = "Y" + + + + > + + </TD> + + </TR> + + + <SCRIPT TYPE="text/javascript"> + + var bill_dst_pkgpart_rownum = 3; + var bill_dst_pkgpart_fieldnum = 0; + + function spawn_bill_dst_pkgpart(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] != bill_dst_pkgpart_fieldnum ) { + return; + } + + // change the label on the last entry & add a remove button + var prev_label = document.getElementById('bill_dst_pkgpart_label' + bill_dst_pkgpart_fieldnum ); + prev_label.innerHTML = '<INPUT TYPE="button" VALUE="X" TITLE="Remove this include line item(s) from package" onClick="remove_bill_dst_pkgpart(' + bill_dst_pkgpart_fieldnum + ');" STYLE="color:#ff0000;font-weight:bold;padding-left:2px;padding-right:2px" > Include line item(s) from package'; + + bill_dst_pkgpart_fieldnum++; + + //get the new widget + + + var newrow = '\n\n<SELECT \n NAME = "bill_dst_pkgpartMAGIC_NUMBER"\n ID = "bill_dst_pkgpartMAGIC_NUMBER"\n onChange="\nspawn_bill_dst_pkgpart(this);"\n \n \n>\n\n\n <OPTION VALUE="">Select package\n\n <OPTION VALUE="4"\n \n >\n 4: Annual subscription domain\n <OPTION VALUE="5"\n \n >\n 5: Monthly anniversary phone x4\n <OPTION VALUE="3"\n \n >\n 3: Monthly prorated broadband\n <OPTION VALUE="1"\n \n >\n 1: System Domain - (NOT FOR CUSTOMERS)\n\n\n</SELECT>\n\n\n'; + + var newfunc = ''; + + // substitute in the new field name + var magic_regex = /MAGIC_NUMBER/g; + newrow = newrow.replace( magic_regex, bill_dst_pkgpart_fieldnum ); + newfunc = newfunc.replace( magic_regex, bill_dst_pkgpart_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(bill_dst_pkgpart_rownum++); + + var label_cell = document.createElement('TD'); + + label_cell.id = 'bill_dst_pkgpart_label' + bill_dst_pkgpart_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 = 'Include line item(s) from package'; + + 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); + + + var column = '<INPUT TYPE = "checkbox"\n NAME = "bill_dst_pkgpart__hiddenMAGIC_NUMBER"\n ID = "bill_dst_pkgpart__hiddenMAGIC_NUMBER"\n VALUE = "Y"\n \n \n \n >\n'; + column = column.replace( magic_regex, bill_dst_pkgpart_fieldnum ); + + var column_label = document.createElement('TD'); + column_label.id = + 'bill_dst_pkgpart__hidden_label' + bill_dst_pkgpart_fieldnum; + + column_label.style.textAlign = "right"; + column_label.style.verticalAlign = "top"; + column_label.style.borderTop = "1px solid black"; + column_label.style.paddingTop = "5px"; + + column_label.innerHTML = 'Bundle'; + + row.appendChild(column_label); + + var column_widget = document.createElement('TD'); + + column_widget.style.borderTop = "1px solid black"; + column_widget.style.paddingTop = "3px"; + + column_widget.innerHTML = column; + + row.appendChild(column_widget); + + + + } + + function remove_bill_dst_pkgpart(remove_fieldnum) { + //alert("remove bill_dst_pkgpart " + remove_fieldnum); + var select = document.getElementById('bill_dst_pkgpart' + remove_fieldnum); + + if ( ! select ) { + alert("can't find element bill_dst_pkgpart" + 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('bill_dst_pkgpart_label' + remove_fieldnum ); + label_td.parentNode.style.display = 'none'; + + + } + + </SCRIPT> + + + + </TABLE> + +<TABLE ID="TableNumber8" BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0> + +<TR> + <TD CLASS="background" COLSPAN=2> </TD> +</TR> + +<TR> + <TH CLASS="background" COLSPAN=2 ALIGN="left" > + <FONT SIZE="+1">Services</FONT> + </TH> +</TR> + + + + + + + + + <TR> + <TD CLASS="background" COLSPAN=99> + +<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> + + + <TR> + <TD> + <INPUT TYPE="text" NAME="pkg_svc1" SIZE=7 MAXLENGTH=6 VALUE="0"> + </TD> + + <TD ALIGN="center"> + <INPUT TYPE="radio" NAME="pkg_svc_primary" VALUE="1" > + </TD> + + <TD> + <A HREF="part_svc.cgi?1">Domain</A> + </TD> + + <TD> + <INPUT TYPE="checkbox" NAME="hidden1" VALUE="Y"> + </TD> + </TR> + + <TR> + <TD> + <INPUT TYPE="text" NAME="pkg_svc2" SIZE=7 MAXLENGTH=6 VALUE="1"> + </TD> + + <TD ALIGN="center"> + <INPUT TYPE="radio" NAME="pkg_svc_primary" VALUE="2" > + </TD> + + <TD> + <A HREF="part_svc.cgi?2">Test svc_acct</A> + </TD> + + <TD> + <INPUT TYPE="checkbox" NAME="hidden2" 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> + + <TR> + <TD> + <INPUT TYPE="text" NAME="pkg_svc3" SIZE=7 MAXLENGTH=6 VALUE="0"> + </TD> + + <TD ALIGN="center"> + <INPUT TYPE="radio" NAME="pkg_svc_primary" VALUE="3" > + </TD> + + <TD> + <A HREF="part_svc.cgi?3">Test svc_domain</A> + </TD> + + <TD> + <INPUT TYPE="checkbox" NAME="hidden3" VALUE="Y"> + </TD> + </TR> + + <TR> + <TD> + <INPUT TYPE="text" NAME="pkg_svc4" SIZE=7 MAXLENGTH=6 VALUE="0"> + </TD> + + <TD ALIGN="center"> + <INPUT TYPE="radio" NAME="pkg_svc_primary" VALUE="4" > + </TD> + + <TD> + <A HREF="part_svc.cgi?4">Test svc_broadband</A> + </TD> + + <TD> + <INPUT TYPE="checkbox" NAME="hidden4" 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> + + <TR> + <TD> + <INPUT TYPE="text" NAME="pkg_svc5" SIZE=7 MAXLENGTH=6 VALUE="0"> + </TD> + + <TD ALIGN="center"> + <INPUT TYPE="radio" NAME="pkg_svc_primary" VALUE="5" > + </TD> + + <TD> + <A HREF="part_svc.cgi?5">Test svc_phone</A> + </TD> + + <TD> + <INPUT TYPE="checkbox" NAME="hidden5" VALUE="Y"> + </TD> + </TR> + +</TR></TABLE></TD></TR></TABLE> + + + </TD> +</TR> + + + + + + <TR> + + <TD ALIGN = "right" + VALIGN = "top" + STYLE = "padding-top: 3px" + ID = "svc_dst_pkgpart_label0" + >Include services of package</TD> + + + <TD COLSPAN="1"> + + +<SELECT + NAME = "svc_dst_pkgpart0" + ID = "svc_dst_pkgpart0" + onChange=" +spawn_svc_dst_pkgpart(this);" + + +> + + + <OPTION VALUE="">Select package + + <OPTION VALUE="4" + + > + 4: Annual subscription domain + <OPTION VALUE="5" + + > + 5: Monthly anniversary phone x4 + <OPTION VALUE="3" + + > + 3: Monthly prorated broadband + <OPTION VALUE="1" + + > + 1: System Domain - (NOT FOR CUSTOMERS) + + +</SELECT> + + + + </TD> + + + </TR> + + + <SCRIPT TYPE="text/javascript"> + + var svc_dst_pkgpart_rownum = 4; + var svc_dst_pkgpart_fieldnum = 0; + + function spawn_svc_dst_pkgpart(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] != svc_dst_pkgpart_fieldnum ) { + return; + } + + // change the label on the last entry & add a remove button + var prev_label = document.getElementById('svc_dst_pkgpart_label' + svc_dst_pkgpart_fieldnum ); + prev_label.innerHTML = '<INPUT TYPE="button" VALUE="X" TITLE="Remove this include services of package: " onClick="remove_svc_dst_pkgpart(' + svc_dst_pkgpart_fieldnum + ');" STYLE="color:#ff0000;font-weight:bold;padding-left:2px;padding-right:2px" > Include services of package: '; + + svc_dst_pkgpart_fieldnum++; + + //get the new widget + + + var newrow = '\n\n<SELECT \n NAME = "svc_dst_pkgpartMAGIC_NUMBER"\n ID = "svc_dst_pkgpartMAGIC_NUMBER"\n onChange="\nspawn_svc_dst_pkgpart(this);"\n \n \n>\n\n\n <OPTION VALUE="">Select package\n\n <OPTION VALUE="4"\n \n >\n 4: Annual subscription domain\n <OPTION VALUE="5"\n \n >\n 5: Monthly anniversary phone x4\n <OPTION VALUE="3"\n \n >\n 3: Monthly prorated broadband\n <OPTION VALUE="1"\n \n >\n 1: System Domain - (NOT FOR CUSTOMERS)\n\n\n</SELECT>\n\n\n'; + + var newfunc = ''; + + // substitute in the new field name + var magic_regex = /MAGIC_NUMBER/g; + newrow = newrow.replace( magic_regex, svc_dst_pkgpart_fieldnum ); + newfunc = newfunc.replace( magic_regex, svc_dst_pkgpart_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('TableNumber8'); + + var row = table.insertRow(svc_dst_pkgpart_rownum++); + + var label_cell = document.createElement('TD'); + + label_cell.id = 'svc_dst_pkgpart_label' + svc_dst_pkgpart_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 = 'Include services of package'; + + 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_svc_dst_pkgpart(remove_fieldnum) { + //alert("remove svc_dst_pkgpart " + remove_fieldnum); + var select = document.getElementById('svc_dst_pkgpart' + remove_fieldnum); + + if ( ! select ) { + alert("can't find element svc_dst_pkgpart" + 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('svc_dst_pkgpart_label' + remove_fieldnum ); + label_td.parentNode.style.display = 'none'; + + + } + + </SCRIPT> + + + + </TABLE> + +<TABLE ID="TableNumber9" BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0> + +<TR> + <TD CLASS="background" COLSPAN=4> </TD> +</TR> + +<TR> + <TH CLASS="background" COLSPAN=4 ALIGN="left" ID="show_supp_pkgs"> + <FONT SIZE="+1">Supplemental packages</FONT> + </TH> +</TR> + + + + + + + + + <TR> + + <TD ALIGN = "right" + VALIGN = "top" + STYLE = "padding-top: 3px" + ID = "supp_dst_pkgpart_label0" + >When ordering package, also order</TD> + + + <TD COLSPAN="1"> + + +<SELECT + NAME = "supp_dst_pkgpart0" + ID = "supp_dst_pkgpart0" + onChange=" +spawn_supp_dst_pkgpart(this);" + + +> + + + <OPTION VALUE="">Select package + + <OPTION VALUE="4" + + > + 4: Annual subscription domain + <OPTION VALUE="5" + + > + 5: Monthly anniversary phone x4 + <OPTION VALUE="2" + + > + 2: Monthly prorated account + <OPTION VALUE="3" + + > + 3: Monthly prorated broadband + <OPTION VALUE="1" + + > + 1: System Domain - (NOT FOR CUSTOMERS) + + +</SELECT> + + + + </TD> + + + </TR> + + + <SCRIPT TYPE="text/javascript"> + + var supp_dst_pkgpart_rownum = 3; + var supp_dst_pkgpart_fieldnum = 0; + + function spawn_supp_dst_pkgpart(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] != supp_dst_pkgpart_fieldnum ) { + return; + } + + // change the label on the last entry & add a remove button + var prev_label = document.getElementById('supp_dst_pkgpart_label' + supp_dst_pkgpart_fieldnum ); + prev_label.innerHTML = '<INPUT TYPE="button" VALUE="X" TITLE="Remove this when ordering package, also order" onClick="remove_supp_dst_pkgpart(' + supp_dst_pkgpart_fieldnum + ');" STYLE="color:#ff0000;font-weight:bold;padding-left:2px;padding-right:2px" > When ordering package, also order'; + + supp_dst_pkgpart_fieldnum++; + + //get the new widget + + + var newrow = '\n\n<SELECT \n NAME = "supp_dst_pkgpartMAGIC_NUMBER"\n ID = "supp_dst_pkgpartMAGIC_NUMBER"\n onChange="\nspawn_supp_dst_pkgpart(this);"\n \n \n>\n\n\n <OPTION VALUE="">Select package\n\n <OPTION VALUE="4"\n \n >\n 4: Annual subscription domain\n <OPTION VALUE="5"\n \n >\n 5: Monthly anniversary phone x4\n <OPTION VALUE="2"\n \n >\n 2: Monthly prorated account\n <OPTION VALUE="3"\n \n >\n 3: Monthly prorated broadband\n <OPTION VALUE="1"\n \n >\n 1: System Domain - (NOT FOR CUSTOMERS)\n\n\n</SELECT>\n\n\n'; + + var newfunc = ''; + + // substitute in the new field name + var magic_regex = /MAGIC_NUMBER/g; + newrow = newrow.replace( magic_regex, supp_dst_pkgpart_fieldnum ); + newfunc = newfunc.replace( magic_regex, supp_dst_pkgpart_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('TableNumber9'); + + var row = table.insertRow(supp_dst_pkgpart_rownum++); + + var label_cell = document.createElement('TD'); + + label_cell.id = 'supp_dst_pkgpart_label' + supp_dst_pkgpart_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 = 'When ordering package, also order'; + + 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_supp_dst_pkgpart(remove_fieldnum) { + //alert("remove supp_dst_pkgpart " + remove_fieldnum); + var select = document.getElementById('supp_dst_pkgpart' + remove_fieldnum); + + if ( ! select ) { + alert("can't find element supp_dst_pkgpart" + 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('supp_dst_pkgpart_label' + remove_fieldnum ); + label_td.parentNode.style.display = 'none'; + + + } + + </SCRIPT> + + + + </TABLE> + +<TABLE ID="TableNumber10" BGCOLOR="#cccccc" BORDER=0 CELLSPACING=0> + +<TR> + <TD CLASS="background" COLSPAN=2> </TD> +</TR> + +<TR> + <TH CLASS="background" COLSPAN=2 ALIGN="left" > + <FONT SIZE="+1">Price plan options</FONT> + </TH> +</TR> + + + + + + + + + + +</TABLE> + + + + <DIV ID="plandflat" + 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"> + + </DIV> + + + <DIV ID="plandflat_delayed" + 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"> + + </DIV> + + + <DIV ID="plandflat_introrate" + 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"> + + </DIV> + + + <DIV ID="plandprorate" + STYLE="display: block; z-index: 1" + > + + <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"> + + </DIV> + + + <DIV ID="plandprorate_calendar" + STYLE="display: none; z-index: 0" + > + + <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"> + + </DIV> + + + <DIV ID="plandprorate_delayed" + 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"> + + </DIV> + + + <DIV ID="plandprepaid" + 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"> + + </DIV> + + + <DIV ID="plandsubscription" + 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"> + + </DIV> + + + <DIV ID="plandsqlradacct_hour" + 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"> + + </DIV> + + + <DIV ID="plandsqlradacct_daily" + 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"> + + </DIV> + + + <DIV ID="plandvoip_cdr" + 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_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="voip_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="voip_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="voip_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="voip_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="voip_cdr__add_full_period" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Show prorate details on the invoice</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__prorate_verbose" VALUE=1 CHECKED></TD></TR><TR><TD ALIGN="right">CDR service matching method</TD><TD><SELECT NAME="voip_cdr__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">Rating method</TD><TD><INPUT TYPE="radio" NAME="voip_cdr__rating_method" VALUE="prefix"> Rate calls by using destination prefix to look up a region and rate according to the internal prefix and rate tables<BR><INPUT TYPE="radio" NAME="voip_cdr__rating_method" VALUE="upstream_simple"> Simply pass through and charge the "upstream_price" amount.<BR><INPUT TYPE="radio" NAME="voip_cdr__rating_method" VALUE="single_price"> A single price per minute for all calls.<BR></TD></TR><TR><TD ALIGN="right">Rounding for destination prefix rating</TD><TD><SELECT NAME="voip_cdr__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">Rate plan</TD><TD> +<SELECT + NAME = "voip_cdr__ratenum" + ID = "ratenum" + + + +> + + + <OPTION VALUE="">Select rate plan + + + +</SELECT> + + +</TD></TR><TR><TD ALIGN="right">Optional alternate intrastate rate plan</TD><TD> +<SELECT + NAME = "voip_cdr__intrastate_ratenum" + ID = "ratenum" + + + +> + + + <OPTION VALUE=""> + + + +</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"> + + </DIV> + + + <DIV ID="plandvoip_inbound" + 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"> + + </DIV> + + + <DIV ID="plandvoip_tiered" + 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"> + + </DIV> + + + <DIV ID="plandcdr_termination" + 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"> + + </DIV> + + + <DIV ID="plandprepaid_nibblebill" + STYLE="display: none; z-index: 0" + > + + <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Nibble rate</TD><TD><INPUT TYPE="text" NAME="prepaid_nibblebill__nibble_rate" VALUE=""></TD></TR></TABLE><INPUT TYPE="hidden" NAME="prepaid_nibblebill__OPTIONS" VALUE="setup_fee,recur_fee,nibble_rate"> + + </DIV> + + + <DIV ID="plandbulk_simple" + 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"> + + </DIV> + + + <DIV ID="plandbulk" + 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"> + + </DIV> + + + <DIV ID="plandagent" + 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"> + + </DIV> + + + <DIV ID="plandagent_cdr" + 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"> + + </DIV> + + + <DIV ID="plandtorrus_bw_percentile" + 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"> + + </DIV> + + + <DIV ID="plandsql_external" + 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"> + + </DIV> + + + <DIV ID="plandflat_comission_cust" + 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"> + + </DIV> + + + <DIV ID="plandflat_comission" + 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"> + + </DIV> + + + <DIV ID="plandflat_comission_pkg" + 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"> + + </DIV> + + +<SCRIPT TYPE="text/javascript"> + + function planchanged(what) { + + aux_planchanged(what); + + var planlayer = what.options[what.selectedIndex].value; + + if (planlayer == "flat" ) { + + 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"; + 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').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('plandflat').style.display = ""; + document.getElementById('plandflat').style.zIndex = 1; + + } + if (planlayer == "flat_delayed" ) { + + document.getElementById('plandflat').style.display = "none"; + 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_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').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('plandflat_delayed').style.display = ""; + document.getElementById('plandflat_delayed').style.zIndex = 1; + + } + if (planlayer == "flat_introrate" ) { + + 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('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').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('plandflat_introrate').style.display = ""; + document.getElementById('plandflat_introrate').style.zIndex = 1; + + } + if (planlayer == "prorate" ) { + + 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_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').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('plandprorate').style.display = ""; + document.getElementById('plandprorate').style.zIndex = 1; + + } + if (planlayer == "prorate_calendar" ) { + + 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_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').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('plandprorate_calendar').style.display = ""; + document.getElementById('plandprorate_calendar').style.zIndex = 1; + + } + if (planlayer == "prorate_delayed" ) { + + 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('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').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('plandprorate_delayed').style.display = ""; + document.getElementById('plandprorate_delayed').style.zIndex = 1; + + } + if (planlayer == "prepaid" ) { + + 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('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').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('plandprepaid').style.display = ""; + document.getElementById('plandprepaid').style.zIndex = 1; + + } + if (planlayer == "subscription" ) { + + 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"; + document.getElementById('plandprepaid').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').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('plandsubscription').style.display = ""; + document.getElementById('plandsubscription').style.zIndex = 1; + + } + if (planlayer == "sqlradacct_hour" ) { + + 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"; + document.getElementById('plandprepaid').style.zIndex = 0; + document.getElementById('plandsubscription').style.display = "none"; + document.getElementById('plandsubscription').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').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('plandsqlradacct_hour').style.display = ""; + document.getElementById('plandsqlradacct_hour').style.zIndex = 1; + + } + if (planlayer == "sqlradacct_daily" ) { + + 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"; + 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('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').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('plandsqlradacct_daily').style.display = ""; + document.getElementById('plandsqlradacct_daily').style.zIndex = 1; + + } + if (planlayer == "voip_cdr" ) { + + 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"; + 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_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').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('plandvoip_cdr').style.display = ""; + document.getElementById('plandvoip_cdr').style.zIndex = 1; + + } + if (planlayer == "voip_inbound" ) { + + 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"; + 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_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').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('plandvoip_inbound').style.display = ""; + document.getElementById('plandvoip_inbound').style.zIndex = 1; + + } + if (planlayer == "voip_tiered" ) { + + 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"; + 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('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').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('plandvoip_tiered').style.display = ""; + document.getElementById('plandvoip_tiered').style.zIndex = 1; + + } + if (planlayer == "cdr_termination" ) { + + 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"; + 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('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').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('plandcdr_termination').style.display = ""; + document.getElementById('plandcdr_termination').style.zIndex = 1; + + } + if (planlayer == "prepaid_nibblebill" ) { + + 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"; + 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('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').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('plandprepaid_nibblebill').style.display = ""; + document.getElementById('plandprepaid_nibblebill').style.zIndex = 1; + + } + if (planlayer == "bulk_simple" ) { + + 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"; + 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').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').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('plandbulk_simple').style.display = ""; + document.getElementById('plandbulk_simple').style.zIndex = 1; + + } + if (planlayer == "bulk" ) { + + 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"; + 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('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').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('plandbulk').style.display = ""; + document.getElementById('plandbulk').style.zIndex = 1; + + } + if (planlayer == "agent" ) { + + 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"; + 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_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').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('plandagent').style.display = ""; + document.getElementById('plandagent').style.zIndex = 1; + + } + if (planlayer == "agent_cdr" ) { + + 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"; + 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('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').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('plandagent_cdr').style.display = ""; + document.getElementById('plandagent_cdr').style.zIndex = 1; + + } + if (planlayer == "torrus_bw_percentile" ) { + + 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"; + 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_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('plandtorrus_bw_percentile').style.display = ""; + document.getElementById('plandtorrus_bw_percentile').style.zIndex = 1; + + } + if (planlayer == "torrus_bw_usage" ) { + + 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"; + 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('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('plandtorrus_bw_usage').style.display = ""; + document.getElementById('plandtorrus_bw_usage').style.zIndex = 1; + + } + if (planlayer == "rt_time" ) { + + 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"; + 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"; + 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_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('plandsql_generic').style.display = ""; + document.getElementById('plandsql_generic').style.zIndex = 1; + + } + if (planlayer == "sql_external" ) { + + 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"; + 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"; + 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').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('plandflat_comission_cust').style.display = ""; + document.getElementById('plandflat_comission_cust').style.zIndex = 1; + + } + if (planlayer == "flat_comission" ) { + + 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"; + 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"; + 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').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; + + } + + //aux_planchanged(what); + + } +</SCRIPT> + + + <BR> + + <INPUT TYPE = "submit" + ID = "submit" + VALUE = "Apply changes" + > + + </FORM> + + + + </TD> + </TR> + </TABLE> + </BODY> +</HTML> + + + |
