1 package FS::part_pkg::global_Mixin;
7 tie my %a2billing_types, 'Tie::IxHash', (
12 tie my %a2billing_simultaccess, 'Tie::IxHash', (
21 'name' => 'Setup fee for this package',
25 'name' => 'Recurring fee for this package',
28 'unused_credit_cancel' => {
29 'name' => 'Credit the customer for the unused portion of service at '.
33 'unused_credit_suspend' => {
34 'name' => 'Credit the customer for the unused portion of service when '.
38 'unused_credit_change' => {
39 'name' => 'Credit the customer for the unused portion of service when '.
44 # miscellany--maybe put this in a separate module?
46 'a2billing_tariff' => {
47 'name' => 'A2Billing tariff group ID',
49 FS::part_export->count("exporttype = 'a2billing'") > 0;
53 'name' => 'A2Billing card type',
55 FS::part_export->count("exporttype = 'a2billing'") > 0;
58 'select_options' => \%a2billing_types,
60 'a2billing_simultaccess' => {
61 'name' => 'A2Billing Simultaneous Access',
63 FS::part_export->count("exporttype = 'a2billing'") > 0;
66 'select_options' => \%a2billing_simultaccess,
78 a2billing_simultaccess