X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FConf.pm;h=42efa793ad10fd0f5c54c9837bc499091a3afb6b;hb=15b5b2eb77ed560bbbd876aca94c92855b79ca88;hp=c436413d60510a7fc21dacd541d3bb9e0ec8c95f;hpb=955c17771c7aa05a2609309809809be37f4c8267;p=freeside.git diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index c436413d6..42efa793a 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -395,6 +395,7 @@ sub verify_config_item { } else { + no warnings 'uninitialized'; $error .= "$key fails binary comparison; " unless scalar($self->config_binary($key)) eq scalar($compat->config_binary($key)); @@ -1241,6 +1242,13 @@ and customer address. Include units.', }, { + 'key' => 'payment_receipt', + 'section' => 'notification', + 'description' => 'Send payment receipts.', + 'type' => 'checkbox', + }, + + { 'key' => 'payment_receipt_msgnum', 'section' => 'notification', 'description' => 'Template to use for payment receipts.', @@ -1308,7 +1316,12 @@ and customer address. Include units.', 'editlist_parts' => [ { type=>'text' }, { type=>'immutable', value=>'IN' }, { type=>'select', - select_enum=>{ map { $_=>$_ } qw(A CNAME MX NS TXT)} }, + select_enum => { + map { $_=>$_ } + #@{ FS::domain_record->rectypes } + qw(A AAAA CNAME MX NS PTR SPF SRV TXT) + }, + }, { type=> 'text' }, ], }, @@ -1775,6 +1788,7 @@ and customer address. Include units.', 'select_hash' => [ 'svc_acct' => 'Account (svc_acct)', 'svc_phone' => 'Phone number (svc_phone)', + 'svc_pbx' => 'PBX (svc_pbx)', ], }, @@ -2233,6 +2247,32 @@ and customer address. Include units.', }, { + 'key' => 'selfservice-agent_signup', + 'section' => 'self-service', + 'description' => 'Allow agent signup via self-service.', + 'type' => 'checkbox', + }, + + { + 'key' => 'selfservice-agent_signup-agent_type', + 'section' => 'self-service', + 'description' => 'Agent type when allowing agent signup via self-service.', + 'type' => 'select-sub', + 'options_sub' => sub { require FS::Record; + require FS::agent_type; + map { $_->typenum => $_->atype } + FS::Record::qsearch('agent_type', {} ); # disabled=>'' } ); + }, + 'option_sub' => sub { require FS::Record; + require FS::agent_type; + my $agent = FS::Record::qsearchs( + 'agent_type', { 'typenum'=>shift } + ); + $agent_type ? $agent_type->atype : ''; + }, + }, + + { 'key' => 'card_refund-days', 'section' => 'billing', 'description' => 'After a payment, the number of days a refund link will be available for that payment. Defaults to 120.', @@ -3124,6 +3164,26 @@ and customer address. Include units.', }, { + 'key' => 'prepayment_discounts-credit_type', + 'section' => 'billing', + 'description' => 'Enables the offering of prepayment discounts and establishes the credit reason type.', + 'type' => 'select-sub', + 'options_sub' => sub { require FS::Record; + require FS::reason_type; + map { $_->typenum => $_->type } + FS::Record::qsearch('reason_type', { class=>'R' } ); + }, + 'option_sub' => sub { require FS::Record; + require FS::reason_type; + my $reason_type = FS::Record::qsearchs( + 'reason_type', { 'typenum' => shift } + ); + $reason_type ? $reason_type->type : ''; + }, + + }, + + { 'key' => 'cust_main-agent_custid-format', 'section' => '', 'description' => 'Enables searching of various formatted values in cust_main.agent_custid', @@ -3212,7 +3272,7 @@ and customer address. Include units.', 'section' => 'UI', 'description' => 'The year to use in census tract lookups', 'type' => 'select', - 'select_enum' => [ qw( 2009 2008 2007 2006 ) ], + 'select_enum' => [ qw( 2010 2009 2008 ) ], }, { @@ -3289,6 +3349,13 @@ and customer address. Include units.', }, { + 'key' => 'order_pkg-no_start_date', + 'section' => 'UI', + 'description' => 'Don\'t set a default start date for new packages.', + 'type' => 'checkbox', + }, + + { 'key' => 'mcp_svcpart', 'section' => '', 'description' => 'Master Control Program svcpart. Leave this blank.', @@ -3925,6 +3992,13 @@ and customer address. Include units.', 'type' => 'text', }, + { + 'key' => 'part_pkg-default_suspend_bill', + 'section' => 'billing', + 'description' => 'Default the "Continue recurring billing while suspended" flag to on for new package definitions.', + 'type' => 'checkbox', + }, + { key => "apacheroot", section => "deprecated", description => "DEPRECATED", type => "text" }, { key => "apachemachine", section => "deprecated", description => "DEPRECATED", type => "text" }, { key => "apachemachines", section => "deprecated", description => "DEPRECATED", type => "text" },