diff options
| author | Mark Wells <mark@freeside.biz> | 2013-07-06 16:50:09 -0700 | 
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2013-07-06 17:06:47 -0700 | 
| commit | 90398f046915a915f65976e33ce060ac5baabbae (patch) | |
| tree | fbf7f3702eabe8fe500584c13a7de7278727945e /httemplate/edit/part_pkg.cgi | |
| parent | d3b736c3603a980b67f7c69242c94f6ad31a12a1 (diff) | |
delayed package start option, #20686
Diffstat (limited to 'httemplate/edit/part_pkg.cgi')
| -rwxr-xr-x | httemplate/edit/part_pkg.cgi | 12 | 
1 files changed, 11 insertions, 1 deletions
| diff --git a/httemplate/edit/part_pkg.cgi b/httemplate/edit/part_pkg.cgi index 38505b5f3..8d33ba647 100755 --- a/httemplate/edit/part_pkg.cgi +++ b/httemplate/edit/part_pkg.cgi @@ -54,6 +54,7 @@                              'report_option'    => 'Report classes',                              'fcc_ds0s'         => 'Voice-grade equivalents',                              'fcc_voip_class'   => 'Category', +                            'delay_start'      => 'Default delay (days)',                            },                'fields' => [ @@ -170,6 +171,16 @@                                { field=>'setup_cost', type=>'money', },                                { field=>'recur_cost', type=>'money', }, +                              ( $conf->exists('part_pkg-delay_start') +                                ? ( { type  => 'tablebreak-tr-title', +                                      value => 'Delayed start', +                                    }, +                                    { field => 'delay_start', +                                      type => 'text', size => 6 }, +                                  ) +                                : () +                              ), +                              { type => 'columnnext' },                                { field    => 'agent_type', @@ -201,7 +212,6 @@                                   : ()                                ), -                              { type => 'columnend' },                              { 'type'  => $report_option ? 'tablebreak-tr-title' | 
