X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=FS%2FFS%2FConf.pm;h=362b63c4dc8a40ee445d7d122bf6cbf6c0f23d5b;hb=17956ae071c2a6fca1d677a81be7995248fcaef4;hp=6251b03664335c67a12d71514eb433b84770cb2b;hpb=c093d1dbd7e925a1252bd393d68e6cffec60a0e5;p=freeside.git diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index 6251b0366..362b63c4d 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -640,6 +640,13 @@ worry that config_items is freeside-specific and icky. 'type' => 'text', }, + { + 'key' => 'invoice_subject', + 'section' => 'billing', + 'description' => 'Subject: header on email invoices. Defaults to "Invoice". The following substitutions are available: $name, $name_short, $invoice_number, and $invoice_date.', + 'type' => 'text', + }, + { 'key' => 'invoice_template', 'section' => 'required', @@ -1183,6 +1190,13 @@ worry that config_items is freeside-specific and icky. 'type' => 'checkbox', }, + { + 'key' => 'username-colon', + 'section' => 'username', + 'description' => 'Allow the colon character (:) in usernames.', + 'type' => 'checkbox', + }, + { 'key' => 'safe-part_bill_event', 'section' => 'UI', @@ -1556,8 +1570,8 @@ worry that config_items is freeside-specific and icky. { 'key' => 'paymentforcedtobatch', - 'section' => 'UI', - 'description' => 'Causes per customer payment entry to be forced to a batch processor rather than performed realtime.', + 'section' => 'deprecated', + 'description' => 'See batch-enable_payby and realtime-disable_payby. Used to (for CHEK): Cause per customer payment entry to be forced to a batch processor rather than performed realtime.', 'type' => 'checkbox', }, @@ -1584,6 +1598,14 @@ worry that config_items is freeside-specific and icky. 'select_enum' => [ 'Framed-IP-Address', 'Framed-Address' ], }, + #http://dev.coova.org/svn/coova-chilli/doc/dictionary.chillispot + { + 'key' => 'radius-chillispot-max', + 'section' => '', + 'description' => 'Enable ChilliSpot (and CoovaChilli) Max attributes, specifically ChilliSpot-Max-{Input,Output,Total}-{Octets,Gigawords}.', + 'type' => 'checkbox', + }, + { 'key' => 'svc_acct-alldomains', 'section' => '', @@ -1612,6 +1634,24 @@ worry that config_items is freeside-specific and icky. 'type' => 'textarea', }, + { + 'key' => 'credit_card-recurring_billing_flag', + 'section' => 'billing', + 'description' => 'This controls when the system passes the "recurring_billing" flag on credit card transactions. If supported by your processor (and the Business::OnlinePayment processor module), passing the flag indicates this is a recurring transaction and may turn off the CVV requirement. ', + 'type' => 'select', + 'select_hash' => [ + 'actual_oncard' => 'Default/classic behavior: set the flag if a customer has actual previous charges on the card.', + 'transaction_is_recur' => 'Set the flag if the transaction itself is recurring, irregardless of previous charges on the card.', + ], + }, + + { + 'key' => 'credit_card-recurring_billing_acct_code', + 'section' => 'billing', + 'description' => 'When the "recurring billing" flag is set, also set the "acct_code" to "rebill". Useful for reporting purposes with supported gateways (PlugNPay, others?)', + 'type' => 'checkbox', + }, + { 'key' => 'cvv-save', 'section' => 'billing', @@ -1914,7 +1954,7 @@ worry that config_items is freeside-specific and icky. { 'key' => 'svc_acct-usage_threshold', 'section' => 'billing', - 'description' => 'The threshold (expressed as percentage) of acct.seconds or acct.up|down|totalbytes at which a warning message is sent to a service holder. Typically used in conjunction with prepaid packages and freeside-sqlradius-radacctd. Defaults to 80.', + 'description' => 'The threshold (expressed as percentage) of acct.seconds or acct.up|down|totalbytes at which a warning message is sent to a service holder. Typically used in conjunction with prepaid packages and freeside-sqlradius-radacctd.', 'type' => 'text', }, @@ -2023,25 +2063,49 @@ worry that config_items is freeside-specific and icky. 'type' => 'select-sub', 'options_sub' => sub { require FS::Record; require FS::part_pkg; - map { $_->pkgpart => $_->pkg } + map { $_->pkgpart => $_->pkg } FS::Record::qsearch('part_pkg', { disabled=>'' } ); - }, + }, 'option_sub' => sub { require FS::Record; require FS::part_pkg; - my $part_pkg = FS::Record::qsearchs( - 'part_pkg', { 'pkgpart'=>shift } - ); + my $part_pkg = FS::Record::qsearchs( + 'part_pkg', { 'pkgpart'=>shift } + ); $part_pkg ? $part_pkg->pkg : ''; - }, + }, }, { - 'key' => 'batch-enable', + 'key' => 'postal_invoice-recurring_only', 'section' => 'billing', + 'description' => 'The postal invoice fee is omitted on invoices without recurring charges when this is set', + 'type' => 'checkbox', + }, + + { + 'key' => 'batch-enable', + 'section' => 'deprecated', #make sure batch-enable_payby is set for + #everyone before removing 'description' => 'Enable credit card and/or ACH batching - leave disabled for real-time installations.', 'type' => 'checkbox', }, + { + 'key' => 'batch-enable_payby', + 'section' => 'billing', + 'description' => 'Enable batch processing for the specified payment types.', + 'type' => 'selectmultiple', + 'select_enum' => [qw( CARD CHEK )], + }, + + { + 'key' => 'realtime-disable_payby', + 'section' => 'billing', + 'description' => 'Disable realtime processing for the specified payment types.', + 'type' => 'selectmultiple', + 'select_enum' => [qw( CARD CHEK )], + }, + { 'key' => 'batch-default_format', 'section' => 'billing', @@ -2244,8 +2308,6 @@ worry that config_items is freeside-specific and icky. 'type' => 'checkbox', }, - - { 'key' => 'cust_main-require_phone', 'section' => '', @@ -2267,16 +2329,16 @@ worry that config_items is freeside-specific and icky. 'type' => 'select-sub', 'options_sub' => sub { require FS::Record; require FS::reason_type; - map { $_->typenum => $_->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 } - ); + my $reason_type = FS::Record::qsearchs( + 'reason_type', { 'typenum' => shift } + ); $reason_type ? $reason_type->type : ''; - }, + }, }, { @@ -2286,16 +2348,16 @@ worry that config_items is freeside-specific and icky. 'type' => 'select-sub', 'options_sub' => sub { require FS::Record; require FS::reason_type; - map { $_->typenum => $_->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 } - ); + my $reason_type = FS::Record::qsearchs( + 'reason_type', { 'typenum' => shift } + ); $reason_type ? $reason_type->type : ''; - }, + }, }, { @@ -2305,16 +2367,16 @@ worry that config_items is freeside-specific and icky. 'type' => 'select-sub', 'options_sub' => sub { require FS::Record; require FS::reason_type; - map { $_->typenum => $_->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 } - ); + my $reason_type = FS::Record::qsearchs( + 'reason_type', { 'typenum' => shift } + ); $reason_type ? $reason_type->type : ''; - }, + }, }, { @@ -2359,13 +2421,6 @@ worry that config_items is freeside-specific and icky. 'type' => 'checkbox', }, - { - 'key' => 'disable_acl_changes', - 'section' => '', - 'description' => 'Disable all ACL changes, for demos.', - 'type' => 'checkbox', - }, - { 'key' => 'cust_main-edit_agent_custid', 'section' => 'UI', @@ -2394,6 +2449,41 @@ worry that config_items is freeside-specific and icky. 'type' => 'text', }, + { + 'key' => 'email_report-subject', + 'section' => '', + 'description' => 'Subject for reports emailed by freeside-fetch. Defaults to "Freeside report".', + 'type' => 'text', + }, + + { + 'key' => 'sg-multicustomer_hack', + 'section' => '', + 'description' => "Don't use this.", + 'type' => 'checkbox', + }, + + { + 'key' => 'queued-max_kids', + 'section' => '', + 'description' => 'Maximum number of queued processes. Defaults to 10.', + 'type' => 'text', + }, + + { + 'key' => 'cancelled_cust-noevents', + 'section' => 'billing', + 'description' => "Don't run events for cancelled customers", + 'type' => 'checkbox', + }, + + { + 'key' => 'svc_broadband-manage_link', + 'section' => 'UI', + 'description' => 'URL for svc_broadband "Manage Device" link. The following substitutions are available: $ip_addr.', + 'type' => 'text', + }, + ); 1;