X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FConf_compat17.pm;fp=FS%2FFS%2FConf_compat17.pm;h=8177120601b1819bad54bddd4f93fe6423074a80;hb=6577fcc50b6a711f1988bb4c83924e90f4bc97d6;hp=693c02f72b719354b90cfefba990892e1e07e096;hpb=30c0fdc2b632eb2d6b11b351b3e9bc509f9f263d;p=freeside.git diff --git a/FS/FS/Conf_compat17.pm b/FS/FS/Conf_compat17.pm index 693c02f72..817712060 100644 --- a/FS/FS/Conf_compat17.pm +++ b/FS/FS/Conf_compat17.pm @@ -1954,6 +1954,25 @@ httemplate/docs/config.html }, { + 'key' => 'postal_invoice-fee_pkgpart', + 'section' => 'billing', + 'description' => 'This allows selection of a package to insert on invoices for customers with postal invoices selected.', + 'type' => 'select-sub', + 'options_sub' => sub { require FS::Record; + require FS::part_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 } + ); + $part_pkg ? $part_pkg->pkg : ''; + }, + }, + + { 'key' => 'batch-enable', 'section' => 'billing', 'description' => 'Enable credit card and/or ACH batching - leave disabled for real-time installations.',