'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.',
+ 'transaction_is_recur' => 'Set the flag if the transaction itself is recurring, irregardless of previous charges on the card.',
],
},
'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 : '';
- },
+ },
},
{
'type' => 'checkbox',
},
-
-
{
'key' => 'cust_main-require_phone',
'section' => '',
'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 : '';
- },
+ },
},
{
'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 : '';
- },
+ },
},
{
'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 : '';
- },
+ },
},
{