[freeside-commits] freeside/FS/FS/part_pkg flat.pm, 1.20, 1.21 prorate.pm, 1.15, 1.16 subscription.pm, 1.13, 1.14
Jeff Finucane,420,,
jeff at wavetail.420.am
Sun Dec 23 14:05:56 PST 2007
Update of /home/cvs/cvsroot/freeside/FS/FS/part_pkg
In directory wavetail:/tmp/cvs-serv31900/FS/FS/part_pkg
Modified Files:
flat.pm prorate.pm subscription.pm
Log Message:
add a reset feature to manual recharges (#1858)
Index: prorate.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_pkg/prorate.pm,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- prorate.pm 1 Dec 2007 01:37:34 -0000 1.15
+++ prorate.pm 23 Dec 2007 22:05:54 -0000 1.16
@@ -74,6 +74,11 @@
'over into current period',
'type' => 'checkbox',
},
+ 'recharge_reset' => { 'name' => 'Reset usage to these values on manual '.
+ 'package recharge',
+ 'type' => 'checkbox',
+ },
+
#it would be better if this had to be turned on, its confusing
'externalid' => { 'name' => 'Optional External ID',
'default' => '',
@@ -83,7 +88,7 @@
'seconds', 'upbyte', 'downbytes', 'totalbytes',
'recharge_amount', 'recharge_seconds', 'recharge_upbytes',
'recharge_downbytes', 'recharge_totalbytes',
- 'usage_rollover', 'externalid', ],
+ 'usage_rollover', 'recharge_reset', 'externalid', ],
'freq' => 'm',
'weight' => 20,
);
Index: flat.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_pkg/flat.pm,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- flat.pm 4 Oct 2007 02:07:30 -0000 1.20
+++ flat.pm 23 Dec 2007 22:05:54 -0000 1.21
@@ -76,12 +76,16 @@
' over into current period',
'type' => 'checkbox',
},
+ 'recharge_reset' => { 'name' => 'Reset usage to these values on manual '.
+ 'package recharge',
+ 'type' => 'checkbox',
+ },
},
'fieldorder' => [ 'setup_fee', 'recur_fee', 'unused_credit',
'seconds', 'upbytes', 'downbytes', 'totalbytes',
'recharge_amount', 'recharge_seconds', 'recharge_upbytes',
'recharge_downbytes', 'recharge_totalbytes',
- 'usage_rollover', 'externalid' ],
+ 'usage_rollover', 'recharge_reset', 'externalid' ],
'weight' => 10,
);
Index: subscription.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_pkg/subscription.pm,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- subscription.pm 4 Oct 2007 02:07:30 -0000 1.13
+++ subscription.pm 23 Dec 2007 22:05:54 -0000 1.14
@@ -70,6 +70,11 @@
'over into current period',
'type' => 'checkbox',
},
+ 'recharge_reset' => { 'name' => 'Reset usage to these values on manual '.
+ 'package recharge',
+ 'type' => 'checkbox',
+ },
+
#it would be better if this had to be turned on, its confusing
'externalid' => { 'name' => 'Optional External ID',
'default' => '',
@@ -79,13 +84,7 @@
'upbytes', 'downbytes', 'totalbytes',
'recharge_amount', 'recharge_seconds', 'recharge_upbytes',
'recharge_downbytes', 'recharge_totalbytes',
- 'externalid' ],
- 'fieldorder' => [ 'setup_fee', 'recur_fee','cutoff_day', 'seconds',
- 'upbytes', 'downbytes', 'totalbytes',
- 'recharge_amount', 'recharge_seconds', 'recharge_upbytes',
- 'recharge_downbytes', 'recharge_totalbytes',
- 'usage_rollover',
- ],
+ 'usage_rollover', 'recharge_reset', 'externalid' ],
'freq' => 'm',
'weight' => 30,
);
More information about the freeside-commits
mailing list