X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2FREAL_cust_pkg.cgi;h=d9b7579f68200941a4ebe86ca936d08adf017fa8;hp=8ea0e084d51248f2b0788b4993ddbeb16d55f8c5;hb=eb9668a6f3181ee02cb335272c5ee4616e61fd09;hpb=9410e9f656b950a9d4b383a3992fa50bb7a270db diff --git a/httemplate/edit/REAL_cust_pkg.cgi b/httemplate/edit/REAL_cust_pkg.cgi index 8ea0e084d..d9b7579f6 100755 --- a/httemplate/edit/REAL_cust_pkg.cgi +++ b/httemplate/edit/REAL_cust_pkg.cgi @@ -1,5 +1,6 @@ + <% -# +# my $error =''; my $pkgnum = ''; @@ -29,6 +30,15 @@ print header('Package Edit'); #, menubar( # 'Main Menu' => popurl(2) #)); +%> + + + + + + +<% + #print info my($susp,$cancel,$expire)=( $cust_pkg->getfield('susp'), @@ -44,7 +54,10 @@ print '
', print qq!Error: $error! if $error; -print &ntable("#cccccc"), '', &ntable("#cccccc",2), +#my $format = "%c %z (%Z)"; +my $format = "%m/%d/%Y %T %z (%Z)"; + +print ntable("#cccccc",2), 'Package number', $pkgnum, '', 'Package', @@ -54,27 +67,64 @@ print &ntable("#cccccc"), '', &ntable("#cccccc",2), 'Order taker', $otaker, '', 'Setup date'. - '', - 'Next bill date', - '', -; + ''. + ' '. + ''; + +print 'Last bill date', + ''. + ' '. + '' + if $cust_pkg->dbdef_table->column('last_bill'); + +print 'Next bill date', + ''. + ' '. + ''; print 'Suspension date', - time2str("%D",$susp), '' + time2str($format, $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), '' + time2str($format, $cancel), '' if $cancel; %> -'. + +