projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rework suspension delays, RT#6956
[freeside.git]
/
httemplate
/
search
/
cust_pkg.cgi
diff --git
a/httemplate/search/cust_pkg.cgi
b/httemplate/search/cust_pkg.cgi
index
3606a3d
..
7a6f49a
100755
(executable)
--- a/
httemplate/search/cust_pkg.cgi
+++ b/
httemplate/search/cust_pkg.cgi
@@
-17,6
+17,7
@@
emt('Next bill'),
emt('Adjourn'),
emt('Susp.'),
emt('Next bill'),
emt('Adjourn'),
emt('Susp.'),
+ emt('Susp. delay'),
emt('Expire'),
emt('Contract end'),
emt('Cancel'),
emt('Expire'),
emt('Contract end'),
emt('Cancel'),
@@
-44,7
+45,7
@@
sub { FS::part_pkg::freq_pretty(shift); },
( map { time_or_blank($_) }
sub { FS::part_pkg::freq_pretty(shift); },
( map { time_or_blank($_) }
- qw( setup last_bill bill adjourn susp expire contract_end cancel ) ),
+ qw( setup last_bill bill adjourn susp
dundate
expire contract_end cancel ) ),
sub { my $self = shift;
my $return = '';
sub { my $self = shift;
my $return = '';
@@
-104,13
+105,14
@@
'',
'',
'',
'',
'',
'',
+ '',
FS::UI::Web::cust_colors(),
'',
],
FS::UI::Web::cust_colors(),
'',
],
- 'style' => [ '', '', '', '', 'b', '', '', '', '', '', '', '', '', '', '', '', '',
+ 'style' => [ '', '', '', '', 'b', '', '', '', '', '', '', '', '', '', '', '', '',
'',
FS::UI::Web::cust_styles() ],
'size' => [ '', '', '', '', '-1' ],
FS::UI::Web::cust_styles() ],
'size' => [ '', '', '', '', '-1' ],
- 'align' => 'rrlccrrlrrrrrrrrl'. FS::UI::Web::cust_aligns(). 'r',
+ 'align' => 'rrlccrrlrrrrrrrr
r
l'. FS::UI::Web::cust_aligns(). 'r',
'links' => [
$link,
$link,
'links' => [
$link,
$link,
@@
-129,6
+131,7
@@
'',
'',
'',
'',
'',
'',
+ '',
( map { $_ ne 'Cust. Status' ? $clink : '' }
FS::UI::Web::cust_header(
$cgi->param('cust_fields')
( map { $_ ne 'Cust. Status' ? $clink : '' }
FS::UI::Web::cust_header(
$cgi->param('cust_fields')
@@
-176,9
+179,9
@@
$search_hash{report_option} = join(',', @report_option) if @report_option;
#false laziness w/report_cust_pkg.html
my %disable = (
'all' => {},
#false laziness w/report_cust_pkg.html
my %disable = (
'all' => {},
- 'one-time charge' => { 'last_bill'=>1, 'bill'=>1, 'adjourn'=>1, 'susp'=>1, 'expire'=>1, 'cancel'=>1, },
+ 'one-time charge' => { 'last_bill'=>1, 'bill'=>1, 'adjourn'=>1, 'susp'=>1, 'expire'=>1, 'cancel'=>1,
'contract_end'=>1, 'dundate'=>1,
},
'active' => { 'susp'=>1, 'cancel'=>1 },
'active' => { 'susp'=>1, 'cancel'=>1 },
- 'suspended' => { 'cancel' =>
1
},
+ 'suspended' => { 'cancel' =>
1, 'dundate'=>1,
},
'cancelled' => {},
'' => {},
);
'cancelled' => {},
'' => {},
);