1 package FS::ConfDefaults;
5 FS::ConfDefaults - Freeside configuration default and available values
11 @avail_cust_fields = FS::ConfDefaults->cust_fields_avail();
15 Just a small class to keep config default and available values
21 =item cust_fields_avail
23 Returns a list, suitable for assigning to a hash, of available values and
24 labels for customer fields values.
28 # XXX should use msgcat for "Day phone" and "Night phone", but how?
29 sub cust_fields_avail { (
31 'Cust. Status | Customer' =>
32 'Status | Last, First or Company (Last, First)',
33 'Cust# | Cust. Status | Customer' =>
34 'custnum | Status | Last, First or Company (Last, First)',
36 'Customer | Day phone | Night phone | Mobile phone | Fax number' =>
37 'Customer | (all phones)',
38 'Cust# | Customer | Day phone | Night phone | Mobile phone | Fax number' =>
39 'custnum | Customer | (all phones)',
41 'Cust. Status | Name | Company' =>
42 'Status | Last, First | Company',
43 'Cust# | Cust. Status | Name | Company' =>
44 'custnum | Status | Last, First | Company',
46 'Cust. Status | Customer' =>
47 'Status | Last, First or Company (Last, First)',
48 'Cust# | Cust. Status | Customer' =>
49 'custnum | Status | Last, First or Company (Last, First)',
51 'Cust. Status | Name | Company' =>
52 'Status | Last, First | Company',
53 'Cust# | Cust. Status | Name | Company' =>
54 'custnum | Status | Last, First | Company',
56 'Cust# | Cust. Status | Name | Company | Address 1 | Address 2 | City | State | Zip | Country | Day phone | Night phone | Mobile phone | Fax number | Invoicing email(s)' =>
57 'custnum | Status | Last, First | Company | (address) | (all phones) | Invoicing email(s)',
59 'Cust# | Cust. Status | Name | Company | Address 1 | Address 2 | City | State | Zip | Country | Day phone | Night phone | Mobile phone | Fax number | Invoicing email(s) | Payment Type' =>
60 'custnum | Status | Last, First | Company | (address) | (all phones) | Invoicing email(s) | Payment Type',
62 'Cust# | Cust. Status | Name | Company | Address 1 | Address 2 | City | State | Zip | Country | Day phone | Night phone | Mobile phone | Fax number | Invoicing email(s) | Payment Type | Current Balance' =>
63 'custnum | Status | Last, First | Company | (address) | (all phones) | Invoicing email(s) | Payment Type | Current Balance',
65 'Cust# | Cust. Status | Name | Company | (bill) Address 1 | (bill) Address 2 | (bill) City | (bill) State | (bill) Zip | (bill) Country | Day phone | Night phone | Mobile phone | Fax number | (service) Address 1 | (service) Address 2 | (service) City | (service) State | (service) Zip | (service) Country | Invoicing email(s)' =>
66 'custnum | Status | Last, First | Company | (address) | (all phones) | (service address) | Invoicing email(s)',
68 'Cust# | Cust. Status | Name | Company | (bill) Address 1 | (bill) Address 2 | (bill) City | (bill) State | (bill) Zip | (bill) Country | Day phone | Night phone | Mobile phone | Fax number | (service) Address 1 | (service) Address 2 | (service) City | (service) State | (service) Zip | (service) Country | Invoicing email(s) | Payment Type' =>
69 'custnum | Status | Last, First | Company | (address) | (all phones) | (service address) | Invoicing email(s) | Payment Type',
71 'Cust# | Cust. Status | Name | Company | (bill) Address 1 | (bill) Address 2 | (bill) City | (bill) State | (bill) Zip | (bill) Country | Day phone | Night phone | Mobile phone | Fax number | (service) Address 1 | (service) Address 2 | (service) City | (service) State | (service) Zip | (service) Country | Invoicing email(s) | Payment Type | Current Balance' =>
72 'custnum | Status | Last, First | Company | (address) | (all phones) | (service address) | Invoicing email(s) | Payment Type | Current Balance',
74 'Cust# | Agent Cust# | Cust. Status | Name | Company | (bill) Address 1 | (bill) Address 2 | (bill) City | (bill) State | (bill) Zip | (bill) Country | Day phone | Night phone | Mobile phone | Fax number | (service) Address 1 | (service) Address 2 | (service) City | (service) State | (service) Zip | (service) Country | Invoicing email(s) | Payment Type | Current Balance' =>
75 'custnum | Agent Cust# | Status | Last, First | Company | (address) | (all phones) | (service address) | Invoicing email(s) | Payment Type | Current Balance',
77 'Cust# | Cust. Status | Name | Company | (bill) Address 1 | (bill) Address 2 | (bill) City | (bill) State | (bill) Zip | (bill) Country | (bill) Latitude | (bill) Longitude | Day phone | Night phone | Mobile phone | Fax number | (service) Address 1 | (service) Address 2 | (service) City | (service) State | (service) Zip | (service) Country | (service) Latitude | (service) Longitude | Invoicing email(s) | Payment Type | Current Balance' =>
78 'custnum | Status | Last, First | Company | (address+coord) | (all phones) | (service address+coord) | Invoicing email(s) | Payment Type | Current Balance',
80 'Cust# | Cust. Status | Name | Company | (bill) Address 1 | (bill) Address 2 | (bill) City | (bill) State | (bill) Zip | (bill) Country | (bill) Latitude | (bill) Longitude | Day phone | Night phone | Mobile phone | Fax number | (service) Address 1 | (service) Address 2 | (service) City | (service) State | (service) Zip | (service) Country | (service) Latitude | (service) Longitude | Invoicing email(s) | Payment Type | Current Balance | Advertising Source' =>
81 'custnum | Status | Last, First | Company | (address+coord) | (all phones) | (service address+coord) | Invoicing email(s) | Payment Type | Current Balance | Advertising Source',
83 'Invoicing email(s)' => 'Invoicing email(s)',
84 'Cust# | Invoicing email(s)' => 'custnum | Invoicing email(s)',