X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Fdelay_susp_pkg.html;h=02f8824b46a4a1b7c275190bcc245795e808b4d4;hb=1fa46a8e2890c2c6f1e0117856f5c481306b1c59;hp=8adc40d55f6c19fa9c58f65c3dda2e71c772b704;hpb=b5c4237a34aef94976bc343c8d9e138664fc3984;p=freeside.git diff --git a/httemplate/misc/delay_susp_pkg.html b/httemplate/misc/delay_susp_pkg.html index 8adc40d55..02f8824b4 100755 --- a/httemplate/misc/delay_susp_pkg.html +++ b/httemplate/misc/delay_susp_pkg.html @@ -12,7 +12,9 @@

-<% "Delay automatic suspension of " .$part_pkg->pkg_comment %> +<% "Delay automatic suspension of ". + $part_pkg->pkg_comment( cust_pkg=>$cust_pkg ) +%> <% ntable("#cccccc", 2) %> @@ -68,6 +70,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;