refresh tests with August 2015 updates
[freeside.git] / FS-Test / share / output / edit / part_pkg.cgi / 2
index 21bf1f2..b4a0793 100644 (file)
@@ -1304,14 +1304,14 @@ function confirm_submit(f) {
         >Prorate (Nth of month billing)</OPTION>
 
 
-        <OPTION VALUE="prorate_calendar"
+        <OPTION VALUE="prorate_delayed"
                 
-        >Prorate (calendar cycle)</OPTION>
+        >Prorate (Nth of month billing), with intro period</OPTION>
 
 
-        <OPTION VALUE="prorate_delayed"
+        <OPTION VALUE="prorate_calendar"
                 
-        >Prorate (Nth of month billing), with intro period</OPTION>
+        >Prorate (calendar cycle)</OPTION>
 
 
         <OPTION VALUE="prepaid"
@@ -2646,10 +2646,15 @@ spawn_bill_dst_pkgpart(this);"
       <TR>
   <TD CLASS="background" COLSPAN=99>
 
+<SCRIPT>
+var provision_hold_td = [];
+var provision_hold_input = [];
+</SCRIPT>
+
 <TABLE BORDER=0 CELLSPACING=4 ><TR><TD VALIGN="top">
 
 
-<TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Quan.</FONT></TH><TH BGCOLOR="#dcdcdc"><FONT SIZE=-2>Primary</FONT></TH><TH BGCOLOR="#dcdcdc">Service</TH><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Hide</FONT></TH></TR>
+<TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Quan.</FONT></TH><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Primary</FONT></TH><TH BGCOLOR="#dcdcdc">Service</TH><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Hide<BR>from<BR>Invoices</FONT></TH><TH BGCOLOR="#dcdcdc" ID="th_provision_hold1"><FONT SIZE=-1>Remove Hold After Provisioning</FONT></TH></TR><SCRIPT>provision_hold_td.push(document.getElementById('th_provision_hold1'))</SCRIPT>
 
 
   <TR>
@@ -2668,6 +2673,15 @@ spawn_bill_dst_pkgpart(this);"
     <TD>
       <INPUT TYPE="checkbox" NAME="hidden1" VALUE="Y">
     </TD>
+
+    <TD ALIGN="center" ID="td_provision_hold1">
+      <INPUT TYPE="checkbox" ID="input_provision_hold1" NAME="provision_hold1" VALUE="Y">
+    </TD>
+<SCRIPT>
+provision_hold_td.push(document.getElementById('td_provision_hold1'));
+provision_hold_input.push(document.getElementById('input_provision_hold1'));
+</SCRIPT>
+
   </TR>
 
   <TR>
@@ -2686,11 +2700,20 @@ spawn_bill_dst_pkgpart(this);"
     <TD>
       <INPUT TYPE="checkbox" NAME="hidden2" VALUE="Y">
     </TD>
+
+    <TD ALIGN="center" ID="td_provision_hold2">
+      <INPUT TYPE="checkbox" ID="input_provision_hold2" NAME="provision_hold2" VALUE="Y">
+    </TD>
+<SCRIPT>
+provision_hold_td.push(document.getElementById('td_provision_hold2'));
+provision_hold_input.push(document.getElementById('input_provision_hold2'));
+</SCRIPT>
+
   </TR>
 
          </TABLE></TD><TD VALIGN="top">
 
-<TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Quan.</FONT></TH><TH BGCOLOR="#dcdcdc"><FONT SIZE=-2>Primary</FONT></TH><TH BGCOLOR="#dcdcdc">Service</TH><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Hide</FONT></TH></TR>
+<TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Quan.</FONT></TH><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Primary</FONT></TH><TH BGCOLOR="#dcdcdc">Service</TH><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Hide<BR>from<BR>Invoices</FONT></TH><TH BGCOLOR="#dcdcdc" ID="th_provision_hold2"><FONT SIZE=-1>Remove Hold After Provisioning</FONT></TH></TR><SCRIPT>provision_hold_td.push(document.getElementById('th_provision_hold2'))</SCRIPT>
 
   <TR>
     <TD>
@@ -2708,6 +2731,15 @@ spawn_bill_dst_pkgpart(this);"
     <TD>
       <INPUT TYPE="checkbox" NAME="hidden3" VALUE="Y">
     </TD>
+
+    <TD ALIGN="center" ID="td_provision_hold3">
+      <INPUT TYPE="checkbox" ID="input_provision_hold3" NAME="provision_hold3" VALUE="Y">
+    </TD>
+<SCRIPT>
+provision_hold_td.push(document.getElementById('td_provision_hold3'));
+provision_hold_input.push(document.getElementById('input_provision_hold3'));
+</SCRIPT>
+
   </TR>
 
   <TR>
@@ -2726,11 +2758,20 @@ spawn_bill_dst_pkgpart(this);"
     <TD>
       <INPUT TYPE="checkbox" NAME="hidden4" VALUE="Y">
     </TD>
+
+    <TD ALIGN="center" ID="td_provision_hold4">
+      <INPUT TYPE="checkbox" ID="input_provision_hold4" NAME="provision_hold4" VALUE="Y">
+    </TD>
+<SCRIPT>
+provision_hold_td.push(document.getElementById('td_provision_hold4'));
+provision_hold_input.push(document.getElementById('input_provision_hold4'));
+</SCRIPT>
+
   </TR>
 
          </TABLE></TD><TD VALIGN="top">
 
-<TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Quan.</FONT></TH><TH BGCOLOR="#dcdcdc"><FONT SIZE=-2>Primary</FONT></TH><TH BGCOLOR="#dcdcdc">Service</TH><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Hide</FONT></TH></TR>
+<TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Quan.</FONT></TH><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Primary</FONT></TH><TH BGCOLOR="#dcdcdc">Service</TH><TH BGCOLOR="#dcdcdc"><FONT SIZE=-1>Hide<BR>from<BR>Invoices</FONT></TH><TH BGCOLOR="#dcdcdc" ID="th_provision_hold3"><FONT SIZE=-1>Remove Hold After Provisioning</FONT></TH></TR><SCRIPT>provision_hold_td.push(document.getElementById('th_provision_hold3'))</SCRIPT>
 
   <TR>
     <TD>
@@ -2748,10 +2789,43 @@ spawn_bill_dst_pkgpart(this);"
     <TD>
       <INPUT TYPE="checkbox" NAME="hidden5" VALUE="Y">
     </TD>
+
+    <TD ALIGN="center" ID="td_provision_hold5">
+      <INPUT TYPE="checkbox" ID="input_provision_hold5" NAME="provision_hold5" VALUE="Y">
+    </TD>
+<SCRIPT>
+provision_hold_td.push(document.getElementById('td_provision_hold5'));
+provision_hold_input.push(document.getElementById('input_provision_hold5'));
+</SCRIPT>
+
   </TR>
 
 </TR></TABLE></TD></TR></TABLE>
 
+<SCRIPT>
+// start_on_hold from edit/part_pkg.cgi
+// toggles display of provision_hold checkboxes when that changes
+function provision_hold_check () {
+  var start_on_hold = document.getElementById('start_on_hold');
+  if (start_on_hold) {
+    for (i = 0; i < provision_hold_td.length; i++) {
+      provision_hold_td[i].style.display = start_on_hold.checked ? '' : 'none';
+    }
+    for (i = 0; i < provision_hold_input.length; i++) {
+      provision_hold_input[i].disabled = start_on_hold.checked ? false : true;
+    }
+  }
+}
+function provision_hold_init () {
+  var start_on_hold = document.getElementById('start_on_hold');
+  if (start_on_hold) {
+    start_on_hold.onchange = provision_hold_check;
+    provision_hold_check();
+  }
+}
+provision_hold_init();
+</SCRIPT>
+
 
   </TD>
 </TR>
@@ -3120,7 +3194,42 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Charge recurring fee for period</TD><TD><SELECT NAME="flat__recur_temporality"><OPTION VALUE="upcoming">Upcoming (future)<OPTION VALUE="preceding">Preceding (past)</SELECT></TD></TR><TR><TD ALIGN="right">Auto-add an expiration date this number of months out</TD><TD><INPUT TYPE="text" NAME="flat__expire_months" VALUE=""></TD></TR><TR><TD ALIGN="right">Auto-add a suspension date this number of months out</TD><TD><INPUT TYPE="text" NAME="flat__adjourn_months" VALUE=""></TD></TR><TR><TD ALIGN="right">Auto-add a contract end date this number of years out</TD><TD><SELECT NAME="flat__contract_end_months"><OPTION VALUE="" SELECTED>(none)<OPTION VALUE="12">1<OPTION VALUE="24">2<OPTION VALUE="36">3<OPTION VALUE="48">4<OPTION VALUE="60">5</SELECT></TD></TR><TR><TD ALIGN="right">Auto-add a start date to the 1st, ignoring the current month.</TD><TD><INPUT TYPE="checkbox" NAME="flat__start_1st" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Prorate first month to synchronize with the customer's other packages</TD><TD><INPUT TYPE="checkbox" NAME="flat__sync_bill_date" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When synchronizing, defer the bill until the customer's next bill date</TD><TD><INPUT TYPE="checkbox" NAME="flat__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When synchronizing, round the prorated period to the nearest full day</TD><TD><INPUT TYPE="checkbox" NAME="flat__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">Continue recurring billing while suspended</TD><TD><INPUT TYPE="checkbox" NAME="flat__suspend_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Adjust next bill date forward when unsuspending</TD><TD><INPUT TYPE="checkbox" NAME="flat__unsuspend_adjust_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill the last period on cancellation</TD><TD><INPUT TYPE="checkbox" NAME="flat__bill_recur_on_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill immediately upon suspension</TD><TD><INPUT TYPE="checkbox" NAME="flat__bill_suspend_as_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Optional External ID</TD><TD><INPUT TYPE="text" NAME="flat__externalid" VALUE=""></TD></TR><TR><TD ALIGN="right">Show prorate details on the invoice</TD><TD><INPUT TYPE="checkbox" NAME="flat__prorate_verbose" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">Time limit for this package</TD><TD><INPUT TYPE="text" NAME="flat__seconds" VALUE=""></TD></TR><TR><TD ALIGN="right">Upload limit for this package</TD><TD><INPUT TYPE="text" NAME="flat__upbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Download limit for this package</TD><TD><INPUT TYPE="text" NAME="flat__downbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Transfer limit for this package</TD><TD><INPUT TYPE="text" NAME="flat__totalbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Cost of recharge for this package</TD><TD><INPUT TYPE="text" NAME="flat__recharge_amount" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge time for this package</TD><TD><INPUT TYPE="text" NAME="flat__recharge_seconds" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge upload for this package</TD><TD><INPUT TYPE="text" NAME="flat__recharge_upbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge download for this package</TD><TD><INPUT TYPE="text" NAME="flat__recharge_downbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge transfer for this package</TD><TD><INPUT TYPE="text" NAME="flat__recharge_totalbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Allow usage from previous period to roll  over into current period</TD><TD><INPUT TYPE="checkbox" NAME="flat__usage_rollover" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Reset usage to these values on manual package recharge</TD><TD><INPUT TYPE="checkbox" NAME="flat__recharge_reset" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="flat__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="flat__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="flat__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="flat__OPTIONS" VALUE="recharge_totalbytes,seconds,recharge_seconds,recharge_downbytes,bill_suspend_as_cancel,a2billing_retail_initblock_offp,recharge_upbytes,setup_fee,upbytes,unused_credit_change,suspend_bill,start_1st,a2billing_tariff,downbytes,externalid,a2billing_carrier_cost_min,unsuspend_adjust_bill,recur_fee,prorate_round_day,a2billing_retail_cost_min_offp,recur_temporality,contract_end_months,a2billing_retail_increment_offp,a2billing_carrer_initblock_offp,recharge_reset,adjourn_months,prorate_defer_bill,a2billing_simultaccess,totalbytes,expire_months,unused_credit_cancel,sync_bill_date,bill_recur_on_cancel,usage_rollover,a2billing_carrier_increment_offp,recharge_amount,a2billing_type,unused_credit_suspend,add_full_period,delay_cancel,prorate_verbose">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Charge recurring fee for period</TD><TD>
+      <SELECT NAME="flat__recur_temporality"><OPTION VALUE="upcoming">Upcoming (future)<OPTION VALUE="preceding">Preceding (past)</SELECT></TD></TR><TR><TD ALIGN="right">Auto-add 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"
+       ID    = "flat__OPTIONS"
+       VALUE = "recur_temporality,expire_months,adjourn_months,contract_end_months,start_1st,sync_bill_date,prorate_defer_bill,prorate_round_day,suspend_bill,unsuspend_adjust_bill,bill_recur_on_cancel,bill_suspend_as_cancel,externalid,prorate_verbose,seconds,upbytes,downbytes,totalbytes,recharge_amount,recharge_seconds,recharge_upbytes,recharge_downbytes,recharge_totalbytes,usage_rollover,recharge_reset,setup_fee,recur_fee,unused_credit_cancel,unused_credit_suspend,unused_credit_change,delay_cancel,a2billing_tariff,a2billing_type,a2billing_simultaccess,a2billing_carrier_cost_min,a2billing_carrer_initblock_offp,a2billing_carrier_increment_offp,a2billing_retail_cost_min_offp,a2billing_retail_initblock_offp,a2billing_retail_increment_offp"
+>
+
+
 
       </DIV>
 
@@ -3129,7 +3238,21 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Continue recurring billing while suspended</TD><TD><INPUT TYPE="checkbox" NAME="flat_delayed__suspend_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="flat_delayed__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="flat_delayed__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="flat_delayed__delay_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Initial free days</TD><TD><INPUT TYPE="text" NAME="flat_delayed__free_days" VALUE="0"></TD></TR><TR><TD ALIGN="right">Delay setup fee in addition to recurring fee</TD><TD><INPUT TYPE="checkbox" NAME="flat_delayed__delay_setup" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Number of days before recurring billing commences to notify customer. (0 means no warning)</TD><TD><INPUT TYPE="text" NAME="flat_delayed__recur_notify" VALUE="0"></TD></TR></TABLE><INPUT TYPE="hidden" NAME="flat_delayed__OPTIONS" VALUE="a2billing_carrier_increment_offp,unused_credit_cancel,setup_fee,free_days,recur_notify,a2billing_simultaccess,a2billing_retail_initblock_offp,a2billing_carrer_initblock_offp,a2billing_retail_increment_offp,a2billing_retail_cost_min_offp,delay_cancel,recur_fee,unused_credit_suspend,a2billing_type,a2billing_carrier_cost_min,a2billing_tariff,delay_setup,suspend_bill,unused_credit_change">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Continue recurring billing while suspended</TD><TD>
+      <INPUT TYPE="checkbox" NAME="flat_delayed__suspend_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD>
+      <INPUT TYPE="checkbox" NAME="flat_delayed__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD>
+      <span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD>
+      <INPUT TYPE="checkbox" NAME="flat_delayed__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD>
+      <INPUT TYPE="checkbox" NAME="flat_delayed__delay_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Initial free days</TD><TD>
+      <INPUT TYPE="text" NAME="flat_delayed__free_days" VALUE="0"></TD></TR><TR><TD ALIGN="right">Delay setup fee in addition to recurring fee</TD><TD>
+      <INPUT TYPE="checkbox" NAME="flat_delayed__delay_setup" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Number of days before recurring billing commences to notify customer. (0 means no warning)</TD><TD>
+      <INPUT TYPE="text" NAME="flat_delayed__recur_notify" VALUE="0"></TD></TR></TABLE><INPUT TYPE  = "hidden"
+       NAME  = "flat_delayed__OPTIONS"
+       ID    = "flat_delayed__OPTIONS"
+       VALUE = "suspend_bill,setup_fee,recur_fee,unused_credit_cancel,unused_credit_suspend,unused_credit_change,delay_cancel,a2billing_tariff,a2billing_type,a2billing_simultaccess,a2billing_carrier_cost_min,a2billing_carrer_initblock_offp,a2billing_carrier_increment_offp,a2billing_retail_cost_min_offp,a2billing_retail_initblock_offp,a2billing_retail_increment_offp,free_days,delay_setup,recur_notify"
+>
+
+
 
       </DIV>
 
@@ -3138,7 +3261,43 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Duration of the introductory period, in number of months</TD><TD><INPUT TYPE="text" NAME="flat_introrate__intro_duration" VALUE="0"></TD></TR><TR><TD ALIGN="right">Introductory recurring fee for this package</TD><TD><INPUT TYPE="text" NAME="flat_introrate__intro_fee" VALUE="0"></TD></TR><TR><TD ALIGN="right">Charge recurring fee for period</TD><TD><SELECT NAME="flat_introrate__recur_temporality"><OPTION VALUE="upcoming">Upcoming (future)<OPTION VALUE="preceding">Preceding (past)</SELECT></TD></TR><TR><TD ALIGN="right">Auto-add an expiration date this number of months out</TD><TD><INPUT TYPE="text" NAME="flat_introrate__expire_months" VALUE=""></TD></TR><TR><TD ALIGN="right">Auto-add a suspension date this number of months out</TD><TD><INPUT TYPE="text" NAME="flat_introrate__adjourn_months" VALUE=""></TD></TR><TR><TD ALIGN="right">Auto-add a contract end date this number of years out</TD><TD><SELECT NAME="flat_introrate__contract_end_months"><OPTION VALUE="" SELECTED>(none)<OPTION VALUE="12">1<OPTION VALUE="24">2<OPTION VALUE="36">3<OPTION VALUE="48">4<OPTION VALUE="60">5</SELECT></TD></TR><TR><TD ALIGN="right">Auto-add a start date to the 1st, ignoring the current month.</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__start_1st" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Prorate first month to synchronize with the customer's other packages</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__sync_bill_date" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When synchronizing, defer the bill until the customer's next bill date</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When synchronizing, round the prorated period to the nearest full day</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">Continue recurring billing while suspended</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__suspend_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Adjust next bill date forward when unsuspending</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__unsuspend_adjust_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill the last period on cancellation</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__bill_recur_on_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill immediately upon suspension</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__bill_suspend_as_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Optional External ID</TD><TD><INPUT TYPE="text" NAME="flat_introrate__externalid" VALUE=""></TD></TR><TR><TD ALIGN="right">Time limit for this package</TD><TD><INPUT TYPE="text" NAME="flat_introrate__seconds" VALUE=""></TD></TR><TR><TD ALIGN="right">Upload limit for this package</TD><TD><INPUT TYPE="text" NAME="flat_introrate__upbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Download limit for this package</TD><TD><INPUT TYPE="text" NAME="flat_introrate__downbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Transfer limit for this package</TD><TD><INPUT TYPE="text" NAME="flat_introrate__totalbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Cost of recharge for this package</TD><TD><INPUT TYPE="text" NAME="flat_introrate__recharge_amount" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge time for this package</TD><TD><INPUT TYPE="text" NAME="flat_introrate__recharge_seconds" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge upload for this package</TD><TD><INPUT TYPE="text" NAME="flat_introrate__recharge_upbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge download for this package</TD><TD><INPUT TYPE="text" NAME="flat_introrate__recharge_downbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge transfer for this package</TD><TD><INPUT TYPE="text" NAME="flat_introrate__recharge_totalbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Allow usage from previous period to roll  over into current period</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__usage_rollover" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Reset usage to these values on manual package recharge</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__recharge_reset" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="flat_introrate__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="flat_introrate__OPTIONS" VALUE="a2billing_retail_increment_offp,contract_end_months,recur_temporality,prorate_defer_bill,a2billing_simultaccess,a2billing_carrer_initblock_offp,recharge_reset,adjourn_months,intro_duration,expire_months,totalbytes,bill_recur_on_cancel,sync_bill_date,usage_rollover,a2billing_carrier_increment_offp,unused_credit_cancel,recharge_amount,intro_fee,unused_credit_suspend,add_full_period,a2billing_type,delay_cancel,recharge_totalbytes,seconds,bill_suspend_as_cancel,recharge_downbytes,a2billing_retail_initblock_offp,recharge_seconds,setup_fee,recharge_upbytes,suspend_bill,start_1st,upbytes,unused_credit_change,downbytes,externalid,a2billing_tariff,unsuspend_adjust_bill,recur_fee,a2billing_carrier_cost_min,a2billing_retail_cost_min_offp,prorate_round_day">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Duration of the introductory period, in number of months</TD><TD>
+      <INPUT TYPE="text" NAME="flat_introrate__intro_duration" VALUE="0"></TD></TR><TR><TD ALIGN="right">Introductory recurring fee for this package</TD><TD>
+      <INPUT TYPE="text" NAME="flat_introrate__intro_fee" VALUE="0"></TD></TR><TR><TD ALIGN="right">Charge recurring fee for period</TD><TD>
+      <SELECT NAME="flat_introrate__recur_temporality"><OPTION VALUE="upcoming">Upcoming (future)<OPTION VALUE="preceding">Preceding (past)</SELECT></TD></TR><TR><TD ALIGN="right">Auto-add 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"
+       ID    = "flat_introrate__OPTIONS"
+       VALUE = "intro_duration,intro_fee,recur_temporality,expire_months,adjourn_months,contract_end_months,start_1st,sync_bill_date,prorate_defer_bill,prorate_round_day,suspend_bill,unsuspend_adjust_bill,bill_recur_on_cancel,bill_suspend_as_cancel,externalid,seconds,upbytes,downbytes,totalbytes,recharge_amount,recharge_seconds,recharge_upbytes,recharge_downbytes,recharge_totalbytes,usage_rollover,recharge_reset,setup_fee,recur_fee,unused_credit_cancel,unused_credit_suspend,unused_credit_change,delay_cancel,a2billing_tariff,a2billing_type,a2billing_simultaccess,a2billing_carrier_cost_min,a2billing_carrer_initblock_offp,a2billing_carrier_increment_offp,a2billing_retail_cost_min_offp,a2billing_retail_initblock_offp,a2billing_retail_increment_offp"
+>
+
+
 
       </DIV>
 
@@ -3147,25 +3306,107 @@ spawn_supp_dst_pkgpart(this);"
            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">
+        <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"
+       ID    = "prorate__OPTIONS"
+       VALUE = "cutoff_day,prorate_defer_bill,add_full_period,prorate_round_day,prorate_verbose,expire_months,adjourn_months,contract_end_months,start_1st,suspend_bill,unsuspend_adjust_bill,bill_recur_on_cancel,bill_suspend_as_cancel,externalid,seconds,upbytes,downbytes,totalbytes,recharge_amount,recharge_seconds,recharge_upbytes,recharge_downbytes,recharge_totalbytes,usage_rollover,recharge_reset,setup_fee,recur_fee,unused_credit_cancel,unused_credit_suspend,unused_credit_change,delay_cancel,a2billing_tariff,a2billing_type,a2billing_simultaccess,a2billing_carrier_cost_min,a2billing_carrer_initblock_offp,a2billing_carrier_increment_offp,a2billing_retail_cost_min_offp,a2billing_retail_initblock_offp,a2billing_retail_increment_offp"
+>
+
+
 
       </DIV>
 
 
-      <DIV ID="plandprorate_calendar"
+      <DIV ID="plandprorate_delayed"
            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">
+        <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"
+       ID    = "prorate_delayed__OPTIONS"
+       VALUE = "suspend_bill,setup_fee,recur_fee,unused_credit_cancel,unused_credit_suspend,unused_credit_change,delay_cancel,a2billing_tariff,a2billing_type,a2billing_simultaccess,a2billing_carrier_cost_min,a2billing_carrer_initblock_offp,a2billing_carrier_increment_offp,a2billing_retail_cost_min_offp,a2billing_retail_initblock_offp,a2billing_retail_increment_offp,free_days,delay_setup,recur_notify"
+>
+
+
 
       </DIV>
 
 
-      <DIV ID="plandprorate_delayed"
+      <DIV ID="plandprorate_calendar"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Continue recurring billing while suspended</TD><TD><INPUT TYPE="checkbox" NAME="prorate_delayed__suspend_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="prorate_delayed__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="prorate_delayed__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="prorate_delayed__delay_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Initial free days</TD><TD><INPUT TYPE="text" NAME="prorate_delayed__free_days" VALUE="0"></TD></TR><TR><TD ALIGN="right">Delay setup fee in addition to recurring fee</TD><TD><INPUT TYPE="checkbox" NAME="prorate_delayed__delay_setup" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Number of days before recurring billing commences to notify customer. (0 means no warning)</TD><TD><INPUT TYPE="text" NAME="prorate_delayed__recur_notify" VALUE="0"></TD></TR></TABLE><INPUT TYPE="hidden" NAME="prorate_delayed__OPTIONS" VALUE="unused_credit_cancel,a2billing_carrier_increment_offp,recur_notify,setup_fee,free_days,a2billing_carrer_initblock_offp,a2billing_simultaccess,a2billing_retail_initblock_offp,a2billing_retail_increment_offp,delay_cancel,a2billing_retail_cost_min_offp,a2billing_type,a2billing_carrier_cost_min,recur_fee,unused_credit_suspend,delay_setup,a2billing_tariff,unused_credit_change,suspend_bill">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">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"
+       ID    = "prorate_calendar__OPTIONS"
+       VALUE = "cutoff_day,prorate_defer_bill,prorate_verbose,expire_months,adjourn_months,contract_end_months,start_1st,suspend_bill,unsuspend_adjust_bill,bill_recur_on_cancel,bill_suspend_as_cancel,externalid,seconds,upbytes,downbytes,totalbytes,recharge_amount,recharge_seconds,recharge_upbytes,recharge_downbytes,recharge_totalbytes,usage_rollover,recharge_reset,setup_fee,recur_fee,unused_credit_cancel,unused_credit_suspend,unused_credit_change,delay_cancel,a2billing_tariff,a2billing_type,a2billing_simultaccess,a2billing_carrier_cost_min,a2billing_carrer_initblock_offp,a2billing_carrier_increment_offp,a2billing_retail_cost_min_offp,a2billing_retail_initblock_offp,a2billing_retail_increment_offp"
+>
+
+
 
       </DIV>
 
@@ -3174,7 +3415,23 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Action to take upon reaching end of prepaid period</TD><TD><SELECT NAME="prepaid__recur_action"><OPTION VALUE="suspend">suspend<OPTION VALUE="cancel">cancel</SELECT></TD></TR><TR><TD ALIGN="right">Action to take upon reaching a usage limit.</TD><TD><SELECT NAME="prepaid__overlimit_action"><OPTION VALUE="overlimit">Default overlimit processing<OPTION VALUE="cancel">Cancel</SELECT></TD></TR><TR><TD ALIGN="right">Time limit for this package</TD><TD><INPUT TYPE="text" NAME="prepaid__seconds" VALUE=""></TD></TR><TR><TD ALIGN="right">Upload limit for this package</TD><TD><INPUT TYPE="text" NAME="prepaid__upbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Download limit for this package</TD><TD><INPUT TYPE="text" NAME="prepaid__downbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Transfer limit for this package</TD><TD><INPUT TYPE="text" NAME="prepaid__totalbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="prepaid__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="prepaid__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="prepaid__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="prepaid__OPTIONS" VALUE="totalbytes,recharge_upbytes,setup_fee,recur_action,unused_credit_cancel,usage_rollover,a2billing_carrier_increment_offp,a2billing_retail_increment_offp,seconds,recharge_totalbytes,recharge_reset,a2billing_carrer_initblock_offp,recharge_seconds,a2billing_retail_initblock_offp,a2billing_simultaccess,recharge_downbytes,a2billing_carrier_cost_min,a2billing_type,recur_fee,unused_credit_suspend,delay_cancel,a2billing_retail_cost_min_offp,overlimit_action,unused_credit_change,upbytes,a2billing_tariff,recharge_amount,downbytes">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Action to take upon reaching end of prepaid period</TD><TD>
+      <SELECT NAME="prepaid__recur_action"><OPTION VALUE="suspend">suspend<OPTION VALUE="cancel">cancel</SELECT></TD></TR><TR><TD ALIGN="right">Action to take upon reaching a usage limit.</TD><TD>
+      <SELECT NAME="prepaid__overlimit_action"><OPTION VALUE="overlimit">Default overlimit processing<OPTION VALUE="cancel">Cancel</SELECT></TD></TR><TR><TD ALIGN="right">Time limit for this package</TD><TD>
+      <INPUT TYPE="text" NAME="prepaid__seconds" VALUE=""></TD></TR><TR><TD ALIGN="right">Upload limit for this package</TD><TD>
+      <INPUT TYPE="text" NAME="prepaid__upbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Download limit for this package</TD><TD>
+      <INPUT TYPE="text" NAME="prepaid__downbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Transfer limit for this package</TD><TD>
+      <INPUT TYPE="text" NAME="prepaid__totalbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD>
+      <INPUT TYPE="checkbox" NAME="prepaid__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD>
+      <span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD>
+      <INPUT TYPE="checkbox" NAME="prepaid__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD>
+      <INPUT TYPE="checkbox" NAME="prepaid__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE  = "hidden"
+       NAME  = "prepaid__OPTIONS"
+       ID    = "prepaid__OPTIONS"
+       VALUE = "recur_action,overlimit_action,seconds,upbytes,downbytes,totalbytes,setup_fee,recur_fee,unused_credit_cancel,unused_credit_suspend,unused_credit_change,delay_cancel,a2billing_tariff,a2billing_type,a2billing_simultaccess,a2billing_carrier_cost_min,a2billing_carrer_initblock_offp,a2billing_carrier_increment_offp,a2billing_retail_cost_min_offp,a2billing_retail_initblock_offp,a2billing_retail_increment_offp"
+>
+
+
 
       </DIV>
 
@@ -3183,7 +3440,30 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Billing day</TD><TD><INPUT TYPE="text" NAME="subscription__cutoff_day" VALUE="1"></TD></TR><TR><TD ALIGN="right">Time limit for this package</TD><TD><INPUT TYPE="text" NAME="subscription__seconds" VALUE=""></TD></TR><TR><TD ALIGN="right">Upload limit for this package</TD><TD><INPUT TYPE="text" NAME="subscription__upbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Download limit for this package</TD><TD><INPUT TYPE="text" NAME="subscription__downbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Transfer limit for this package</TD><TD><INPUT TYPE="text" NAME="subscription__totalbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Cost of recharge for this package</TD><TD><INPUT TYPE="text" NAME="subscription__recharge_amount" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge time for this package</TD><TD><INPUT TYPE="text" NAME="subscription__recharge_seconds" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge upload for this package</TD><TD><INPUT TYPE="text" NAME="subscription__recharge_upbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge download for this package</TD><TD><INPUT TYPE="text" NAME="subscription__recharge_downbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge transfer for this package</TD><TD><INPUT TYPE="text" NAME="subscription__recharge_totalbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Allow usage from previous period to roll over into current period</TD><TD><INPUT TYPE="checkbox" NAME="subscription__usage_rollover" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Reset usage to these values on manual package recharge</TD><TD><INPUT TYPE="checkbox" NAME="subscription__recharge_reset" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Optional External ID</TD><TD><INPUT TYPE="text" NAME="subscription__externalid" VALUE=""></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="subscription__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="subscription__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="subscription__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="subscription__OPTIONS" VALUE="upbytes,unused_credit_change,downbytes,externalid,recharge_amount,a2billing_tariff,cutoff_day,unused_credit_suspend,recur_fee,a2billing_carrier_cost_min,a2billing_type,a2billing_retail_cost_min_offp,delay_cancel,recharge_totalbytes,seconds,a2billing_retail_increment_offp,recharge_downbytes,a2billing_retail_initblock_offp,a2billing_simultaccess,recharge_seconds,recharge_reset,a2billing_carrer_initblock_offp,setup_fee,recharge_upbytes,totalbytes,a2billing_carrier_increment_offp,usage_rollover,unused_credit_cancel">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Billing day</TD><TD>
+      <INPUT TYPE="text" NAME="subscription__cutoff_day" VALUE="1"></TD></TR><TR><TD ALIGN="right">Time limit for this package</TD><TD>
+      <INPUT TYPE="text" NAME="subscription__seconds" VALUE=""></TD></TR><TR><TD ALIGN="right">Upload limit for this package</TD><TD>
+      <INPUT TYPE="text" NAME="subscription__upbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Download limit for this package</TD><TD>
+      <INPUT TYPE="text" NAME="subscription__downbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Transfer limit for this package</TD><TD>
+      <INPUT TYPE="text" NAME="subscription__totalbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Cost of recharge for this package</TD><TD>
+      <INPUT TYPE="text" NAME="subscription__recharge_amount" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge time for this package</TD><TD>
+      <INPUT TYPE="text" NAME="subscription__recharge_seconds" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge upload for this package</TD><TD>
+      <INPUT TYPE="text" NAME="subscription__recharge_upbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge download for this package</TD><TD>
+      <INPUT TYPE="text" NAME="subscription__recharge_downbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Recharge transfer for this package</TD><TD>
+      <INPUT TYPE="text" NAME="subscription__recharge_totalbytes" VALUE=""></TD></TR><TR><TD ALIGN="right">Allow usage from previous period to roll over into current period</TD><TD>
+      <INPUT TYPE="checkbox" NAME="subscription__usage_rollover" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Reset usage to these values on manual package recharge</TD><TD>
+      <INPUT TYPE="checkbox" NAME="subscription__recharge_reset" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Optional External ID</TD><TD>
+      <INPUT TYPE="text" NAME="subscription__externalid" VALUE=""></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD>
+      <INPUT TYPE="checkbox" NAME="subscription__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD>
+      <span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD>
+      <INPUT TYPE="checkbox" NAME="subscription__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD>
+      <INPUT TYPE="checkbox" NAME="subscription__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE  = "hidden"
+       NAME  = "subscription__OPTIONS"
+       ID    = "subscription__OPTIONS"
+       VALUE = "cutoff_day,seconds,upbytes,downbytes,totalbytes,recharge_amount,recharge_seconds,recharge_upbytes,recharge_downbytes,recharge_totalbytes,usage_rollover,recharge_reset,externalid,setup_fee,recur_fee,unused_credit_cancel,unused_credit_suspend,unused_credit_change,delay_cancel,a2billing_tariff,a2billing_type,a2billing_simultaccess,a2billing_carrier_cost_min,a2billing_carrer_initblock_offp,a2billing_carrier_increment_offp,a2billing_retail_cost_min_offp,a2billing_retail_initblock_offp,a2billing_retail_increment_offp"
+>
+
+
 
       </DIV>
 
@@ -3192,7 +3472,30 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Hours included</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_included_hours" VALUE="0"></TD></TR><TR><TD ALIGN="right">Additional charge per hour</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_hourly_charge" VALUE="0"></TD></TR><TR><TD ALIGN="right">Maximum overage charge for hours (0 means no cap)</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_hourly_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Upload megabytes included</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_included_input" VALUE="0"></TD></TR><TR><TD ALIGN="right">Additional charge per megabyte upload</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_input_charge" VALUE="0"></TD></TR><TR><TD ALIGN="right">Maximum overage charge for upload (0 means no cap)</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_input_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Download megabytes included</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_included_output" VALUE="0"></TD></TR><TR><TD ALIGN="right">Additional charge per megabyte download</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_output_charge" VALUE="0"></TD></TR><TR><TD ALIGN="right">Maximum overage charge for download (0 means no cap)</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_output_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Total megabytes included</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_included_total" VALUE="0"></TD></TR><TR><TD ALIGN="right">Additional charge per megabyte total</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_total_charge" VALUE="0"></TD></TR><TR><TD ALIGN="right">Maximum overage charge for total megabytes (0 means no cap)</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__recur_total_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Global cap on all overage charges (0 means no cap)</TD><TD><INPUT TYPE="text" NAME="sqlradacct_hour__global_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="sqlradacct_hour__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="sqlradacct_hour__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="sqlradacct_hour__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="sqlradacct_hour__OPTIONS" VALUE="recur_included_hours,unused_credit_change,recur_total_cap,recur_hourly_charge,a2billing_tariff,recur_fee,recur_output_charge,unused_credit_suspend,a2billing_carrier_cost_min,recur_included_total,a2billing_type,recur_total_charge,a2billing_retail_cost_min_offp,delay_cancel,a2billing_retail_increment_offp,global_cap,recur_hourly_cap,a2billing_retail_initblock_offp,a2billing_simultaccess,recur_input_charge,a2billing_carrer_initblock_offp,recur_input_cap,recur_included_output,setup_fee,recur_output_cap,recur_included_input,a2billing_carrier_increment_offp,unused_credit_cancel">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Hours included</TD><TD>
+      <INPUT TYPE="text" NAME="sqlradacct_hour__recur_included_hours" VALUE="0"></TD></TR><TR><TD ALIGN="right">Additional charge per hour</TD><TD>
+      <INPUT TYPE="text" NAME="sqlradacct_hour__recur_hourly_charge" VALUE="0"></TD></TR><TR><TD ALIGN="right">Maximum overage charge for hours (0 means no cap)</TD><TD>
+      <INPUT TYPE="text" NAME="sqlradacct_hour__recur_hourly_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Upload 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"
+       ID    = "sqlradacct_hour__OPTIONS"
+       VALUE = "recur_included_hours,recur_hourly_charge,recur_hourly_cap,recur_included_input,recur_input_charge,recur_input_cap,recur_included_output,recur_output_charge,recur_output_cap,recur_included_total,recur_total_charge,recur_total_cap,global_cap,setup_fee,recur_fee,unused_credit_cancel,unused_credit_suspend,unused_credit_change,delay_cancel,a2billing_tariff,a2billing_type,a2billing_simultaccess,a2billing_carrier_cost_min,a2billing_carrer_initblock_offp,a2billing_carrier_increment_offp,a2billing_retail_cost_min_offp,a2billing_retail_initblock_offp,a2billing_retail_increment_offp"
+>
+
+
 
       </DIV>
 
@@ -3201,7 +3504,31 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Hours included per day</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_included_hours" VALUE="0"></TD></TR><TR><TD ALIGN="right">Additional charge per hour</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_hourly_charge" VALUE="0"></TD></TR><TR><TD ALIGN="right">Maximum daily charge for hours (0 means no cap)</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_hourly_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Upload megabytes included per day</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_included_input" VALUE="0"></TD></TR><TR><TD ALIGN="right">Additional charge per megabyte upload</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_input_charge" VALUE="0"></TD></TR><TR><TD ALIGN="right">Maximum daily charge for upload (0 means no cap)</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_input_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Download megabytes included per day</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_included_output" VALUE="0"></TD></TR><TR><TD ALIGN="right">Additional charge per megabyte download</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_output_charge" VALUE="0"></TD></TR><TR><TD ALIGN="right">Maximum daily charge for download (0 means no cap)</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_output_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Total megabytes included per day</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_included_total" VALUE="0"></TD></TR><TR><TD ALIGN="right">Additional charge per megabyte total</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_total_charge" VALUE="0"></TD></TR><TR><TD ALIGN="right">Maximum daily charge for total megabytes (0 means no cap)</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__recur_total_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Daily cap on all overage charges (0 means no cap)</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__global_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Monthly (billing frequency) cap on all overage charges (0 means no cap)</TD><TD><INPUT TYPE="text" NAME="sqlradacct_daily__monthly_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="sqlradacct_daily__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="sqlradacct_daily__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="sqlradacct_daily__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="sqlradacct_daily__OPTIONS" VALUE="recur_output_cap,setup_fee,recur_included_output,recur_input_cap,monthly_cap,recur_included_input,a2billing_carrier_increment_offp,unused_credit_cancel,a2billing_retail_increment_offp,global_cap,a2billing_retail_initblock_offp,recur_hourly_cap,a2billing_simultaccess,a2billing_carrer_initblock_offp,recur_input_charge,unused_credit_suspend,recur_output_charge,recur_fee,recur_included_total,a2billing_type,a2billing_carrier_cost_min,a2billing_retail_cost_min_offp,recur_total_charge,delay_cancel,unused_credit_change,recur_included_hours,recur_total_cap,a2billing_tariff,recur_hourly_charge">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Hours included per day</TD><TD>
+      <INPUT TYPE="text" NAME="sqlradacct_daily__recur_included_hours" VALUE="0"></TD></TR><TR><TD ALIGN="right">Additional charge per hour</TD><TD>
+      <INPUT TYPE="text" NAME="sqlradacct_daily__recur_hourly_charge" VALUE="0"></TD></TR><TR><TD ALIGN="right">Maximum daily charge for hours (0 means no cap)</TD><TD>
+      <INPUT TYPE="text" NAME="sqlradacct_daily__recur_hourly_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Upload megabytes included per day</TD><TD>
+      <INPUT TYPE="text" NAME="sqlradacct_daily__recur_included_input" VALUE="0"></TD></TR><TR><TD ALIGN="right">Additional charge per megabyte upload</TD><TD>
+      <INPUT TYPE="text" NAME="sqlradacct_daily__recur_input_charge" VALUE="0"></TD></TR><TR><TD ALIGN="right">Maximum daily charge for upload (0 means no cap)</TD><TD>
+      <INPUT TYPE="text" NAME="sqlradacct_daily__recur_input_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Download megabytes included per day</TD><TD>
+      <INPUT TYPE="text" NAME="sqlradacct_daily__recur_included_output" VALUE="0"></TD></TR><TR><TD ALIGN="right">Additional charge per megabyte download</TD><TD>
+      <INPUT TYPE="text" NAME="sqlradacct_daily__recur_output_charge" VALUE="0"></TD></TR><TR><TD ALIGN="right">Maximum daily charge for download (0 means no cap)</TD><TD>
+      <INPUT TYPE="text" NAME="sqlradacct_daily__recur_output_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Total megabytes included per day</TD><TD>
+      <INPUT TYPE="text" NAME="sqlradacct_daily__recur_included_total" VALUE="0"></TD></TR><TR><TD ALIGN="right">Additional charge per megabyte total</TD><TD>
+      <INPUT TYPE="text" NAME="sqlradacct_daily__recur_total_charge" VALUE="0"></TD></TR><TR><TD ALIGN="right">Maximum daily charge for total megabytes (0 means no cap)</TD><TD>
+      <INPUT TYPE="text" NAME="sqlradacct_daily__recur_total_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Daily cap on all overage charges (0 means no cap)</TD><TD>
+      <INPUT TYPE="text" NAME="sqlradacct_daily__global_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Monthly (billing frequency) cap on all overage charges (0 means no cap)</TD><TD>
+      <INPUT TYPE="text" NAME="sqlradacct_daily__monthly_cap" VALUE="0"></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD>
+      <INPUT TYPE="checkbox" NAME="sqlradacct_daily__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD>
+      <span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD>
+      <INPUT TYPE="checkbox" NAME="sqlradacct_daily__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD>
+      <INPUT TYPE="checkbox" NAME="sqlradacct_daily__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE  = "hidden"
+       NAME  = "sqlradacct_daily__OPTIONS"
+       ID    = "sqlradacct_daily__OPTIONS"
+       VALUE = "recur_included_hours,recur_hourly_charge,recur_hourly_cap,recur_included_input,recur_input_charge,recur_input_cap,recur_included_output,recur_output_charge,recur_output_cap,recur_included_total,recur_total_charge,recur_total_cap,global_cap,monthly_cap,setup_fee,recur_fee,unused_credit_cancel,unused_credit_suspend,unused_credit_change,delay_cancel,a2billing_tariff,a2billing_type,a2billing_simultaccess,a2billing_carrier_cost_min,a2billing_carrer_initblock_offp,a2billing_carrier_increment_offp,a2billing_retail_cost_min_offp,a2billing_retail_initblock_offp,a2billing_retail_increment_offp"
+>
+
+
 
       </DIV>
 
@@ -3210,7 +3537,18 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Charge recurring fee for period</TD><TD><SELECT NAME="voip_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>
+        <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"
@@ -3228,6 +3566,7 @@ spawn_supp_dst_pkgpart(this);"
 
 
 </TD></TR><TR><TD ALIGN="right">Optional alternate intrastate rate plan</TD><TD>
+      
 <SELECT 
         NAME = "voip_cdr__intrastate_ratenum"
         ID   = "ratenum"
@@ -3244,7 +3583,61 @@ spawn_supp_dst_pkgpart(this);"
 </SELECT>
 
 
-</TD></TR><TR><TD ALIGN="right">Number of calls included at no usage charge</TD><TD><INPUT TYPE="text" NAME="voip_cdr__calls_included" VALUE=""></TD></TR><TR><TD ALIGN="right">Charge per minute when using "single price per minute" rating method</TD><TD><INPUT TYPE="text" NAME="voip_cdr__min_charge" VALUE=""></TD></TR><TR><TD ALIGN="right">Minutes included when using the "single price per minute" or "prefix" rating method</TD><TD><INPUT TYPE="text" NAME="voip_cdr__min_included" VALUE=""></TD></TR><TR><TD ALIGN="right">Granularity when using "single price per minute" rating method</TD><TD><SELECT NAME="voip_cdr__sec_granularity"><OPTION VALUE="1">1 second<OPTION VALUE="6">6 second<OPTION VALUE="30">30 second<OPTION VALUE="60">minute<OPTION VALUE="0">call</SELECT></TD></TR><TR><TD ALIGN="right">Handling of calls without a rate in the rate table</TD><TD><SELECT NAME="voip_cdr__ignore_unrateable"><OPTION VALUE="" SELECTED>Exit with a fatal error<OPTION VALUE="1">Ignore and continue<OPTION VALUE="2">Flag for later review</SELECT></TD></TR><TR><TD ALIGN="right">Default prefix optionally prepended to customer DID numbers when searching for CDR records</TD><TD><INPUT TYPE="text" NAME="voip_cdr__default_prefix" VALUE="+1"></TD></TR><TR><TD ALIGN="right">Disable rating of CDR records based on the "src" field in addition to "charged_party"</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__disable_src" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Destination prefix for domestic CDR records</TD><TD><INPUT TYPE="text" NAME="voip_cdr__domestic_prefix" VALUE="1"></TD></TR><TR><TD ALIGN="right">Destination prefix for international CDR records</TD><TD><INPUT TYPE="text" NAME="voip_cdr__international_prefix" VALUE="011"></TD></TR><TR><TD ALIGN="right">Disable automatic toll-free processing</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__disable_tollfree" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the amaflags field is set to "2" ("BILL"/"BILLING").</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__use_amaflags" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the Carrier ID is set to any of these (comma-separated) values: </TD><TD><INPUT TYPE="text" NAME="voip_cdr__use_carrierid" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the CDR Type is set to this cdrtypenum: </TD><TD><INPUT TYPE="text" NAME="voip_cdr__use_cdrtypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the CDR Type is set to this cdrtypenum: </TD><TD><INPUT TYPE="text" NAME="voip_cdr__ignore_cdrtypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the CDR Call Type is set to this calltypenum: </TD><TD><INPUT TYPE="text" NAME="voip_cdr__use_calltypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the CDR Call Type is set to this calltypenum: </TD><TD><INPUT TYPE="text" NAME="voip_cdr__ignore_calltypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the Disposition is set to any of these (comma-separated) values: </TD><TD><INPUT TYPE="text" NAME="voip_cdr__ignore_disposition" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the Disposition is set to any of these (comma-separated) values: </TD><TD><INPUT TYPE="text" NAME="voip_cdr__disposition_in" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the dcontext is set to any of these (comma-separated) values: </TD><TD><INPUT TYPE="text" NAME="voip_cdr__skip_dcontext" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the destination number starts with any of these values: </TD><TD><INPUT TYPE="text" NAME="voip_cdr__skip_dst_prefix" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the dstchannel starts with:</TD><TD><INPUT TYPE="text" NAME="voip_cdr__skip_dstchannel_prefix" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the source is more than this many digits:</TD><TD><INPUT TYPE="text" NAME="voip_cdr__skip_src_length_more" VALUE=""></TD></TR><TR><TD ALIGN="right">Do charge for CDRs where source is equal or greater than the specified digits, when accountcode is toll free</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__noskip_src_length_accountcode_tollfree" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Optional alternate rate plan when accountcode is toll free: </TD><TD><SELECT NAME="voip_cdr__accountcode_tollfree_ratenum"><OPTION VALUE=""></SELECT></TD></TR><TR><TD ALIGN="right">When using an alternate rate plan for toll-free accountcodes, the CDR field to use in rating calculations</TD><TD><SELECT NAME="voip_cdr__accountcode_tollfree_field"><OPTION VALUE="dst">Destination (dst)<OPTION VALUE="src">Source (src)</SELECT></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the destination is less than this many digits:</TD><TD><INPUT TYPE="text" NAME="voip_cdr__skip_dst_length_less" VALUE=""></TD></TR><TR><TD ALIGN="right">Do charge for CDRs where dst is less than the specified digits, when accountcode is toll free</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__noskip_dst_length_accountcode_tollfree" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the lastapp matches this value: </TD><TD><INPUT TYPE="text" NAME="voip_cdr__skip_lastapp" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where max_callers is less than or equal to this value: </TD><TD><INPUT TYPE="text" NAME="voip_cdr__skip_max_callers" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for calls between numbers belonging to the same customer</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__skip_same_customer" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Calculate usage based on the duration field instead of the billsec field</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__use_duration" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Rewrite these (comma-separated) destination numbers to 411 for rating purposes (also ignore any carrierid check): </TD><TD><INPUT TYPE="text" NAME="voip_cdr__411_rewrite" VALUE=""></TD></TR><TR><TD ALIGN="right">CDR display format for invoices</TD><TD><SELECT NAME="voip_cdr__output_format"><OPTION VALUE="" SELECTED><OPTION VALUE="accountcode_default">Default plus accountcode<OPTION VALUE="basic_upstream_dst_regionname">Basic with upstream destination name<OPTION VALUE="basic">Basic<OPTION VALUE="sum_count_class">Summary, one line per usage class<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix<OPTION VALUE="source_default">Default with source<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="simple2">Simple with source<OPTION VALUE="description_default">Default with description field as destination<OPTION VALUE="default">Default<OPTION VALUE="simple">Simple<OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="accountcode_simple">Simple with accountcode</SELECT></TD></TR><TR><TD ALIGN="right">CDR display format for selfservice</TD><TD><SELECT NAME="voip_cdr__selfservice_format"><OPTION VALUE="" SELECTED><OPTION VALUE="accountcode_default">Default plus accountcode<OPTION VALUE="basic_upstream_dst_regionname">Basic with upstream destination name<OPTION VALUE="basic">Basic<OPTION VALUE="sum_count_class">Summary, one line per usage class<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix<OPTION VALUE="source_default">Default with source<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="simple2">Simple with source<OPTION VALUE="description_default">Default with description field as destination<OPTION VALUE="default">Default<OPTION VALUE="simple">Simple<OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="accountcode_simple">Simple with accountcode</SELECT></TD></TR><TR><TD ALIGN="right">Inbound CDR display format for selfservice</TD><TD><SELECT NAME="voip_cdr__selfservice_inbound_format"><OPTION VALUE="" SELECTED><OPTION VALUE="accountcode_default">Default plus accountcode<OPTION VALUE="basic_upstream_dst_regionname">Basic with upstream destination name<OPTION VALUE="basic">Basic<OPTION VALUE="sum_count_class">Summary, one line per usage class<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix<OPTION VALUE="source_default">Default with source<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="simple2">Simple with source<OPTION VALUE="description_default">Default with description field as destination<OPTION VALUE="default">Default<OPTION VALUE="simple">Simple<OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="accountcode_simple">Simple with accountcode</SELECT></TD></TR><TR><TD ALIGN="right">Always put usage details in separate section.  The section is defined in the next option.</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__usage_mandate" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Section in which to place usage charges (whether separated or not): </TD><TD><INPUT TYPE="text" NAME="voip_cdr__usage_section" VALUE=""></TD></TR><TR><TD ALIGN="right">Include usage summary with recurring charges when usage is in separate section</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__summarize_usage" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Show details for included / no-charge calls.</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__usage_showzero" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Generate an invoice immediately for every call (as well any setup fee, upon first payment).  Useful for prepaid.</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__bill_every_call" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill for all phone numbers that were active during the billing period</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__bill_inactive_svcs" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Only bill CDRs with a date during the package billing period</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__bill_only_pkg_dates" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Consider for tax purposes the number of lines to be svc_phones that may be provisioned rather than those that actually are.</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__count_available_phones" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Continue recurring billing while suspended</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__suspend_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="voip_cdr__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="voip_cdr__OPTIONS" VALUE="domestic_prefix,bill_only_pkg_dates,selfservice_format,summarize_usage,noskip_src_length_accountcode_tollfree,skip_dst_length_less,use_calltypenum,ignore_unrateable,use_duration,use_amaflags,intrastate_ratenum,skip_max_callers,recur_fee,recur_temporality,a2billing_carrer_initblock_offp,disposition_in,a2billing_simultaccess,ignore_disposition,use_cdrtypenum,unused_credit_cancel,bill_every_call,skip_dst_prefix,rounding,a2billing_carrier_increment_offp,usage_showzero,selfservice_inbound_format,disable_src,a2billing_type,bill_inactive_svcs,delay_cancel,count_available_phones,cdr_svc_method,recur_method,usage_mandate,rating_method,min_charge,a2billing_retail_initblock_offp,skip_lastapp,noskip_dst_length_accountcode_tollfree,skip_dcontext,setup_fee,calls_included,disable_tollfree,unused_credit_change,suspend_bill,a2billing_tariff,output_format,a2billing_carrier_cost_min,cutoff_day,usage_section,prorate_round_day,ignore_cdrtypenum,a2billing_retail_cost_min_offp,default_prefix,skip_same_customer,accountcode_tollfree_field,a2billing_retail_increment_offp,skip_src_length_more,prorate_defer_bill,accountcode_tollfree_ratenum,ratenum,411_rewrite,international_prefix,skip_dstchannel_prefix,use_carrierid,min_included,unused_credit_suspend,sec_granularity,add_full_period,prorate_verbose,ignore_calltypenum">
+</TD></TR><TR><TD ALIGN="right">Number of calls included at no usage charge</TD><TD>
+      <INPUT TYPE="text" NAME="voip_cdr__calls_included" VALUE=""></TD></TR><TR><TD ALIGN="right">Charge per minute when using "single price per minute" rating method</TD><TD>
+      <INPUT TYPE="text" NAME="voip_cdr__min_charge" VALUE=""></TD></TR><TR><TD ALIGN="right">Minutes included when using the "single price per minute" or "prefix" rating method</TD><TD>
+      <INPUT TYPE="text" NAME="voip_cdr__min_included" VALUE=""></TD></TR><TR><TD ALIGN="right">Granularity when using "single price per minute" rating method</TD><TD>
+      <SELECT NAME="voip_cdr__sec_granularity"><OPTION VALUE="1">1 second<OPTION VALUE="6">6 second<OPTION VALUE="30">30 second<OPTION VALUE="60">minute<OPTION VALUE="0">call</SELECT></TD></TR><TR><TD ALIGN="right">Handling of calls without a rate in the rate table</TD><TD>
+      <SELECT NAME="voip_cdr__ignore_unrateable"><OPTION VALUE="" SELECTED>Exit with a fatal error<OPTION VALUE="1">Ignore and continue<OPTION VALUE="2">Flag for later review</SELECT></TD></TR><TR><TD ALIGN="right">Default prefix optionally prepended to customer DID numbers when searching for CDR records</TD><TD>
+      <INPUT TYPE="text" NAME="voip_cdr__default_prefix" VALUE="+1"></TD></TR><TR><TD ALIGN="right">Disable rating of CDR records based on the "src" field in addition to "charged_party"</TD><TD>
+      <INPUT TYPE="checkbox" NAME="voip_cdr__disable_src" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Destination prefix for domestic CDR records</TD><TD>
+      <INPUT TYPE="text" NAME="voip_cdr__domestic_prefix" VALUE="1"></TD></TR><TR><TD ALIGN="right">Destination prefix for international CDR records</TD><TD>
+      <INPUT TYPE="text" NAME="voip_cdr__international_prefix" VALUE="011"></TD></TR><TR><TD ALIGN="right">Disable automatic toll-free processing</TD><TD>
+      <INPUT TYPE="checkbox" NAME="voip_cdr__disable_tollfree" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the amaflags field is set to "2" ("BILL"/"BILLING").</TD><TD>
+      <INPUT TYPE="checkbox" NAME="voip_cdr__use_amaflags" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the Carrier ID is set to any of these (comma-separated) values: </TD><TD>
+      <INPUT TYPE="text" NAME="voip_cdr__use_carrierid" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the CDR Type is set to this cdrtypenum: </TD><TD>
+      <INPUT TYPE="text" NAME="voip_cdr__use_cdrtypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the CDR Type is set to this cdrtypenum: </TD><TD>
+      <INPUT TYPE="text" NAME="voip_cdr__ignore_cdrtypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the CDR Call Type is set to this calltypenum: </TD><TD>
+      <INPUT TYPE="text" NAME="voip_cdr__use_calltypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the CDR Call Type is set to this calltypenum: </TD><TD>
+      <INPUT TYPE="text" NAME="voip_cdr__ignore_calltypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the Disposition is set to any of these (comma-separated) values: </TD><TD>
+      <INPUT TYPE="text" NAME="voip_cdr__ignore_disposition" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the Disposition is set to any of these (comma-separated) values: </TD><TD>
+      <INPUT TYPE="text" NAME="voip_cdr__disposition_in" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the dcontext is set to any of these (comma-separated) values: </TD><TD>
+      <INPUT TYPE="text" NAME="voip_cdr__skip_dcontext" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the destination number starts with any of these values: </TD><TD>
+      <INPUT TYPE="text" NAME="voip_cdr__skip_dst_prefix" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the dstchannel starts with:</TD><TD>
+      <INPUT TYPE="text" NAME="voip_cdr__skip_dstchannel_prefix" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the source is more than this many digits:</TD><TD>
+      <INPUT TYPE="text" NAME="voip_cdr__skip_src_length_more" VALUE=""></TD></TR><TR><TD ALIGN="right">Do charge for CDRs where source is equal or greater than the specified digits, when accountcode is toll free</TD><TD>
+      <INPUT TYPE="checkbox" NAME="voip_cdr__noskip_src_length_accountcode_tollfree" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Optional alternate rate plan when accountcode is toll free: </TD><TD>
+      <SELECT NAME="voip_cdr__accountcode_tollfree_ratenum"><OPTION VALUE=""></SELECT></TD></TR><TR><TD ALIGN="right">When using an alternate rate plan for toll-free accountcodes, the CDR field to use in rating calculations</TD><TD>
+      <SELECT NAME="voip_cdr__accountcode_tollfree_field"><OPTION VALUE="dst">Destination (dst)<OPTION VALUE="src">Source (src)</SELECT></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the destination is less than this many digits:</TD><TD>
+      <INPUT TYPE="text" NAME="voip_cdr__skip_dst_length_less" VALUE=""></TD></TR><TR><TD ALIGN="right">Do charge for CDRs where dst is less than the specified digits, when accountcode is toll free</TD><TD>
+      <INPUT TYPE="checkbox" NAME="voip_cdr__noskip_dst_length_accountcode_tollfree" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the lastapp matches this value: </TD><TD>
+      <INPUT TYPE="text" NAME="voip_cdr__skip_lastapp" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where max_callers is less than or equal to this value: </TD><TD>
+      <INPUT TYPE="text" NAME="voip_cdr__skip_max_callers" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for calls between numbers belonging to the same customer</TD><TD>
+      <INPUT TYPE="checkbox" NAME="voip_cdr__skip_same_customer" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Calculate usage based on the duration field instead of the billsec field</TD><TD>
+      <INPUT TYPE="checkbox" NAME="voip_cdr__use_duration" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Rewrite these (comma-separated) destination numbers to 411 for rating purposes (also ignore any carrierid check): </TD><TD>
+      <INPUT TYPE="text" NAME="voip_cdr__411_rewrite" VALUE=""></TD></TR><TR><TD ALIGN="right">CDR display format for invoices</TD><TD>
+      <SELECT NAME="voip_cdr__output_format"><OPTION VALUE="" SELECTED><OPTION VALUE="accountcode_default">Default plus accountcode<OPTION VALUE="accountcode_simple">Simple with accountcode<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="simple">Simple<OPTION VALUE="simple2">Simple with source<OPTION VALUE="source_default">Default with source<OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="sum_count_class">Summary, one line per usage class<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix</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="accountcode_simple">Simple with accountcode<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="simple">Simple<OPTION VALUE="simple2">Simple with source<OPTION VALUE="source_default">Default with source<OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="sum_count_class">Summary, one line per usage class<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix</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="accountcode_simple">Simple with accountcode<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="simple">Simple<OPTION VALUE="simple2">Simple with source<OPTION VALUE="source_default">Default with source<OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="sum_count_class">Summary, one line per usage class<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix</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"
+       ID    = "voip_cdr__OPTIONS"
+       VALUE = "recur_temporality,recur_method,cutoff_day,prorate_defer_bill,prorate_round_day,add_full_period,prorate_verbose,cdr_svc_method,rating_method,rounding,ratenum,intrastate_ratenum,calls_included,min_charge,min_included,sec_granularity,ignore_unrateable,default_prefix,disable_src,domestic_prefix,international_prefix,disable_tollfree,use_amaflags,use_carrierid,use_cdrtypenum,ignore_cdrtypenum,use_calltypenum,ignore_calltypenum,ignore_disposition,disposition_in,skip_dcontext,skip_dst_prefix,skip_dstchannel_prefix,skip_src_length_more,noskip_src_length_accountcode_tollfree,accountcode_tollfree_ratenum,accountcode_tollfree_field,skip_dst_length_less,noskip_dst_length_accountcode_tollfree,skip_lastapp,skip_max_callers,skip_same_customer,use_duration,411_rewrite,output_format,selfservice_format,selfservice_inbound_format,usage_mandate,usage_section,summarize_usage,usage_showzero,bill_every_call,bill_inactive_svcs,bill_only_pkg_dates,count_available_phones,suspend_bill,setup_fee,recur_fee,unused_credit_cancel,unused_credit_suspend,unused_credit_change,delay_cancel,a2billing_tariff,a2billing_type,a2billing_simultaccess,a2billing_carrier_cost_min,a2billing_carrer_initblock_offp,a2billing_carrier_increment_offp,a2billing_retail_cost_min_offp,a2billing_retail_initblock_offp,a2billing_retail_increment_offp"
+>
+
+
 
       </DIV>
 
@@ -3253,7 +3646,46 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Charge recurring fee for period</TD><TD><SELECT NAME="voip_inbound__recur_temporality"><OPTION VALUE="upcoming">Upcoming (future)<OPTION VALUE="preceding">Preceding (past)</SELECT></TD></TR><TR><TD ALIGN="right">Recurring fee method</TD><TD><SELECT NAME="voip_inbound__recur_method"><OPTION VALUE="anniversary">Charge the recurring fee at the frequency specified above<OPTION VALUE="prorate">Charge a prorated fee the first time (selectable billing date)<OPTION VALUE="subscription">Charge the full fee for the first partial period (selectable billing date)</SELECT></TD></TR><TR><TD ALIGN="right">Billing Day (1 - 28) for prorating or subscription</TD><TD><INPUT TYPE="text" NAME="voip_inbound__cutoff_day" VALUE="1"></TD></TR><TR><TD ALIGN="right">When prorating, defer the first bill until the billing day</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When prorating, round to the nearest full day</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">When prorating first month, also bill for one full period after that</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__add_full_period" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Show prorate details on the invoice</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__prorate_verbose" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">Charge per minute</TD><TD><INPUT TYPE="text" NAME="voip_inbound__min_charge" VALUE=""></TD></TR><TR><TD ALIGN="right">Minutes included</TD><TD><INPUT TYPE="text" NAME="voip_inbound__min_included" VALUE=""></TD></TR><TR><TD ALIGN="right">Granularity</TD><TD><SELECT NAME="voip_inbound__sec_granularity"><OPTION VALUE="1">1 second<OPTION VALUE="6">6 second<OPTION VALUE="30">30 second<OPTION VALUE="60">minute<OPTION VALUE="0">call</SELECT></TD></TR><TR><TD ALIGN="right">Default prefix optionally prepended to customer DID numbers when searching for CDR records</TD><TD><INPUT TYPE="text" NAME="voip_inbound__default_prefix" VALUE="+1"></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the amaflags field is set to "2" ("BILL"/"BILLING").</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__use_amaflags" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the Carrier ID is set to any of these (comma-separated) values: </TD><TD><INPUT TYPE="text" NAME="voip_inbound__use_carrierid" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the CDR Type is set to this cdrtypenum: </TD><TD><INPUT TYPE="text" NAME="voip_inbound__use_cdrtypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the CDR Type is set to this cdrtypenum: </TD><TD><INPUT TYPE="text" NAME="voip_inbound__ignore_cdrtypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the CDR Call Type is set to this cdrtypenum: </TD><TD><INPUT TYPE="text" NAME="voip_inbound__use_calltypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the CDR Call Type is set to this cdrtypenum: </TD><TD><INPUT TYPE="text" NAME="voip_inbound__ignore_calltypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the Disposition is set to any of these (comma-separated) values: </TD><TD><INPUT TYPE="text" NAME="voip_inbound__ignore_disposition" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the Disposition is set to any of these (comma-separated) values: </TD><TD><INPUT TYPE="text" NAME="voip_inbound__disposition_in" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the dcontext is set to any of these (comma-separated) values:</TD><TD><INPUT TYPE="text" NAME="voip_inbound__skip_dcontext" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the dstchannel starts with:</TD><TD><INPUT TYPE="text" NAME="voip_inbound__skip_dstchannel_prefix" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the destination is less than this many digits:</TD><TD><INPUT TYPE="text" NAME="voip_inbound__skip_dst_length_less" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the lastapp matches this value</TD><TD><INPUT TYPE="text" NAME="voip_inbound__skip_lastapp" VALUE=""></TD></TR><TR><TD ALIGN="right">Calculate usage based on the duration field instead of the billsec field</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__use_duration" VALUE=1 ></TD></TR><TR><TD ALIGN="right">CDR invoice display format</TD><TD><SELECT NAME="voip_inbound__output_format"><OPTION VALUE="default">Default<OPTION VALUE="description_default">Default with description field as destination<OPTION VALUE="simple">Simple<OPTION VALUE="accountcode_simple">Simple with accountcode<OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="accountcode_default">Default plus accountcode<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix<OPTION VALUE="sum_count_class">Summary, one line per usage class<OPTION VALUE="source_default">Default with source<OPTION VALUE="simple2">Simple with source<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="basic_upstream_dst_regionname">Basic with upstream destination name<OPTION VALUE="basic">Basic</SELECT></TD></TR><TR><TD ALIGN="right">Always put usage details in separate section</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__usage_mandate" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Include usage summary with recurring charges when usage is in separate section</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__summarize_usage" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Section in which to place usage charges (whether separated or not)</TD><TD><INPUT TYPE="text" NAME="voip_inbound__usage_section" VALUE=""></TD></TR><TR><TD ALIGN="right">Generate an invoice immediately for every call.  Useful for prepaid.</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__bill_every_call" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="voip_inbound__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="voip_inbound__OPTIONS" VALUE="ignore_disposition,use_cdrtypenum,unused_credit_cancel,skip_dstchannel_prefix,use_carrierid,bill_every_call,min_included,a2billing_carrier_increment_offp,recur_temporality,a2billing_retail_increment_offp,a2billing_carrer_initblock_offp,prorate_defer_bill,disposition_in,a2billing_simultaccess,a2billing_type,add_full_period,unused_credit_suspend,sec_granularity,delay_cancel,prorate_verbose,ignore_calltypenum,use_amaflags,skip_lastapp,setup_fee,skip_dcontext,recur_method,usage_mandate,summarize_usage,skip_dst_length_less,use_calltypenum,min_charge,a2billing_retail_initblock_offp,use_duration,a2billing_carrier_cost_min,cutoff_day,recur_fee,usage_section,prorate_round_day,ignore_cdrtypenum,a2billing_retail_cost_min_offp,default_prefix,unused_credit_change,a2billing_tariff,output_format">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Charge recurring fee for period</TD><TD>
+      <SELECT NAME="voip_inbound__recur_temporality"><OPTION VALUE="upcoming">Upcoming (future)<OPTION VALUE="preceding">Preceding (past)</SELECT></TD></TR><TR><TD ALIGN="right">Recurring fee method</TD><TD>
+      <SELECT NAME="voip_inbound__recur_method"><OPTION VALUE="anniversary">Charge the recurring fee at the frequency specified above<OPTION VALUE="prorate">Charge a prorated fee the first time (selectable billing date)<OPTION VALUE="subscription">Charge the full fee for the first partial period (selectable billing date)</SELECT></TD></TR><TR><TD ALIGN="right">Billing Day (1 - 28) for prorating or subscription</TD><TD>
+      <INPUT TYPE="text" NAME="voip_inbound__cutoff_day" VALUE="1"></TD></TR><TR><TD ALIGN="right">When prorating, defer the first bill until the billing day</TD><TD>
+      <INPUT TYPE="checkbox" NAME="voip_inbound__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When prorating, round to the nearest full day</TD><TD>
+      <INPUT TYPE="checkbox" NAME="voip_inbound__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">When prorating first month, also bill for one full period after that</TD><TD>
+      <INPUT TYPE="checkbox" NAME="voip_inbound__add_full_period" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Show prorate details on the invoice</TD><TD>
+      <INPUT TYPE="checkbox" NAME="voip_inbound__prorate_verbose" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">Charge per minute</TD><TD>
+      <INPUT TYPE="text" NAME="voip_inbound__min_charge" VALUE=""></TD></TR><TR><TD ALIGN="right">Minutes included</TD><TD>
+      <INPUT TYPE="text" NAME="voip_inbound__min_included" VALUE=""></TD></TR><TR><TD ALIGN="right">Granularity</TD><TD>
+      <SELECT NAME="voip_inbound__sec_granularity"><OPTION VALUE="1">1 second<OPTION VALUE="6">6 second<OPTION VALUE="30">30 second<OPTION VALUE="60">minute<OPTION VALUE="0">call</SELECT></TD></TR><TR><TD ALIGN="right">Default prefix optionally prepended to customer DID numbers when searching for CDR records</TD><TD>
+      <INPUT TYPE="text" NAME="voip_inbound__default_prefix" VALUE="+1"></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the amaflags field is set to "2" ("BILL"/"BILLING").</TD><TD>
+      <INPUT TYPE="checkbox" NAME="voip_inbound__use_amaflags" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the Carrier ID is set to any of these (comma-separated) values: </TD><TD>
+      <INPUT TYPE="text" NAME="voip_inbound__use_carrierid" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the CDR Type is set to this cdrtypenum: </TD><TD>
+      <INPUT TYPE="text" NAME="voip_inbound__use_cdrtypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the CDR Type is set to this cdrtypenum: </TD><TD>
+      <INPUT TYPE="text" NAME="voip_inbound__ignore_cdrtypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the CDR Call Type is set to this cdrtypenum: </TD><TD>
+      <INPUT TYPE="text" NAME="voip_inbound__use_calltypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the CDR Call Type is set to this cdrtypenum: </TD><TD>
+      <INPUT TYPE="text" NAME="voip_inbound__ignore_calltypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the Disposition is set to any of these (comma-separated) values: </TD><TD>
+      <INPUT TYPE="text" NAME="voip_inbound__ignore_disposition" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the Disposition is set to any of these (comma-separated) values: </TD><TD>
+      <INPUT TYPE="text" NAME="voip_inbound__disposition_in" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the dcontext is set to any of these (comma-separated) values:</TD><TD>
+      <INPUT TYPE="text" NAME="voip_inbound__skip_dcontext" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the dstchannel starts with:</TD><TD>
+      <INPUT TYPE="text" NAME="voip_inbound__skip_dstchannel_prefix" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the destination is less than this many digits:</TD><TD>
+      <INPUT TYPE="text" NAME="voip_inbound__skip_dst_length_less" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the lastapp matches this value</TD><TD>
+      <INPUT TYPE="text" NAME="voip_inbound__skip_lastapp" VALUE=""></TD></TR><TR><TD ALIGN="right">Calculate usage based on the duration field instead of the billsec field</TD><TD>
+      <INPUT TYPE="checkbox" NAME="voip_inbound__use_duration" VALUE=1 ></TD></TR><TR><TD ALIGN="right">CDR invoice display format</TD><TD>
+      <SELECT NAME="voip_inbound__output_format"><OPTION VALUE="source_default">Default with source<OPTION VALUE="basic">Basic<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="simple2">Simple with source<OPTION VALUE="accountcode_default">Default plus accountcode<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix<OPTION VALUE="default">Default<OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="description_default">Default with description field as destination<OPTION VALUE="accountcode_simple">Simple with accountcode<OPTION VALUE="sum_count_class">Summary, one line per usage class<OPTION VALUE="simple">Simple<OPTION VALUE="basic_upstream_dst_regionname">Basic with upstream destination name</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"
+       ID    = "voip_inbound__OPTIONS"
+       VALUE = "recur_temporality,recur_method,cutoff_day,prorate_defer_bill,prorate_round_day,add_full_period,prorate_verbose,min_charge,min_included,sec_granularity,default_prefix,use_amaflags,use_carrierid,use_cdrtypenum,ignore_cdrtypenum,use_calltypenum,ignore_calltypenum,ignore_disposition,disposition_in,skip_dcontext,skip_dstchannel_prefix,skip_dst_length_less,skip_lastapp,use_duration,output_format,usage_mandate,summarize_usage,usage_section,bill_every_call,setup_fee,recur_fee,unused_credit_cancel,unused_credit_suspend,unused_credit_change,delay_cancel,a2billing_tariff,a2billing_type,a2billing_simultaccess,a2billing_carrier_cost_min,a2billing_carrer_initblock_offp,a2billing_carrier_increment_offp,a2billing_retail_cost_min_offp,a2billing_retail_initblock_offp,a2billing_retail_increment_offp"
+>
+
+
 
       </DIV>
 
@@ -3262,7 +3694,64 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Charge recurring fee for period</TD><TD><SELECT NAME="voip_tiered__recur_temporality"><OPTION VALUE="upcoming">Upcoming (future)<OPTION VALUE="preceding">Preceding (past)</SELECT></TD></TR><TR><TD ALIGN="right">Recurring fee method</TD><TD><SELECT NAME="voip_tiered__recur_method"><OPTION VALUE="anniversary">Charge the recurring fee at the frequency specified above<OPTION VALUE="prorate">Charge a prorated fee the first time (selectable billing date)<OPTION VALUE="subscription">Charge the full fee for the first partial period (selectable billing date)</SELECT></TD></TR><TR><TD ALIGN="right">Billing Day (1 - 28) for prorating or subscription</TD><TD><INPUT TYPE="text" NAME="voip_tiered__cutoff_day" VALUE="1"></TD></TR><TR><TD ALIGN="right">When prorating, defer the first bill until the billing day</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When prorating, round to the nearest full day</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">When prorating first month, also bill for one full period after that</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__add_full_period" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Show prorate details on the invoice</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__prorate_verbose" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">CDR service matching method</TD><TD><SELECT NAME="voip_tiered__cdr_svc_method"><OPTION VALUE="svc_phone.phonenum">Phone numbers (svc_phone.phonenum)<OPTION VALUE="svc_pbx.title">PBX name (svc_pbx.title)<OPTION VALUE="svc_pbx.svcnum">Freeside service # (svc_pbx.svcnum)<OPTION VALUE="svc_pbx.ip.src">PBX name to source IP address<OPTION VALUE="svc_pbx.ip.dst">PBX name to destination IP address<OPTION VALUE="svc_acct.username">Username (svc_acct.username)</SELECT></TD></TR><TR><TD ALIGN="right">Call direction when using phone number matching</TD><TD><SELECT NAME="voip_tiered__cdr_inout"><OPTION VALUE="outbound">Outbound<OPTION VALUE="inbound">Inbound<OPTION VALUE="outbound_inbound">Outbound and Inbound</SELECT></TD></TR><TR><TD ALIGN="right">Tier plan</TD><TD><SELECT NAME="voip_tiered__tiernum"></SELECT></TD></TR><TR><TD ALIGN="right">Rounding for destination prefix rating</TD><TD><SELECT NAME="voip_tiered__rounding"><OPTION VALUE="2">Two decimal places (cent)<OPTION VALUE="4">Four decimal places (100th of a cent)</SELECT></TD></TR><TR><TD ALIGN="right">Number of calls included at no usage charge</TD><TD><INPUT TYPE="text" NAME="voip_tiered__calls_included" VALUE=""></TD></TR><TR><TD ALIGN="right">Minutes included</TD><TD><INPUT TYPE="text" NAME="voip_tiered__min_included" VALUE=""></TD></TR><TR><TD ALIGN="right">Granularity</TD><TD><SELECT NAME="voip_tiered__sec_granularity"><OPTION VALUE="1">1 second<OPTION VALUE="6">6 second<OPTION VALUE="30">30 second<OPTION VALUE="60">minute<OPTION VALUE="0">call</SELECT></TD></TR><TR><TD ALIGN="right">Default prefix optionally prepended to customer DID numbers when searching for CDR records</TD><TD><INPUT TYPE="text" NAME="voip_tiered__default_prefix" VALUE="+1"></TD></TR><TR><TD ALIGN="right">Disable rating of CDR records based on the "src" field in addition to "charged_party"</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__disable_src" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the amaflags field is set to "2" ("BILL"/"BILLING").</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__use_amaflags" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the Carrier ID is set to any of these (comma-separated) values: </TD><TD><INPUT TYPE="text" NAME="voip_tiered__use_carrierid" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the CDR Type is set to this cdrtypenum: </TD><TD><INPUT TYPE="text" NAME="voip_tiered__use_cdrtypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the CDR Type is set to this cdrtypenum: </TD><TD><INPUT TYPE="text" NAME="voip_tiered__ignore_cdrtypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the CDR Call Type is set to this calltypenum: </TD><TD><INPUT TYPE="text" NAME="voip_tiered__use_calltypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the CDR Call Type is set to this calltypenum: </TD><TD><INPUT TYPE="text" NAME="voip_tiered__ignore_calltypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the Disposition is set to any of these (comma-separated) values: </TD><TD><INPUT TYPE="text" NAME="voip_tiered__ignore_disposition" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the Disposition is set to any of these (comma-separated) values: </TD><TD><INPUT TYPE="text" NAME="voip_tiered__disposition_in" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the dcontext is set to any of these (comma-separated) values: </TD><TD><INPUT TYPE="text" NAME="voip_tiered__skip_dcontext" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the destination number starts with any of these values: </TD><TD><INPUT TYPE="text" NAME="voip_tiered__skip_dst_prefix" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the dstchannel starts with:</TD><TD><INPUT TYPE="text" NAME="voip_tiered__skip_dstchannel_prefix" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the source is more than this many digits:</TD><TD><INPUT TYPE="text" NAME="voip_tiered__skip_src_length_more" VALUE=""></TD></TR><TR><TD ALIGN="right">When using an alternate rate plan for toll-free accountcodes, the CDR field to use in rating calculations</TD><TD><SELECT NAME="voip_tiered__accountcode_tollfree_field"><OPTION VALUE="dst">Destination (dst)<OPTION VALUE="src">Source (src)</SELECT></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the destination is less than this many digits:</TD><TD><INPUT TYPE="text" NAME="voip_tiered__skip_dst_length_less" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the lastapp matches this value: </TD><TD><INPUT TYPE="text" NAME="voip_tiered__skip_lastapp" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where max_callers is less than or equal to this value: </TD><TD><INPUT TYPE="text" NAME="voip_tiered__skip_max_callers" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for calls between numbers belonging to the same customer</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__skip_same_customer" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Calculate usage based on the duration field instead of the billsec field</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__use_duration" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Rewrite these (comma-separated) destination numbers to 411 for rating purposes (also ignore any carrierid check): </TD><TD><INPUT TYPE="text" NAME="voip_tiered__411_rewrite" VALUE=""></TD></TR><TR><TD ALIGN="right">CDR display format for invoices</TD><TD><SELECT NAME="voip_tiered__output_format"><OPTION VALUE="" SELECTED><OPTION VALUE="accountcode_default">Default plus accountcode<OPTION VALUE="basic_upstream_dst_regionname">Basic with upstream destination name<OPTION VALUE="basic">Basic<OPTION VALUE="sum_count_class">Summary, one line per usage class<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix<OPTION VALUE="source_default">Default with source<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="simple2">Simple with source<OPTION VALUE="description_default">Default with description field as destination<OPTION VALUE="default">Default<OPTION VALUE="simple">Simple<OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="accountcode_simple">Simple with accountcode</SELECT></TD></TR><TR><TD ALIGN="right">CDR display format for selfservice</TD><TD><SELECT NAME="voip_tiered__selfservice_format"><OPTION VALUE="" SELECTED><OPTION VALUE="accountcode_default">Default plus accountcode<OPTION VALUE="basic_upstream_dst_regionname">Basic with upstream destination name<OPTION VALUE="basic">Basic<OPTION VALUE="sum_count_class">Summary, one line per usage class<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix<OPTION VALUE="source_default">Default with source<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="simple2">Simple with source<OPTION VALUE="description_default">Default with description field as destination<OPTION VALUE="default">Default<OPTION VALUE="simple">Simple<OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="accountcode_simple">Simple with accountcode</SELECT></TD></TR><TR><TD ALIGN="right">Inbound CDR display format for selfservice</TD><TD><SELECT NAME="voip_tiered__selfservice_inbound_format"><OPTION VALUE="" SELECTED><OPTION VALUE="accountcode_default">Default plus accountcode<OPTION VALUE="basic_upstream_dst_regionname">Basic with upstream destination name<OPTION VALUE="basic">Basic<OPTION VALUE="sum_count_class">Summary, one line per usage class<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix<OPTION VALUE="source_default">Default with source<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="simple2">Simple with source<OPTION VALUE="description_default">Default with description field as destination<OPTION VALUE="default">Default<OPTION VALUE="simple">Simple<OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="accountcode_simple">Simple with accountcode</SELECT></TD></TR><TR><TD ALIGN="right">Always put usage details in separate section.  The section is defined in the next option.</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__usage_mandate" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Section in which to place usage charges (whether separated or not): </TD><TD><INPUT TYPE="text" NAME="voip_tiered__usage_section" VALUE=""></TD></TR><TR><TD ALIGN="right">Include usage summary with recurring charges when usage is in separate section</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__summarize_usage" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Show details for included / no-charge calls.</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__usage_showzero" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Generate an invoice immediately for every call (as well any setup fee, upon first payment).  Useful for prepaid.</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__bill_every_call" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill for all phone numbers that were active during the billing period</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__bill_inactive_svcs" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Only bill CDRs with a date during the package billing period</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__bill_only_pkg_dates" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Consider for tax purposes the number of lines to be svc_phones that may be provisioned rather than those that actually are.</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__count_available_phones" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Continue recurring billing while suspended</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__suspend_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="voip_tiered__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="voip_tiered__OPTIONS" VALUE="skip_max_callers,recur_fee,intrastate_ratenum,use_amaflags,skip_dst_length_less,noskip_src_length_accountcode_tollfree,use_calltypenum,ignore_unrateable,use_duration,domestic_prefix,bill_only_pkg_dates,selfservice_format,summarize_usage,delay_cancel,count_available_phones,cdr_svc_method,disable_src,a2billing_type,bill_inactive_svcs,selfservice_inbound_format,tiernum,unused_credit_cancel,skip_dst_prefix,bill_every_call,rounding,usage_showzero,a2billing_carrier_increment_offp,ignore_disposition,use_cdrtypenum,a2billing_carrer_initblock_offp,disposition_in,a2billing_simultaccess,recur_temporality,prorate_round_day,ignore_cdrtypenum,a2billing_retail_cost_min_offp,default_prefix,a2billing_carrier_cost_min,cutoff_day,usage_section,a2billing_tariff,output_format,disable_tollfree,unused_credit_change,suspend_bill,calls_included,skip_lastapp,noskip_dst_length_accountcode_tollfree,skip_dcontext,setup_fee,min_charge,a2billing_retail_initblock_offp,recur_method,usage_mandate,rating_method,prorate_verbose,ignore_calltypenum,add_full_period,sec_granularity,unused_credit_suspend,international_prefix,skip_dstchannel_prefix,use_carrierid,min_included,411_rewrite,ratenum,skip_src_length_more,prorate_defer_bill,accountcode_tollfree_ratenum,accountcode_tollfree_field,cdr_inout,skip_same_customer,a2billing_retail_increment_offp">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Charge recurring fee for period</TD><TD>
+      <SELECT NAME="voip_tiered__recur_temporality"><OPTION VALUE="upcoming">Upcoming (future)<OPTION VALUE="preceding">Preceding (past)</SELECT></TD></TR><TR><TD ALIGN="right">Recurring fee method</TD><TD>
+      <SELECT NAME="voip_tiered__recur_method"><OPTION VALUE="anniversary">Charge the recurring fee at the frequency specified above<OPTION VALUE="prorate">Charge a prorated fee the first time (selectable billing date)<OPTION VALUE="subscription">Charge the full fee for the first partial period (selectable billing date)</SELECT></TD></TR><TR><TD ALIGN="right">Billing Day (1 - 28) for prorating or subscription</TD><TD>
+      <INPUT TYPE="text" NAME="voip_tiered__cutoff_day" VALUE="1"></TD></TR><TR><TD ALIGN="right">When prorating, defer the first bill until the billing day</TD><TD>
+      <INPUT TYPE="checkbox" NAME="voip_tiered__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When prorating, round to the nearest full day</TD><TD>
+      <INPUT TYPE="checkbox" NAME="voip_tiered__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">When prorating first month, also bill for one full period after that</TD><TD>
+      <INPUT TYPE="checkbox" NAME="voip_tiered__add_full_period" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Show prorate details on the invoice</TD><TD>
+      <INPUT TYPE="checkbox" NAME="voip_tiered__prorate_verbose" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">CDR service matching method</TD><TD>
+      <SELECT NAME="voip_tiered__cdr_svc_method"><OPTION VALUE="svc_phone.phonenum">Phone numbers (svc_phone.phonenum)<OPTION VALUE="svc_pbx.title">PBX name (svc_pbx.title)<OPTION VALUE="svc_pbx.svcnum">Freeside service # (svc_pbx.svcnum)<OPTION VALUE="svc_pbx.ip.src">PBX name to source IP address<OPTION VALUE="svc_pbx.ip.dst">PBX name to destination IP address<OPTION VALUE="svc_acct.username">Username (svc_acct.username)</SELECT></TD></TR><TR><TD ALIGN="right">Call direction when using phone number matching</TD><TD>
+      <SELECT NAME="voip_tiered__cdr_inout"><OPTION VALUE="outbound">Outbound<OPTION VALUE="inbound">Inbound<OPTION VALUE="outbound_inbound">Outbound and Inbound</SELECT></TD></TR><TR><TD ALIGN="right">Tier plan</TD><TD>
+      <SELECT NAME="voip_tiered__tiernum"></SELECT></TD></TR><TR><TD ALIGN="right">Rounding for destination prefix rating</TD><TD>
+      <SELECT NAME="voip_tiered__rounding"><OPTION VALUE="2">Two decimal places (cent)<OPTION VALUE="4">Four decimal places (100th of a cent)</SELECT></TD></TR><TR><TD ALIGN="right">Number of calls included at no usage charge</TD><TD>
+      <INPUT TYPE="text" NAME="voip_tiered__calls_included" VALUE=""></TD></TR><TR><TD ALIGN="right">Minutes included</TD><TD>
+      <INPUT TYPE="text" NAME="voip_tiered__min_included" VALUE=""></TD></TR><TR><TD ALIGN="right">Granularity</TD><TD>
+      <SELECT NAME="voip_tiered__sec_granularity"><OPTION VALUE="1">1 second<OPTION VALUE="6">6 second<OPTION VALUE="30">30 second<OPTION VALUE="60">minute<OPTION VALUE="0">call</SELECT></TD></TR><TR><TD ALIGN="right">Default prefix optionally prepended to customer DID numbers when searching for CDR records</TD><TD>
+      <INPUT TYPE="text" NAME="voip_tiered__default_prefix" VALUE="+1"></TD></TR><TR><TD ALIGN="right">Disable rating of CDR records based on the "src" field in addition to "charged_party"</TD><TD>
+      <INPUT TYPE="checkbox" NAME="voip_tiered__disable_src" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the amaflags field is set to "2" ("BILL"/"BILLING").</TD><TD>
+      <INPUT TYPE="checkbox" NAME="voip_tiered__use_amaflags" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the Carrier ID is set to any of these (comma-separated) values: </TD><TD>
+      <INPUT TYPE="text" NAME="voip_tiered__use_carrierid" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the CDR Type is set to this cdrtypenum: </TD><TD>
+      <INPUT TYPE="text" NAME="voip_tiered__use_cdrtypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the CDR Type is set to this cdrtypenum: </TD><TD>
+      <INPUT TYPE="text" NAME="voip_tiered__ignore_cdrtypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the CDR Call Type is set to this calltypenum: </TD><TD>
+      <INPUT TYPE="text" NAME="voip_tiered__use_calltypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the CDR Call Type is set to this calltypenum: </TD><TD>
+      <INPUT TYPE="text" NAME="voip_tiered__ignore_calltypenum" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the Disposition is set to any of these (comma-separated) values: </TD><TD>
+      <INPUT TYPE="text" NAME="voip_tiered__ignore_disposition" VALUE=""></TD></TR><TR><TD ALIGN="right">Only charge for CDRs where the Disposition is set to any of these (comma-separated) values: </TD><TD>
+      <INPUT TYPE="text" NAME="voip_tiered__disposition_in" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the dcontext is set to any of these (comma-separated) values: </TD><TD>
+      <INPUT TYPE="text" NAME="voip_tiered__skip_dcontext" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the destination number starts with any of these values: </TD><TD>
+      <INPUT TYPE="text" NAME="voip_tiered__skip_dst_prefix" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the dstchannel starts with:</TD><TD>
+      <INPUT TYPE="text" NAME="voip_tiered__skip_dstchannel_prefix" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the source is more than this many digits:</TD><TD>
+      <INPUT TYPE="text" NAME="voip_tiered__skip_src_length_more" VALUE=""></TD></TR><TR><TD ALIGN="right">When using an alternate rate plan for toll-free accountcodes, the CDR field to use in rating calculations</TD><TD>
+      <SELECT NAME="voip_tiered__accountcode_tollfree_field"><OPTION VALUE="dst">Destination (dst)<OPTION VALUE="src">Source (src)</SELECT></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the destination is less than this many digits:</TD><TD>
+      <INPUT TYPE="text" NAME="voip_tiered__skip_dst_length_less" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where the lastapp matches this value: </TD><TD>
+      <INPUT TYPE="text" NAME="voip_tiered__skip_lastapp" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for CDRs where max_callers is less than or equal to this value: </TD><TD>
+      <INPUT TYPE="text" NAME="voip_tiered__skip_max_callers" VALUE=""></TD></TR><TR><TD ALIGN="right">Do not charge for calls between numbers belonging to the same customer</TD><TD>
+      <INPUT TYPE="checkbox" NAME="voip_tiered__skip_same_customer" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Calculate usage based on the duration field instead of the billsec field</TD><TD>
+      <INPUT TYPE="checkbox" NAME="voip_tiered__use_duration" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Rewrite these (comma-separated) destination numbers to 411 for rating purposes (also ignore any carrierid check): </TD><TD>
+      <INPUT TYPE="text" NAME="voip_tiered__411_rewrite" VALUE=""></TD></TR><TR><TD ALIGN="right">CDR display format for invoices</TD><TD>
+      <SELECT NAME="voip_tiered__output_format"><OPTION VALUE="" SELECTED><OPTION VALUE="accountcode_default">Default plus accountcode<OPTION VALUE="accountcode_simple">Simple with accountcode<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="simple">Simple<OPTION VALUE="simple2">Simple with source<OPTION VALUE="source_default">Default with source<OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="sum_count_class">Summary, one line per usage class<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix</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="accountcode_simple">Simple with accountcode<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="simple">Simple<OPTION VALUE="simple2">Simple with source<OPTION VALUE="source_default">Default with source<OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="sum_count_class">Summary, one line per usage class<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix</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="accountcode_simple">Simple with accountcode<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="simple">Simple<OPTION VALUE="simple2">Simple with source<OPTION VALUE="source_default">Default with source<OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="sum_count_class">Summary, one line per usage class<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix</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"
+       ID    = "voip_tiered__OPTIONS"
+       VALUE = "recur_temporality,recur_method,cutoff_day,prorate_defer_bill,prorate_round_day,add_full_period,prorate_verbose,cdr_svc_method,cdr_inout,tiernum,rounding,calls_included,min_included,sec_granularity,default_prefix,disable_src,use_amaflags,use_carrierid,use_cdrtypenum,ignore_cdrtypenum,use_calltypenum,ignore_calltypenum,ignore_disposition,disposition_in,skip_dcontext,skip_dst_prefix,skip_dstchannel_prefix,skip_src_length_more,accountcode_tollfree_field,skip_dst_length_less,skip_lastapp,skip_max_callers,skip_same_customer,use_duration,411_rewrite,output_format,selfservice_format,selfservice_inbound_format,usage_mandate,usage_section,summarize_usage,usage_showzero,bill_every_call,bill_inactive_svcs,bill_only_pkg_dates,count_available_phones,suspend_bill,setup_fee,recur_fee,unused_credit_cancel,unused_credit_suspend,unused_credit_change,delay_cancel,a2billing_tariff,a2billing_type,a2billing_simultaccess,a2billing_carrier_cost_min,a2billing_carrer_initblock_offp,a2billing_carrier_increment_offp,a2billing_retail_cost_min_offp,a2billing_retail_initblock_offp,a2billing_retail_increment_offp"
+>
+
+
 
       </DIV>
 
@@ -3271,7 +3760,28 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Charge recurring fee for period</TD><TD><SELECT NAME="cdr_termination__recur_temporality"><OPTION VALUE="upcoming">Upcoming (future)<OPTION VALUE="preceding">Preceding (past)</SELECT></TD></TR><TR><TD ALIGN="right">Recurring fee method</TD><TD><SELECT NAME="cdr_termination__recur_method"><OPTION VALUE="anniversary">Charge the recurring fee at the frequency specified above<OPTION VALUE="prorate">Charge a prorated fee the first time (selectable billing date)<OPTION VALUE="subscription">Charge the full fee for the first partial period (selectable billing date)</SELECT></TD></TR><TR><TD ALIGN="right">Billing Day (1 - 28) for prorating or subscription</TD><TD><INPUT TYPE="text" NAME="cdr_termination__cutoff_day" VALUE="1"></TD></TR><TR><TD ALIGN="right">When prorating, defer the first bill until the billing day</TD><TD><INPUT TYPE="checkbox" NAME="cdr_termination__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When prorating, round to the nearest full day</TD><TD><INPUT TYPE="checkbox" NAME="cdr_termination__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">When prorating first month, also bill for one full period after that</TD><TD><INPUT TYPE="checkbox" NAME="cdr_termination__add_full_period" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Show prorate details on the invoice</TD><TD><INPUT TYPE="checkbox" NAME="cdr_termination__prorate_verbose" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">CDR invoice display format</TD><TD><SELECT NAME="cdr_termination__output_format"><OPTION VALUE="accountcode_default">Default plus accountcode<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="simple2">Simple with source<OPTION VALUE="sum_count_class">Summary, one line per usage class<OPTION VALUE="source_default">Default with source<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix<OPTION VALUE="basic">Basic<OPTION VALUE="basic_upstream_dst_regionname">Basic with upstream destination name<OPTION VALUE="default">Default<OPTION VALUE="description_default">Default with description field as destination<OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="accountcode_simple">Simple with accountcode<OPTION VALUE="simple">Simple</SELECT></TD></TR><TR><TD ALIGN="right">Section in which to place separate usage charges</TD><TD><INPUT TYPE="text" NAME="cdr_termination__usage_section" VALUE=""></TD></TR><TR><TD ALIGN="right">Include usage summary with recurring charges when usage is in separate section</TD><TD><INPUT TYPE="checkbox" NAME="cdr_termination__summarize_usage" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Always put usage details in separate section</TD><TD><INPUT TYPE="checkbox" NAME="cdr_termination__usage_mandate" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="cdr_termination__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="cdr_termination__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="cdr_termination__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="cdr_termination__OPTIONS" VALUE="unused_credit_change,a2billing_tariff,output_format,a2billing_carrier_cost_min,a2billing_type,add_full_period,unused_credit_suspend,cutoff_day,usage_section,recur_fee,delay_cancel,prorate_round_day,a2billing_retail_cost_min_offp,prorate_verbose,recur_method,usage_mandate,recur_temporality,summarize_usage,a2billing_retail_increment_offp,a2billing_carrer_initblock_offp,prorate_defer_bill,a2billing_retail_initblock_offp,a2billing_simultaccess,setup_fee,unused_credit_cancel,a2billing_carrier_increment_offp">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Charge recurring fee for period</TD><TD>
+      <SELECT NAME="cdr_termination__recur_temporality"><OPTION VALUE="upcoming">Upcoming (future)<OPTION VALUE="preceding">Preceding (past)</SELECT></TD></TR><TR><TD ALIGN="right">Recurring fee method</TD><TD>
+      <SELECT NAME="cdr_termination__recur_method"><OPTION VALUE="anniversary">Charge the recurring fee at the frequency specified above<OPTION VALUE="prorate">Charge a prorated fee the first time (selectable billing date)<OPTION VALUE="subscription">Charge the full fee for the first partial period (selectable billing date)</SELECT></TD></TR><TR><TD ALIGN="right">Billing Day (1 - 28) for prorating or subscription</TD><TD>
+      <INPUT TYPE="text" NAME="cdr_termination__cutoff_day" VALUE="1"></TD></TR><TR><TD ALIGN="right">When prorating, defer the first bill until the billing day</TD><TD>
+      <INPUT TYPE="checkbox" NAME="cdr_termination__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When prorating, round to the nearest full day</TD><TD>
+      <INPUT TYPE="checkbox" NAME="cdr_termination__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">When prorating first month, also bill for one full period after that</TD><TD>
+      <INPUT TYPE="checkbox" NAME="cdr_termination__add_full_period" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Show prorate details on the invoice</TD><TD>
+      <INPUT TYPE="checkbox" NAME="cdr_termination__prorate_verbose" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">CDR invoice display format</TD><TD>
+      <SELECT NAME="cdr_termination__output_format"><OPTION VALUE="source_default">Default with source<OPTION VALUE="basic">Basic<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="simple2">Simple with source<OPTION VALUE="accountcode_default">Default plus accountcode<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix<OPTION VALUE="default">Default<OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="description_default">Default with description field as destination<OPTION VALUE="accountcode_simple">Simple with accountcode<OPTION VALUE="sum_count_class">Summary, one line per usage class<OPTION VALUE="simple">Simple<OPTION VALUE="basic_upstream_dst_regionname">Basic with upstream destination name</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"
+       ID    = "cdr_termination__OPTIONS"
+       VALUE = "recur_temporality,recur_method,cutoff_day,prorate_defer_bill,prorate_round_day,add_full_period,prorate_verbose,output_format,usage_section,summarize_usage,usage_mandate,setup_fee,recur_fee,unused_credit_cancel,unused_credit_suspend,unused_credit_change,delay_cancel,a2billing_tariff,a2billing_type,a2billing_simultaccess,a2billing_carrier_cost_min,a2billing_carrer_initblock_offp,a2billing_carrier_increment_offp,a2billing_retail_cost_min_offp,a2billing_retail_initblock_offp,a2billing_retail_increment_offp"
+>
+
+
 
       </DIV>
 
@@ -3280,7 +3790,14 @@ spawn_supp_dst_pkgpart(this);"
            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">
+        <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"
+       ID    = "prepaid_nibblebill__OPTIONS"
+       VALUE = "setup_fee,recur_fee,nibble_rate"
+>
+
+
 
       </DIV>
 
@@ -3289,7 +3806,20 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Setup fee for each new service</TD><TD><INPUT TYPE="text" NAME="bulk_simple__svc_setup_fee" VALUE="0"></TD></TR><TR><TD ALIGN="right">Recurring fee for each service</TD><TD><INPUT TYPE="text" NAME="bulk_simple__svc_recur_fee" VALUE="0"></TD></TR><TR><TD ALIGN="right">Show a count of services on the invoice, instead of a detailed list</TD><TD><INPUT TYPE="checkbox" NAME="bulk_simple__summarize_svcs" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="bulk_simple__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="bulk_simple__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="bulk_simple__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="bulk_simple__OPTIONS" VALUE="a2billing_carrier_increment_offp,unused_credit_cancel,svc_setup_fee,summarize_svcs,svc_recur_fee,setup_fee,a2billing_retail_initblock_offp,a2billing_simultaccess,a2billing_carrer_initblock_offp,a2billing_retail_increment_offp,a2billing_retail_cost_min_offp,delay_cancel,unused_credit_suspend,recur_fee,a2billing_carrier_cost_min,a2billing_type,a2billing_tariff,unused_credit_change">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Setup fee for each new service</TD><TD>
+      <INPUT TYPE="text" NAME="bulk_simple__svc_setup_fee" VALUE="0"></TD></TR><TR><TD ALIGN="right">Recurring fee for each service</TD><TD>
+      <INPUT TYPE="text" NAME="bulk_simple__svc_recur_fee" VALUE="0"></TD></TR><TR><TD ALIGN="right">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"
+       ID    = "bulk_simple__OPTIONS"
+       VALUE = "svc_setup_fee,svc_recur_fee,summarize_svcs,no_prorate,setup_fee,recur_fee,unused_credit_cancel,unused_credit_suspend,unused_credit_change,delay_cancel,a2billing_tariff,a2billing_type,a2billing_simultaccess,a2billing_carrier_cost_min,a2billing_carrer_initblock_offp,a2billing_carrier_increment_offp,a2billing_retail_cost_min_offp,a2billing_retail_initblock_offp,a2billing_retail_increment_offp"
+>
+
+
 
       </DIV>
 
@@ -3298,7 +3828,21 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Don't prorate recurring fees on services active for a partial month</TD><TD><INPUT TYPE="checkbox" NAME="bulk__no_prorate" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Setup fee for each new service</TD><TD><INPUT TYPE="text" NAME="bulk__svc_setup_fee" VALUE="0"></TD></TR><TR><TD ALIGN="right">Recurring fee for each service</TD><TD><INPUT TYPE="text" NAME="bulk__svc_recur_fee" VALUE="0"></TD></TR><TR><TD ALIGN="right">Show a count of services on the invoice, instead of a detailed list</TD><TD><INPUT TYPE="checkbox" NAME="bulk__summarize_svcs" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="bulk__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="bulk__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="bulk__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="bulk__OPTIONS" VALUE="a2billing_tariff,unused_credit_change,delay_cancel,a2billing_retail_cost_min_offp,a2billing_type,a2billing_carrier_cost_min,no_prorate,recur_fee,unused_credit_suspend,a2billing_carrer_initblock_offp,a2billing_retail_initblock_offp,a2billing_simultaccess,a2billing_retail_increment_offp,summarize_svcs,svc_setup_fee,unused_credit_cancel,a2billing_carrier_increment_offp,setup_fee,svc_recur_fee">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Don't prorate recurring fees on services active for a partial month</TD><TD>
+      <INPUT TYPE="checkbox" NAME="bulk__no_prorate" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Setup fee for each new service</TD><TD>
+      <INPUT TYPE="text" NAME="bulk__svc_setup_fee" VALUE="0"></TD></TR><TR><TD ALIGN="right">Recurring fee for each service</TD><TD>
+      <INPUT TYPE="text" NAME="bulk__svc_recur_fee" VALUE="0"></TD></TR><TR><TD ALIGN="right">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"
+       ID    = "bulk__OPTIONS"
+       VALUE = "no_prorate,svc_setup_fee,svc_recur_fee,summarize_svcs,setup_fee,recur_fee,unused_credit_cancel,unused_credit_suspend,unused_credit_change,delay_cancel,a2billing_tariff,a2billing_type,a2billing_simultaccess,a2billing_carrier_cost_min,a2billing_carrer_initblock_offp,a2billing_carrier_increment_offp,a2billing_retail_cost_min_offp,a2billing_retail_initblock_offp,a2billing_retail_increment_offp"
+>
+
+
 
       </DIV>
 
@@ -3307,7 +3851,25 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Billing Day (1 - 28)</TD><TD><INPUT TYPE="text" NAME="agent__cutoff_day" VALUE="1"></TD></TR><TR><TD ALIGN="right">When prorating first month, also bill for one full period after that</TD><TD><INPUT TYPE="checkbox" NAME="agent__add_full_period" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Disable prorating bulk packages (charge full price for packages active only a portion of the month)</TD><TD><INPUT TYPE="checkbox" NAME="agent__no_pkg_prorate" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Separate customer from package display on invoices</TD><TD><INPUT TYPE="checkbox" NAME="agent__display_separate_cust" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill wholesale on cost only, disabling the price fallback</TD><TD><INPUT TYPE="checkbox" NAME="agent__cost_only" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Defer the first bill until the billing day</TD><TD><INPUT TYPE="checkbox" NAME="agent__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Round the prorated period to the nearest full day</TD><TD><INPUT TYPE="checkbox" NAME="agent__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">Show prorate details on the invoice</TD><TD><INPUT TYPE="checkbox" NAME="agent__prorate_verbose" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="agent__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="agent__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="agent__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="agent__OPTIONS" VALUE="display_separate_cust,unused_credit_change,a2billing_tariff,a2billing_carrier_cost_min,a2billing_type,unused_credit_suspend,cutoff_day,add_full_period,recur_fee,prorate_round_day,delay_cancel,cost_only,prorate_verbose,a2billing_retail_cost_min_offp,recur_temporality,no_pkg_prorate,a2billing_retail_increment_offp,a2billing_carrer_initblock_offp,prorate_defer_bill,a2billing_retail_initblock_offp,a2billing_simultaccess,setup_fee,unused_credit_cancel,a2billing_carrier_increment_offp,sync_bill_date">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Billing Day (1 - 28)</TD><TD>
+      <INPUT TYPE="text" NAME="agent__cutoff_day" VALUE="1"></TD></TR><TR><TD ALIGN="right">When prorating first month, also bill for one full period after that</TD><TD>
+      <INPUT TYPE="checkbox" NAME="agent__add_full_period" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Disable prorating bulk packages (charge full price for packages active only a portion of the month)</TD><TD>
+      <INPUT TYPE="checkbox" NAME="agent__no_pkg_prorate" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Separate customer from package display on invoices</TD><TD>
+      <INPUT TYPE="checkbox" NAME="agent__display_separate_cust" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill wholesale on cost only, disabling the price fallback</TD><TD>
+      <INPUT TYPE="checkbox" NAME="agent__cost_only" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Defer the first bill until the billing day</TD><TD>
+      <INPUT TYPE="checkbox" NAME="agent__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Round the prorated period to the nearest full day</TD><TD>
+      <INPUT TYPE="checkbox" NAME="agent__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">Show prorate details on the invoice</TD><TD>
+      <INPUT TYPE="checkbox" NAME="agent__prorate_verbose" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD>
+      <INPUT TYPE="checkbox" NAME="agent__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD>
+      <span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD>
+      <INPUT TYPE="checkbox" NAME="agent__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD>
+      <INPUT TYPE="checkbox" NAME="agent__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE  = "hidden"
+       NAME  = "agent__OPTIONS"
+       ID    = "agent__OPTIONS"
+       VALUE = "cutoff_day,add_full_period,no_pkg_prorate,display_separate_cust,cost_only,prorate_defer_bill,prorate_round_day,prorate_verbose,setup_fee,recur_fee,unused_credit_cancel,unused_credit_suspend,unused_credit_change,delay_cancel,a2billing_tariff,a2billing_type,a2billing_simultaccess,a2billing_carrier_cost_min,a2billing_carrer_initblock_offp,a2billing_carrier_increment_offp,a2billing_retail_cost_min_offp,a2billing_retail_initblock_offp,a2billing_retail_increment_offp"
+>
+
+
 
       </DIV>
 
@@ -3316,7 +3878,28 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Charge recurring fee for period</TD><TD><SELECT NAME="agent_cdr__recur_temporality"><OPTION VALUE="upcoming">Upcoming (future)<OPTION VALUE="preceding">Preceding (past)</SELECT></TD></TR><TR><TD ALIGN="right">Recurring fee method</TD><TD><SELECT NAME="agent_cdr__recur_method"><OPTION VALUE="anniversary">Charge the recurring fee at the frequency specified above<OPTION VALUE="prorate">Charge a prorated fee the first time (selectable billing date)<OPTION VALUE="subscription">Charge the full fee for the first partial period (selectable billing date)</SELECT></TD></TR><TR><TD ALIGN="right">Billing Day (1 - 28) for prorating or subscription</TD><TD><INPUT TYPE="text" NAME="agent_cdr__cutoff_day" VALUE="1"></TD></TR><TR><TD ALIGN="right">When prorating, defer the first bill until the billing day</TD><TD><INPUT TYPE="checkbox" NAME="agent_cdr__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When prorating, round to the nearest full day</TD><TD><INPUT TYPE="checkbox" NAME="agent_cdr__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">When prorating first month, also bill for one full period after that</TD><TD><INPUT TYPE="checkbox" NAME="agent_cdr__add_full_period" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Show prorate details on the invoice</TD><TD><INPUT TYPE="checkbox" NAME="agent_cdr__prorate_verbose" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">CDR invoice display format</TD><TD><SELECT NAME="agent_cdr__output_format"><OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="accountcode_simple">Simple with accountcode<OPTION VALUE="simple">Simple<OPTION VALUE="default">Default<OPTION VALUE="description_default">Default with description field as destination<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix<OPTION VALUE="sum_count_class">Summary, one line per usage class<OPTION VALUE="source_default">Default with source<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="simple2">Simple with source<OPTION VALUE="basic_upstream_dst_regionname">Basic with upstream destination name<OPTION VALUE="basic">Basic<OPTION VALUE="accountcode_default">Default plus accountcode</SELECT></TD></TR><TR><TD ALIGN="right">Section in which to place separate usage charges</TD><TD><INPUT TYPE="text" NAME="agent_cdr__usage_section" VALUE=""></TD></TR><TR><TD ALIGN="right">Include usage summary with recurring charges when usage is in separate section</TD><TD><INPUT TYPE="checkbox" NAME="agent_cdr__summarize_usage" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Always put usage details in separate section</TD><TD><INPUT TYPE="checkbox" NAME="agent_cdr__usage_mandate" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="agent_cdr__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="agent_cdr__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="agent_cdr__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="agent_cdr__OPTIONS" VALUE="a2billing_carrer_initblock_offp,prorate_defer_bill,a2billing_retail_initblock_offp,a2billing_simultaccess,recur_method,recur_temporality,usage_mandate,summarize_usage,a2billing_retail_increment_offp,unused_credit_cancel,a2billing_carrier_increment_offp,setup_fee,a2billing_tariff,output_format,unused_credit_change,delay_cancel,prorate_round_day,a2billing_retail_cost_min_offp,prorate_verbose,a2billing_carrier_cost_min,a2billing_type,unused_credit_suspend,add_full_period,cutoff_day,recur_fee,usage_section">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Charge recurring fee for period</TD><TD>
+      <SELECT NAME="agent_cdr__recur_temporality"><OPTION VALUE="upcoming">Upcoming (future)<OPTION VALUE="preceding">Preceding (past)</SELECT></TD></TR><TR><TD ALIGN="right">Recurring fee method</TD><TD>
+      <SELECT NAME="agent_cdr__recur_method"><OPTION VALUE="anniversary">Charge the recurring fee at the frequency specified above<OPTION VALUE="prorate">Charge a prorated fee the first time (selectable billing date)<OPTION VALUE="subscription">Charge the full fee for the first partial period (selectable billing date)</SELECT></TD></TR><TR><TD ALIGN="right">Billing Day (1 - 28) for prorating or subscription</TD><TD>
+      <INPUT TYPE="text" NAME="agent_cdr__cutoff_day" VALUE="1"></TD></TR><TR><TD ALIGN="right">When prorating, defer the first bill until the billing day</TD><TD>
+      <INPUT TYPE="checkbox" NAME="agent_cdr__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When prorating, round to the nearest full day</TD><TD>
+      <INPUT TYPE="checkbox" NAME="agent_cdr__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">When prorating first month, also bill for one full period after that</TD><TD>
+      <INPUT TYPE="checkbox" NAME="agent_cdr__add_full_period" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Show prorate details on the invoice</TD><TD>
+      <INPUT TYPE="checkbox" NAME="agent_cdr__prorate_verbose" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">CDR invoice display format</TD><TD>
+      <SELECT NAME="agent_cdr__output_format"><OPTION VALUE="source_default">Default with source<OPTION VALUE="basic">Basic<OPTION VALUE="sum_duration">Summary, one line per service<OPTION VALUE="simple2">Simple with source<OPTION VALUE="accountcode_default">Default plus accountcode<OPTION VALUE="sum_duration_prefix">Summary, one line per destination prefix<OPTION VALUE="default">Default<OPTION VALUE="sum_count">Number of calls, one line per service<OPTION VALUE="description_default">Default with description field as destination<OPTION VALUE="accountcode_simple">Simple with accountcode<OPTION VALUE="sum_count_class">Summary, one line per usage class<OPTION VALUE="simple">Simple<OPTION VALUE="basic_upstream_dst_regionname">Basic with upstream destination name</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"
+       ID    = "agent_cdr__OPTIONS"
+       VALUE = "recur_temporality,recur_method,cutoff_day,prorate_defer_bill,prorate_round_day,add_full_period,prorate_verbose,output_format,usage_section,summarize_usage,usage_mandate,setup_fee,recur_fee,unused_credit_cancel,unused_credit_suspend,unused_credit_change,delay_cancel,a2billing_tariff,a2billing_type,a2billing_simultaccess,a2billing_carrier_cost_min,a2billing_carrer_initblock_offp,a2billing_carrier_increment_offp,a2billing_retail_cost_min_offp,a2billing_retail_initblock_offp,a2billing_retail_increment_offp"
+>
+
+
 
       </DIV>
 
@@ -3325,7 +3908,30 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Included megabytes/sec (95th percentile)</TD><TD><INPUT TYPE="text" NAME="torrus_bw_percentile__base_mbps" VALUE="0"></TD></TR><TR><TD ALIGN="right">Charge per megabyte/sec (95th percentile)</TD><TD><INPUT TYPE="text" NAME="torrus_bw_percentile__mbps_rate" VALUE="0"></TD></TR><TR><TD ALIGN="right">Auto-add an expiration date this number of months out</TD><TD><INPUT TYPE="text" NAME="torrus_bw_percentile__expire_months" VALUE=""></TD></TR><TR><TD ALIGN="right">Auto-add a suspension date this number of months out</TD><TD><INPUT TYPE="text" NAME="torrus_bw_percentile__adjourn_months" VALUE=""></TD></TR><TR><TD ALIGN="right">Auto-add a contract end date this number of years out</TD><TD><SELECT NAME="torrus_bw_percentile__contract_end_months"><OPTION VALUE="" SELECTED>(none)<OPTION VALUE="12">1<OPTION VALUE="24">2<OPTION VALUE="36">3<OPTION VALUE="48">4<OPTION VALUE="60">5</SELECT></TD></TR><TR><TD ALIGN="right">Auto-add a start date to the 1st, ignoring the current month.</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_percentile__start_1st" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When synchronizing, defer the bill until the customer's next bill date</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_percentile__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When synchronizing, round the prorated period to the nearest full day</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_percentile__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">Continue recurring billing while suspended</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_percentile__suspend_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Adjust next bill date forward when unsuspending</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_percentile__unsuspend_adjust_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill the last period on cancellation</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_percentile__bill_recur_on_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Bill immediately upon suspension</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_percentile__bill_suspend_as_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Optional External ID</TD><TD><INPUT TYPE="text" NAME="torrus_bw_percentile__externalid" VALUE=""></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_percentile__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_percentile__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="torrus_bw_percentile__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="torrus_bw_percentile__OPTIONS" VALUE="delay_cancel,a2billing_type,add_full_period,unused_credit_suspend,adjourn_months,a2billing_carrer_initblock_offp,a2billing_simultaccess,prorate_defer_bill,recur_temporality,contract_end_months,a2billing_retail_increment_offp,unused_credit_cancel,a2billing_carrier_increment_offp,sync_bill_date,bill_recur_on_cancel,expire_months,a2billing_tariff,externalid,unused_credit_change,mbps_rate,start_1st,suspend_bill,prorate_round_day,a2billing_retail_cost_min_offp,a2billing_carrier_cost_min,recur_fee,cutoff_day,unsuspend_adjust_bill,a2billing_retail_initblock_offp,bill_suspend_as_cancel,base_mbps,setup_fee">
+        <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"
+       ID    = "torrus_bw_percentile__OPTIONS"
+       VALUE = "base_mbps,mbps_rate,expire_months,adjourn_months,contract_end_months,start_1st,prorate_defer_bill,prorate_round_day,suspend_bill,unsuspend_adjust_bill,bill_recur_on_cancel,bill_suspend_as_cancel,externalid,setup_fee,recur_fee,unused_credit_cancel,unused_credit_suspend,unused_credit_change,delay_cancel,a2billing_tariff,a2billing_type,a2billing_simultaccess,a2billing_carrier_cost_min,a2billing_carrer_initblock_offp,a2billing_carrier_increment_offp,a2billing_retail_cost_min_offp,a2billing_retail_initblock_offp,a2billing_retail_increment_offp"
+>
+
+
 
       </DIV>
 
@@ -3334,7 +3940,30 @@ spawn_supp_dst_pkgpart(this);"
            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">
+        <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"
+       ID    = "torrus_bw_usage__OPTIONS"
+       VALUE = "base_gb,gb_rate,expire_months,adjourn_months,contract_end_months,start_1st,prorate_defer_bill,prorate_round_day,suspend_bill,unsuspend_adjust_bill,bill_recur_on_cancel,bill_suspend_as_cancel,externalid,setup_fee,recur_fee,unused_credit_cancel,unused_credit_suspend,unused_credit_change,delay_cancel,a2billing_tariff,a2billing_type,a2billing_simultaccess,a2billing_carrier_cost_min,a2billing_carrer_initblock_offp,a2billing_carrier_increment_offp,a2billing_retail_cost_min_offp,a2billing_retail_initblock_offp,a2billing_retail_increment_offp"
+>
+
+
 
       </DIV>
 
@@ -3343,7 +3972,18 @@ spawn_supp_dst_pkgpart(this);"
            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">
+        <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"
+       ID    = "rt_time__OPTIONS"
+       VALUE = "base_rate,setup_fee,unused_credit_cancel,unused_credit_suspend,unused_credit_change,delay_cancel,a2billing_tariff,a2billing_type,a2billing_simultaccess,a2billing_carrier_cost_min,a2billing_carrer_initblock_offp,a2billing_carrier_increment_offp,a2billing_retail_cost_min_offp,a2billing_retail_initblock_offp,a2billing_retail_increment_offp"
+>
+
+
 
       </DIV>
 
@@ -3352,7 +3992,23 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Units included</TD><TD><INPUT TYPE="text" NAME="sql_generic__recur_included" VALUE="0"></TD></TR><TR><TD ALIGN="right">Additional charge per unit</TD><TD><INPUT TYPE="text" NAME="sql_generic__recur_unit_charge" VALUE="0"></TD></TR><TR><TD ALIGN="right">DBI data source</TD><TD><INPUT TYPE="text" NAME="sql_generic__datasrc" VALUE=""></TD></TR><TR><TD ALIGN="right">Database username</TD><TD><INPUT TYPE="text" NAME="sql_generic__db_username" VALUE=""></TD></TR><TR><TD ALIGN="right">Database username</TD><TD><INPUT TYPE="text" NAME="sql_generic__db_password" VALUE=""></TD></TR><TR><TD ALIGN="right">SQL query</TD><TD><INPUT TYPE="text" NAME="sql_generic__query" VALUE=""></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="sql_generic__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="sql_generic__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="sql_generic__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="sql_generic__OPTIONS" VALUE="unused_credit_cancel,a2billing_carrier_increment_offp,recur_unit_charge,setup_fee,a2billing_carrer_initblock_offp,a2billing_simultaccess,a2billing_retail_initblock_offp,db_password,query,a2billing_retail_increment_offp,delay_cancel,db_username,a2billing_retail_cost_min_offp,a2billing_carrier_cost_min,a2billing_type,unused_credit_suspend,recur_fee,a2billing_tariff,unused_credit_change,datasrc,recur_included">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">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"
+       ID    = "sql_generic__OPTIONS"
+       VALUE = "recur_included,recur_unit_charge,datasrc,db_username,db_password,query,setup_fee,recur_fee,unused_credit_cancel,unused_credit_suspend,unused_credit_change,delay_cancel,a2billing_tariff,a2billing_type,a2billing_simultaccess,a2billing_carrier_cost_min,a2billing_carrer_initblock_offp,a2billing_carrier_increment_offp,a2billing_retail_cost_min_offp,a2billing_retail_initblock_offp,a2billing_retail_increment_offp"
+>
+
+
 
       </DIV>
 
@@ -3361,7 +4017,27 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Recurring fee method</TD><TD><SELECT NAME="sql_external__recur_method"><OPTION VALUE="anniversary">Charge the recurring fee at the frequency specified above<OPTION VALUE="prorate">Charge a prorated fee the first time (selectable billing date)<OPTION VALUE="subscription">Charge the full fee for the first partial period (selectable billing date)</SELECT></TD></TR><TR><TD ALIGN="right">Billing Day (1 - 28) for prorating or subscription</TD><TD><INPUT TYPE="text" NAME="sql_external__cutoff_day" VALUE="1"></TD></TR><TR><TD ALIGN="right">When prorating, defer the first bill until the billing day</TD><TD><INPUT TYPE="checkbox" NAME="sql_external__prorate_defer_bill" VALUE=1 ></TD></TR><TR><TD ALIGN="right">When prorating, round to the nearest full day</TD><TD><INPUT TYPE="checkbox" NAME="sql_external__prorate_round_day" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">When prorating first month, also bill for one full period after that</TD><TD><INPUT TYPE="checkbox" NAME="sql_external__add_full_period" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Show prorate details on the invoice</TD><TD><INPUT TYPE="checkbox" NAME="sql_external__prorate_verbose" VALUE=1  CHECKED></TD></TR><TR><TD ALIGN="right">DBI data source</TD><TD><INPUT TYPE="text" NAME="sql_external__datasrc" VALUE=""></TD></TR><TR><TD ALIGN="right">Database username</TD><TD><INPUT TYPE="text" NAME="sql_external__db_username" VALUE=""></TD></TR><TR><TD ALIGN="right">Database password</TD><TD><INPUT TYPE="text" NAME="sql_external__db_password" VALUE=""></TD></TR><TR><TD ALIGN="right">SQL query</TD><TD><INPUT TYPE="text" NAME="sql_external__query" VALUE=""></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="sql_external__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="sql_external__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="sql_external__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="sql_external__OPTIONS" VALUE="unused_credit_suspend,add_full_period,cutoff_day,recur_fee,a2billing_type,a2billing_carrier_cost_min,a2billing_retail_cost_min_offp,prorate_verbose,delay_cancel,prorate_round_day,db_username,datasrc,unused_credit_change,a2billing_tariff,setup_fee,a2billing_carrier_increment_offp,unused_credit_cancel,db_password,a2billing_retail_increment_offp,query,recur_method,prorate_defer_bill,a2billing_simultaccess,a2billing_retail_initblock_offp,a2billing_carrer_initblock_offp">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">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"
+       ID    = "sql_external__OPTIONS"
+       VALUE = "recur_method,cutoff_day,prorate_defer_bill,prorate_round_day,add_full_period,prorate_verbose,datasrc,db_username,db_password,query,setup_fee,recur_fee,unused_credit_cancel,unused_credit_suspend,unused_credit_change,delay_cancel,a2billing_tariff,a2billing_type,a2billing_simultaccess,a2billing_carrier_cost_min,a2billing_carrer_initblock_offp,a2billing_carrier_increment_offp,a2billing_retail_cost_min_offp,a2billing_retail_initblock_offp,a2billing_retail_increment_offp"
+>
+
+
 
       </DIV>
 
@@ -3370,7 +4046,20 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Number of layers</TD><TD><INPUT TYPE="text" NAME="flat_comission_cust__comission_depth" VALUE="1"></TD></TR><TR><TD ALIGN="right">Commission amount per month (per active package)</TD><TD><INPUT TYPE="text" NAME="flat_comission_cust__comission_amount" VALUE="0"></TD></TR><TR><TD ALIGN="right">Reason type for commission credits</TD><TD><SELECT NAME="flat_comission_cust__reason_type"><OPTION VALUE="4">Credit Reason<OPTION VALUE="5">Legacy</SELECT></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="flat_comission_cust__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="flat_comission_cust__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="flat_comission_cust__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="flat_comission_cust__OPTIONS" VALUE="a2billing_type,a2billing_carrier_cost_min,unused_credit_suspend,recur_fee,delay_cancel,a2billing_retail_cost_min_offp,reason_type,comission_depth,unused_credit_change,a2billing_tariff,comission_amount,setup_fee,unused_credit_cancel,a2billing_carrier_increment_offp,a2billing_retail_increment_offp,a2billing_carrer_initblock_offp,a2billing_retail_initblock_offp,a2billing_simultaccess">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">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"
+       ID    = "flat_comission_cust__OPTIONS"
+       VALUE = "comission_depth,comission_amount,reason_type,setup_fee,recur_fee,unused_credit_cancel,unused_credit_suspend,unused_credit_change,delay_cancel,a2billing_tariff,a2billing_type,a2billing_simultaccess,a2billing_carrier_cost_min,a2billing_carrer_initblock_offp,a2billing_carrier_increment_offp,a2billing_retail_cost_min_offp,a2billing_retail_initblock_offp,a2billing_retail_increment_offp"
+>
+
+
 
       </DIV>
 
@@ -3379,7 +4068,20 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Number of layers</TD><TD><INPUT TYPE="text" NAME="flat_comission__comission_depth" VALUE="1"></TD></TR><TR><TD ALIGN="right">Commission amount per month (per active package)</TD><TD><INPUT TYPE="text" NAME="flat_comission__comission_amount" VALUE="0"></TD></TR><TR><TD ALIGN="right">Reason type for commission credits</TD><TD><SELECT NAME="flat_comission__reason_type"><OPTION VALUE="4">Credit Reason<OPTION VALUE="5">Legacy</SELECT></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="flat_comission__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="flat_comission__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="flat_comission__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="flat_comission__OPTIONS" VALUE="a2billing_retail_increment_offp,a2billing_simultaccess,a2billing_retail_initblock_offp,a2billing_carrer_initblock_offp,setup_fee,a2billing_carrier_increment_offp,unused_credit_cancel,comission_depth,unused_credit_change,comission_amount,a2billing_tariff,recur_fee,unused_credit_suspend,a2billing_type,a2billing_carrier_cost_min,reason_type,a2billing_retail_cost_min_offp,delay_cancel">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">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"
+       ID    = "flat_comission__OPTIONS"
+       VALUE = "comission_depth,comission_amount,reason_type,setup_fee,recur_fee,unused_credit_cancel,unused_credit_suspend,unused_credit_change,delay_cancel,a2billing_tariff,a2billing_type,a2billing_simultaccess,a2billing_carrier_cost_min,a2billing_carrer_initblock_offp,a2billing_carrier_increment_offp,a2billing_retail_cost_min_offp,a2billing_retail_initblock_offp,a2billing_retail_increment_offp"
+>
+
+
 
       </DIV>
 
@@ -3388,7 +4090,21 @@ spawn_supp_dst_pkgpart(this);"
            STYLE="display: none; z-index: 0"
       >
 
-        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">Number of layers</TD><TD><INPUT TYPE="text" NAME="flat_comission_pkg__comission_depth" VALUE="1"></TD></TR><TR><TD ALIGN="right">Commission amount per month (per active package)</TD><TD><INPUT TYPE="text" NAME="flat_comission_pkg__comission_amount" VALUE="0"></TD></TR><TR><TD ALIGN="right">Applicable packages<BR><FONT SIZE="-1">(hold <b>ctrl</b> to select multiple packages)</FONT></TD><TD><SELECT MULTIPLE NAME="flat_comission_pkg__comission_pkgpart"><OPTION VALUE="1">System Domain<OPTION VALUE="2">Monthly prorated account<OPTION VALUE="3">Monthly prorated broadband<OPTION VALUE="4">Annual subscription domain<OPTION VALUE="5">Monthly anniversary phone x4</SELECT></TD></TR><TR><TD ALIGN="right">Reason type for commission credits</TD><TD><SELECT NAME="flat_comission_pkg__reason_type"><OPTION VALUE="4">Credit Reason<OPTION VALUE="5">Legacy</SELECT></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service at cancellation</TD><TD><INPUT TYPE="checkbox" NAME="flat_comission_pkg__unused_credit_cancel" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when suspending</TD><TD><span title="You must set the 'suspend_credit_type' option in Configuration->Settings to gain access to this option.">N/A</span></TD></TR><TR><TD ALIGN="right">Credit the customer for the unused portion of service when changing packages</TD><TD><INPUT TYPE="checkbox" NAME="flat_comission_pkg__unused_credit_change" VALUE=1 ></TD></TR><TR><TD ALIGN="right">Automatically suspend for one day before cancelling</TD><TD><INPUT TYPE="checkbox" NAME="flat_comission_pkg__delay_cancel" VALUE=1 ></TD></TR></TABLE><INPUT TYPE="hidden" NAME="flat_comission_pkg__OPTIONS" VALUE="delay_cancel,a2billing_retail_cost_min_offp,reason_type,a2billing_carrier_cost_min,a2billing_type,unused_credit_suspend,recur_fee,a2billing_tariff,comission_amount,unused_credit_change,comission_depth,unused_credit_cancel,a2billing_carrier_increment_offp,comission_pkgpart,setup_fee,a2billing_carrer_initblock_offp,a2billing_simultaccess,a2billing_retail_initblock_offp,a2billing_retail_increment_offp">
+        <TABLE BGCOLOR="#cccccc" BORDER=0 CELLSPACING=2><TR><TD ALIGN="right">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"
+       ID    = "flat_comission_pkg__OPTIONS"
+       VALUE = "comission_depth,comission_amount,comission_pkgpart,reason_type,setup_fee,recur_fee,unused_credit_cancel,unused_credit_suspend,unused_credit_change,delay_cancel,a2billing_tariff,a2billing_type,a2billing_simultaccess,a2billing_carrier_cost_min,a2billing_carrer_initblock_offp,a2billing_carrier_increment_offp,a2billing_retail_cost_min_offp,a2billing_retail_initblock_offp,a2billing_retail_increment_offp"
+>
+
+
 
       </DIV>
 
@@ -3409,10 +4125,10 @@ spawn_supp_dst_pkgpart(this);"
               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('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";
@@ -3468,10 +4184,10 @@ spawn_supp_dst_pkgpart(this);"
               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('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";
@@ -3527,10 +4243,10 @@ spawn_supp_dst_pkgpart(this);"
               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('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";
@@ -3586,10 +4302,10 @@ spawn_supp_dst_pkgpart(this);"
               document.getElementById('plandflat_delayed').style.zIndex = 0;
               document.getElementById('plandflat_introrate').style.display = "none";
               document.getElementById('plandflat_introrate').style.zIndex = 0;
-              document.getElementById('plandprorate_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('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";
@@ -3637,7 +4353,7 @@ spawn_supp_dst_pkgpart(this);"
             document.getElementById('plandprorate').style.zIndex = 1;
 
           }
-          if (planlayer == "prorate_calendar" ) {
+          if (planlayer == "prorate_delayed" ) {
 
               document.getElementById('plandflat').style.display = "none";
               document.getElementById('plandflat').style.zIndex = 0;
@@ -3647,8 +4363,8 @@ spawn_supp_dst_pkgpart(this);"
               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('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";
@@ -3692,11 +4408,11 @@ spawn_supp_dst_pkgpart(this);"
               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;
+            document.getElementById('plandprorate_delayed').style.display = "";
+            document.getElementById('plandprorate_delayed').style.zIndex = 1;
 
           }
-          if (planlayer == "prorate_delayed" ) {
+          if (planlayer == "prorate_calendar" ) {
 
               document.getElementById('plandflat').style.display = "none";
               document.getElementById('plandflat').style.zIndex = 0;
@@ -3706,8 +4422,8 @@ spawn_supp_dst_pkgpart(this);"
               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";
@@ -3751,8 +4467,8 @@ spawn_supp_dst_pkgpart(this);"
               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;
+            document.getElementById('plandprorate_calendar').style.display = "";
+            document.getElementById('plandprorate_calendar').style.zIndex = 1;
 
           }
           if (planlayer == "prepaid" ) {
@@ -3765,10 +4481,10 @@ spawn_supp_dst_pkgpart(this);"
               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('plandprorate_calendar').style.display = "none";
+              document.getElementById('plandprorate_calendar').style.zIndex = 0;
               document.getElementById('plandsubscription').style.display = "none";
               document.getElementById('plandsubscription').style.zIndex = 0;
               document.getElementById('plandsqlradacct_hour').style.display = "none";
@@ -3824,10 +4540,10 @@ spawn_supp_dst_pkgpart(this);"
               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('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('plandsqlradacct_hour').style.display = "none";
@@ -3883,10 +4599,10 @@ spawn_supp_dst_pkgpart(this);"
               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('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";
@@ -3942,10 +4658,10 @@ spawn_supp_dst_pkgpart(this);"
               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('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";
@@ -4001,10 +4717,10 @@ spawn_supp_dst_pkgpart(this);"
               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('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";
@@ -4060,10 +4776,10 @@ spawn_supp_dst_pkgpart(this);"
               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('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";
@@ -4119,10 +4835,10 @@ spawn_supp_dst_pkgpart(this);"
               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('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";
@@ -4178,10 +4894,10 @@ spawn_supp_dst_pkgpart(this);"
               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('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";
@@ -4237,10 +4953,10 @@ spawn_supp_dst_pkgpart(this);"
               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('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";
@@ -4296,10 +5012,10 @@ spawn_supp_dst_pkgpart(this);"
               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('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";
@@ -4355,10 +5071,10 @@ spawn_supp_dst_pkgpart(this);"
               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('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";
@@ -4414,10 +5130,10 @@ spawn_supp_dst_pkgpart(this);"
               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('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";
@@ -4473,10 +5189,10 @@ spawn_supp_dst_pkgpart(this);"
               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('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";
@@ -4532,10 +5248,10 @@ spawn_supp_dst_pkgpart(this);"
               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('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";
@@ -4591,10 +5307,10 @@ spawn_supp_dst_pkgpart(this);"
               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('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";
@@ -4650,10 +5366,10 @@ spawn_supp_dst_pkgpart(this);"
               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('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";
@@ -4709,10 +5425,10 @@ spawn_supp_dst_pkgpart(this);"
               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('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";
@@ -4768,10 +5484,10 @@ spawn_supp_dst_pkgpart(this);"
               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('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";
@@ -4827,10 +5543,10 @@ spawn_supp_dst_pkgpart(this);"
               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('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";
@@ -4886,10 +5602,10 @@ spawn_supp_dst_pkgpart(this);"
               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('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";
@@ -4945,10 +5661,10 @@ spawn_supp_dst_pkgpart(this);"
               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('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";