credit on suspend, #16066
[freeside.git] / FS / FS / part_pkg / global_Mixin.pm
1 package FS::part_pkg::global_Mixin;
2
3 use strict;
4 use vars qw(%info);
5
6 %info = (
7   'disabled' => 1,
8   'fields' => {
9     'setup_fee' => { 
10       'name' => 'Setup fee for this package',
11       'default' => 0,
12     },
13     'recur_fee' => { 
14       'name' => 'Recurring fee for this package',
15       'default' => 0,
16     },
17     'unused_credit_cancel' => {
18       'name' => 'Credit the customer for the unused portion of service at '.
19                  'cancellation',
20       'type' => 'checkbox',
21     },
22     'unused_credit_suspend' => {
23       'name' => 'Credit the customer for the unused portion of service when '.
24                 'suspending',
25       'type' => 'checkbox',
26     },
27     'unused_credit_change' => {
28       'name' => 'Credit the customer for the unused portion of service when '.
29                 'changing packages',
30       'type' => 'checkbox',
31     },
32   },
33   'fieldorder' => [ qw(
34     setup_fee
35     recur_fee
36     unused_credit_cancel
37     unused_credit_suspend
38     unused_credit_change
39   )],
40 );
41
42 1;