X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Fdelay_susp_pkg.html;h=e5f1d8cb3ccf008ccd78c30019369035daba65d5;hb=dfba562ff61f541ba7c75f2c02b32951b73aa002;hp=5d6a2bd09f33ef5ce445d376013598c3a625c784;hpb=06a85a88bfdb0d3fc79ee055eb8327658dfe63ab;p=freeside.git diff --git a/httemplate/misc/delay_susp_pkg.html b/httemplate/misc/delay_susp_pkg.html index 5d6a2bd09..e5f1d8cb3 100755 --- a/httemplate/misc/delay_susp_pkg.html +++ b/httemplate/misc/delay_susp_pkg.html @@ -42,7 +42,7 @@ <%init> -my %conf = new FS::Conf; +my $conf = new FS::Conf; my $date_format = $conf->config('date_format') || '%m/%d/%Y'; my $date = time2str($date_format, time); @@ -68,6 +68,10 @@ my $title = 'Delay Suspension of Package'; my $cust_pkg = qsearchs('cust_pkg', {'pkgnum' => $pkgnum}) or die "Unknown pkgnum: $pkgnum"; +$date = time2str($date_format, $cust_pkg->dundate) + if $cust_pkg->dundate + && ! $cgi->param('error'); + my $part_pkg = $cust_pkg->part_pkg;