X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2FREAL_cust_pkg.cgi;h=e44acba3ca66f8fda89a119bd5ce258e9a8a4f9e;hb=c0567c688084e89fcd11bf82348b6c418f1254ac;hp=580313e88441a891ec707ec5caeb99d7bcfbe270;hpb=91a5fe454cc6411bc0f8db545bc42f55fe2cd510;p=freeside.git diff --git a/httemplate/edit/REAL_cust_pkg.cgi b/httemplate/edit/REAL_cust_pkg.cgi index 580313e88..e44acba3c 100755 --- a/httemplate/edit/REAL_cust_pkg.cgi +++ b/httemplate/edit/REAL_cust_pkg.cgi @@ -1,6 +1,6 @@ <% -# +# my $error =''; my $pkgnum = ''; @@ -45,7 +45,7 @@ print '
', print qq!Error: $error! if $error; -print &ntable("#cccccc"), '', &ntable("#cccccc",2), +print ntable("#cccccc",2), 'Package number', $pkgnum, '', 'Package', @@ -56,26 +56,41 @@ print &ntable("#cccccc"), '', &ntable("#cccccc",2), $otaker, '', 'Setup date'. '', - 'Next bill date', + ( $setup ? time2str("%c %z (%Z)",$setup) : "" ), '">'; + +print 'Last bill date', + 'last_bill) + : "" ), + '">' + if $cust_pkg->dbdef_table->column('last_bill'); + +print 'Next bill date', '', -; + ( $bill ? time2str("%c %z (%Z)",$bill) : "" ), '">'; print 'Suspension date', time2str("%D",$susp), '' if $susp; -print 'Expiration date', - time2str("%D",$expire), '' - if $expire; +#print 'Expiration date', +# time2str("%D",$expire), '' +# if $expire; +print 'Expiration date'. + '', + ''. + '
(will cancel this package'. + ' when the date is reached)'. + ''; print 'Cancellation date', time2str("%D",$cancel), '' if $cancel; %> - +