X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FConf.pm;h=ef2a9388a68e75f8b30e2536c4ac8ce55a05ee62;hb=1d0374a383ba412f9e9390705965a9d8467508f7;hp=1b50006a52911473e72ab9522b75cd3c9596dcbe;hpb=f8ab406212ded0c4d3b733ae20d8ba0ab10691ae;p=freeside.git diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index 1b50006a5..ef2a9388a 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -958,7 +958,7 @@ my $validate_email = sub { $_[0] =~ 'section' => 'credit_cards', 'description' => 'Currency parameter for Business::OnlinePayment transactions.', 'type' => 'select', - 'select_enum' => [ '', qw( USD AUD CAD DKK EUR GBP ILS JPY NZD ) ], + 'select_enum' => [ '', qw( USD AUD CAD DKK EUR GBP ILS JPY NZD ARS ) ], }, { @@ -973,7 +973,7 @@ my $validate_email = sub { $_[0] =~ 'section' => 'localization', 'description' => 'Main accounting currency', 'type' => 'select', - 'select_enum' => [ '', qw( USD AUD CAD DKK EUR GBP ILS JPY NZD XAF ) ], + 'select_enum' => [ '', qw( USD AUD CAD DKK EUR GBP ILS JPY NZD XAF ARS ) ], }, { @@ -1821,6 +1821,13 @@ and customer address. Include units.', }, { + 'key' => 'cust_main-packages-num_per_page', + 'section' => 'packages', + 'description' => 'Number of packages to display per page on customer view (default 10).', + 'type' => 'text', + }, + + { 'key' => 'disable_maxselect', 'section' => 'reporting', 'description' => 'Prevent changing the number of records per page.', @@ -2062,6 +2069,21 @@ and customer address. Include units.', }, { + 'key' => 'google_maps_api_key', + 'section' => 'addresses', + 'description' => 'API key for google maps. This must be set for map and directions links to work. See Getting a Google Maps API Key', + 'type' => 'text', + }, + + { + 'key' => 'company_physical_address', + 'section' => 'addresses', + 'description' => 'Your physical company address, for use in supplying google map directions, defaults to company_address', + 'type' => 'textarea', + 'per_agent' => 1, + }, + + { 'key' => 'show_ship_company', 'section' => 'addresses', 'description' => 'Turns on display/collection of a "service company name" field for customers.', @@ -4139,6 +4161,13 @@ and customer address. Include units.', }, { + 'key' => 'cust_main-require_classnum', + 'section' => 'customer_fields', + 'description' => 'Customer class is required: require customer class for all customer records.', + 'type' => 'checkbox', + }, + + { 'key' => 'cust_main-check_unique', 'section' => 'customer_fields', 'description' => 'Warn before creating a customer record where these fields duplicate another customer.', @@ -4226,6 +4255,7 @@ and customer address. Include units.', 'section' => 'invoice_balances', 'description' => 'Text for the label of the total previous balance, when it is shown separately. Defaults to "Previous Balance".', 'type' => 'text', + 'per_locale' => 1, }, { @@ -4233,6 +4263,7 @@ and customer address. Include units.', 'section' => 'invoice_balances', 'description' => 'Text for the label of the total of new charges, when it is shown separately. If invoice_show_prior_due_date is enabled, the due date of current charges will be appended. Defaults to "Total New Charges".', 'type' => 'text', + 'per_locale' => 1, }, { @@ -4992,6 +5023,13 @@ and customer address. Include units.', }, { + 'key' => 'cdr-userfield_dnis_rewrite', + 'section' => 'telephony', + 'description' => 'If the CDR userfield contains "DNIS=" followed by a sequence of digits, use that as the destination number for the call.', + 'type' => 'checkbox', + }, + + { 'key' => 'cdr-intl_to_domestic_rewrite', 'section' => 'telephony', 'description' => 'Strip the "011" international prefix from CDR destination numbers if the rest of the number is 7 digits or shorter, and so probably does not contain a country code.', @@ -5442,8 +5480,8 @@ and customer address. Include units.', { 'key' => 'cust_bill-latex_lineitem_maxlength', - 'section' => 'invoicing', - 'description' => 'Truncate long line items to this number of characters on typeset invoices, to avoid losing things off the right margin. Defaults to 50. ', + 'section' => 'deprecated', + 'description' => 'With old invoice_latex template, truncate long line items to this number of characters on typeset invoices, to avoid losing things off the right margin. (With current invoice_latex template, this is handled internally in the template itself instead.)', 'type' => 'text', }, @@ -5588,6 +5626,13 @@ and customer address. Include units.', 'rate_low' => 'Lowest rate first', ], }, + + { + 'key' => 'cdr-lrn_lookup', + 'section' => 'telephony', + 'description' => 'Look up LRNs of destination numbers for exact matching to the terminating carrier. This feature requires a Freeside support contract for paid access to the central NPAC database; see support-key.', + 'type' => 'checkbox', + }, { 'key' => 'brand-agent',