X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2FConf.pm;h=9e68ffc6720702791e04573d8232bacf11bb2395;hp=5a744510dfd1e23ae9917d33aaac2079e12cfd1b;hb=4fd1280540e2c9b90fa59c0c32d691f5222f65d4;hpb=0e115ecd7e70269ac58ce705adec4b1c801d14de diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index 5a744510d..9e68ffc67 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -1480,6 +1480,18 @@ and customer address. Include units.', }, { + 'key' => 'invoice_latexcouponlocation', + 'section' => 'invoicing', + 'description' => 'Location of the remittance coupon.Either top or bottom of page, defaults to bottom.', + 'type' => 'select', + 'select_hash' => [ + 'bottom' => 'Bottom of page (default)', + 'top' => 'Top of page', + ], + 'per_agent' => 1, + }, + + { 'key' => 'invoice_latexsmallfooter', 'section' => 'invoice_templates', 'description' => 'Optional small footer for multi-page LaTeX typeset PostScript invoices.', @@ -2671,6 +2683,17 @@ and customer address. Include units.', }, { + 'key' => 'processing-fee_on_separate_invoice', + 'section' => 'payments', + 'description' => 'Places the processing fee on a separate invoice by itself. Only works with real time processing.', + 'type' => 'checkbox', + 'validate' => sub { + my $conf = new FS::Conf; + !$conf->config('batch-enable_payby') ? '' : 'You can not set this option while batch processing is enabled.'; + }, + }, + + { 'key' => 'banned_pay-pad', 'section' => 'credit_cards', 'description' => 'Padding for encrypted storage of banned credit card hashes. If you already have new-style SHA512 entries in the banned_pay table, do not change as this will invalidate the old entries.', @@ -3828,6 +3851,11 @@ and customer address. Include units.', 'description' => 'Enable batch processing for the specified payment types.', 'type' => 'selectmultiple', 'select_enum' => [qw( CARD CHEK )], + 'validate' => sub { + ## can not create a new invoice and pay it silently with batch processing, only realtime processing. + my $conf = new FS::Conf; + !$conf->exists('processing-fee_on_separate_invoice') ? '' : 'You can not enable batch processing while processing-fee_on_separate_invoice option is enabled.'; + }, }, { @@ -5985,12 +6013,19 @@ and customer address. Include units.', { 'key' => 'agent-disable_counts', - 'section' => 'scalability', + 'section' => 'deprecated', 'description' => 'On the agent browse page, disable the customer and package counts. Typically used for very large installs when this page takes too long to render.', 'type' => 'checkbox', }, { + 'key' => 'config-disable_counts', + 'section' => 'scalability', + 'description' => 'Disable the customer and package counts on the Agents, Packages, and Services pages. Use for very large installs where these pages take too long to render.', + 'type' => 'checkbox', + }, + + { 'key' => 'tollfree-country', 'section' => 'telephony', 'description' => 'Country / region for toll-free recognition',