X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2FREAL_cust_pkg.cgi;h=e44acba3ca66f8fda89a119bd5ce258e9a8a4f9e;hb=a1f82a6afd45e0fd208b1e69c6647195eab48bb6;hp=8ea0e084d51248f2b0788b4993ddbeb16d55f8c5;hpb=9410e9f656b950a9d4b383a3992fa50bb7a270db;p=freeside.git diff --git a/httemplate/edit/REAL_cust_pkg.cgi b/httemplate/edit/REAL_cust_pkg.cgi index 8ea0e084d..e44acba3c 100755 --- a/httemplate/edit/REAL_cust_pkg.cgi +++ b/httemplate/edit/REAL_cust_pkg.cgi @@ -1,5 +1,6 @@ + <% -# +# my $error =''; my $pkgnum = ''; @@ -44,7 +45,7 @@ print '
', print qq!Error: $error! if $error; -print &ntable("#cccccc"), '', &ntable("#cccccc",2), +print ntable("#cccccc",2), 'Package number', $pkgnum, '', 'Package', @@ -55,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; %> -'. +