'per_agent' => 1,
},
+ {
+ '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',
'per_agent' => 1,
},
+ {
+ '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' => '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.';
+ },
},
{
{
'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',