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