X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=htdocs%2Fview%2Fcust_main.cgi;h=4bde0be288c76e012ee3f7f600052b020f374e2f;hb=b6d1aed30d51bdae49ca22e5aa5baab635969097;hp=4e80fdd4ecc850825bc020488dd5f2ab4e124d70;hpb=37dcdd94962587d6dbc3225439c91e46b0b623c5;p=freeside.git diff --git a/htdocs/view/cust_main.cgi b/htdocs/view/cust_main.cgi index 4e80fdd4e..4bde0be28 100755 --- a/htdocs/view/cust_main.cgi +++ b/htdocs/view/cust_main.cgi @@ -1,6 +1,6 @@ #!/usr/bin/perl -Tw # -# $Id: cust_main.cgi,v 1.13 1999-02-28 00:04:00 ivan Exp $ +# $Id: cust_main.cgi,v 1.15 1999-04-09 03:52:55 ivan Exp $ # # Usage: cust_main.cgi custnum # http://server.name/path/cust_main.cgi?custnum @@ -31,7 +31,13 @@ # lose background, FS::CGI ivan@sisd.com 98-sep-2 # # $Log: cust_main.cgi,v $ -# Revision 1.13 1999-02-28 00:04:00 ivan +# Revision 1.15 1999-04-09 03:52:55 ivan +# explicit & for table/itable/ntable +# +# Revision 1.14 1999/04/08 04:04:37 ivan +# eliminate double // in links +# +# Revision 1.13 1999/02/28 00:04:00 ivan # removed misleading comments # # Revision 1.12 1999/02/07 09:59:40 ivan @@ -105,11 +111,11 @@ $cust_main = qsearchs('cust_main',{'custnum'=>$custnum}); die "Customer not found!" unless $cust_main; $hashref = $cust_main->hashref; -print itable(), ''; +print &itable(), ''; print qq!Edit this customer!, - ntable("#c0c0c0"), "", ntable("#c0c0c0",2), + &ntable("#c0c0c0"), "", &ntable("#c0c0c0",2), 'Customer number', $custnum, '', ; @@ -137,8 +143,8 @@ print ''; print ''; -print "Contact information", ntable("#c0c0c0"), "", - ntable("#c0c0c0",2), +print "Contact information", &ntable("#c0c0c0"), "", + &ntable("#c0c0c0",2), 'Contact name
(last, first)', '', $cust_main->last, ', ', $cust_main->first, @@ -178,7 +184,7 @@ print ''; @invoicing_list = $cust_main->invoicing_list; print "Billing information (", qq!!, "Bill now)", - ntable("#c0c0c0"), "", ntable("#c0c0c0",2), + &ntable("#c0c0c0"), "", &ntable("#c0c0c0",2), 'Tax exempt', $cust_main->tax ? 'yes' : 'no', '', @@ -229,7 +235,7 @@ print qq!

Packages !, #display packages #formatting -print qq!!, table, "\n", +print qq!!, &table, "\n", qq!Package!, qq!DatesServices\n!, qq!Setup!, @@ -276,7 +282,7 @@ foreach $package (@packages) { foreach my $cust_svc ( @cust_svc ) { my($label, $value, $svcdb) = $cust_svc->label; my($svcnum) = $cust_svc->svcnum; - my($sview) = popurl(2). "/view"; + my($sview) = popurl(2). "view"; print $n2,qq!$label!, qq!$value!; $n2=""; @@ -346,7 +352,7 @@ foreach $credit (@credits) { } #formatting - print table(), < Date Description