X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2FREAL_cust_pkg.cgi;h=4156b850b0155cbf3f3c96fefabd75d4bf67bf2f;hp=e44acba3ca66f8fda89a119bd5ce258e9a8a4f9e;hb=56c771abafb2cad3430fee10deacba6e561933de;hpb=5993bc956415cf285d630e0657d4a6e0642ebead diff --git a/httemplate/edit/REAL_cust_pkg.cgi b/httemplate/edit/REAL_cust_pkg.cgi index e44acba3c..4156b850b 100755 --- a/httemplate/edit/REAL_cust_pkg.cgi +++ b/httemplate/edit/REAL_cust_pkg.cgi @@ -1,6 +1,6 @@ <% -# +# my $error =''; my $pkgnum = ''; @@ -30,6 +30,15 @@ print header('Package Edit'); #, menubar( # 'Main Menu' => popurl(2) #)); +%> + + + + + + +<% + #print info my($susp,$cancel,$expire)=( $cust_pkg->getfield('susp'), @@ -45,6 +54,9 @@ print '
', print qq!Error: $error! if $error; +#my $format = "%c %z (%Z)"; +my $format = "%m/%d/%Y %T %z (%Z)"; + print ntable("#cccccc",2), 'Package number', $pkgnum, '', @@ -55,23 +67,29 @@ print ntable("#cccccc",2), 'Order taker', $otaker, '', 'Setup date'. - ''; + ''. + ' '. + ''; print 'Last bill date', - 'last_bill) + ? time2str($format, $cust_pkg->last_bill) : "" ), - '">' + '">'. + ' '. + '' 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', @@ -79,18 +97,34 @@ print 'Suspension date', # 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; %> +