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 'Cust. Status | Name | Company' =>
37 'Status | Last, First | Company',
38 'Cust# | Cust. Status | Name | Company' =>
39 'custnum | Status | Last, First | Company',
41 'Cust. Status | (bill) Customer | (service) Customer' =>
42 'Status | Last, First or Company (Last, First) | (same for service contact if present)',
43 'Cust# | Cust. Status | (bill) Customer | (service) Customer' =>
44 'custnum | Status | Last, First or Company (Last, First) | (same for service contact if present)',
46 'Cust. Status | (bill) Name | (bill) Company | (service) Name | (service) Company' =>
47 'Status | Last, First | Company | (same for service address if present)',
48 'Cust# | Cust. Status | (bill) Name | (bill) Company | (service) Name | (service) Company' =>
49 'custnum | Status | Last, First | Company | (same for service address if present)',
51 'Cust# | Cust. Status | Name | Company | Address 1 | Address 2 | City | State | Zip | Country | Day phone | Night phone | Invoicing email(s)' =>
52 'custnum | Status | Last, First | Company | (all address fields ) | Day phone | Night phone | Invoicing email(s)',
54 'Cust# | Cust. Status | Name | Company | Address 1 | Address 2 | City | State | Zip | Country | Day phone | Night phone | Fax number | Invoicing email(s) | Payment Type' =>
55 'custnum | Status | Last, First | Company | (all address fields ) | ( all phones ) | Invoicing email(s) | Payment Type',
56 'Cust# | Cust. Status | Name | Company | Address 1 | Address 2 | City | State | Zip | Country | Day phone | Night phone | Fax number | Invoicing email(s) | Payment Type | Current Balance' =>
57 'custnum | Status | Last, First | Company | (all address fields ) | ( all phones ) | Invoicing email(s) | Payment Type | Current Balance',