diff options
Diffstat (limited to 'htdocs/edit')
-rwxr-xr-x | htdocs/edit/cust_main.cgi | 15 | ||||
-rwxr-xr-x | htdocs/edit/cust_main_county.cgi | 9 | ||||
-rwxr-xr-x | htdocs/edit/part_svc.cgi | 9 |
3 files changed, 21 insertions, 12 deletions
diff --git a/htdocs/edit/cust_main.cgi b/htdocs/edit/cust_main.cgi index 233fff2a2..d144beba6 100755 --- a/htdocs/edit/cust_main.cgi +++ b/htdocs/edit/cust_main.cgi @@ -1,6 +1,6 @@ #!/usr/bin/perl -Tw # -# $Id: cust_main.cgi,v 1.12 1999-04-06 11:16:16 ivan Exp $ +# $Id: cust_main.cgi,v 1.13 1999-04-09 03:52:55 ivan Exp $ # # Usage: cust_main.cgi custnum # http://server.name/path/cust_main.cgi?custnum @@ -38,7 +38,10 @@ # fixed one missed day->daytime ivan@sisd.com 98-jul-13 # # $Log: cust_main.cgi,v $ -# Revision 1.12 1999-04-06 11:16:16 ivan +# Revision 1.13 1999-04-09 03:52:55 ivan +# explicit & for table/itable/ntable +# +# Revision 1.12 1999/04/06 11:16:16 ivan # give a meaningful error message if you try to create a customer before you've # created an agent # @@ -211,7 +214,7 @@ if ( $custnum ) { $cust_main->zip, ); -print "<BR><BR>Contact information", itable("#c0c0c0"), <<END; +print "<BR><BR>Contact information", &itable("#c0c0c0"), <<END; <TR><TH ALIGN="right">${r}Contact name<BR>(last, first)</TH><TD COLSPAN=3><INPUT TYPE="text" NAME="last" VALUE="$last">, <INPUT TYPE="text" NAME="first" VALUE="$first"></TD><TD ALIGN="right">SS#</TD><TD><INPUT TYPE="text" NAME="ss" VALUE="$ss" SIZE=11></TD></TR> <TR><TD ALIGN="right">Company</TD><TD COLSPAN=5><INPUT TYPE="text" NAME="company" VALUE="$company" SIZE=70></TD></TR> <TR><TH ALIGN="right">${r}Address</TH><TD COLSPAN=5><INPUT TYPE="text" NAME="address1" VALUE="$address1" SIZE=70></TD></TR> @@ -274,7 +277,7 @@ sub expselect { $return; } -print "<BR>Billing information", itable("#c0c0c0"), +print "<BR>Billing information", &itable("#c0c0c0"), qq!<TR><TD><INPUT TYPE="checkbox" NAME="tax" VALUE="Y"!; print qq! CHECKED! if $cust_main->tax eq "Y"; print qq!>Tax Exempt</TD></TR>!; @@ -288,7 +291,7 @@ print qq!<TR><TD>Email invoice <INPUT TYPE="text" NAME="invoicing_list" VALUE="$ print "<TR><TD>Billing type</TD></TR>", "</TABLE>", - table("#c0c0c0"), "<TR>"; + &table("#c0c0c0"), "<TR>"; ($payinfo, $payname)=( $cust_main->payinfo, @@ -375,7 +378,7 @@ unless ( $custnum ) { if ( @part_pkg ) { - print "<BR><BR>First package", itable("#c0c0c0"), + print "<BR><BR>First package", &itable("#c0c0c0"), qq!<TR><TD COLSPAN=2><SELECT NAME="pkgpart_svcpart">!; print qq!<OPTION VALUE="">(none)!; diff --git a/htdocs/edit/cust_main_county.cgi b/htdocs/edit/cust_main_county.cgi index 3c2efec5b..3d2b0e263 100755 --- a/htdocs/edit/cust_main_county.cgi +++ b/htdocs/edit/cust_main_county.cgi @@ -1,6 +1,6 @@ #!/usr/bin/perl -Tw # -# $Id: cust_main_county.cgi,v 1.6 1999-01-25 12:09:55 ivan Exp $ +# $Id: cust_main_county.cgi,v 1.7 1999-04-09 03:52:55 ivan Exp $ # # ivan@sisd.com 97-dec-13-16 # @@ -11,7 +11,10 @@ # lose background, FS::CGI ivan@sisd.com 98-sep-2 # # $Log: cust_main_county.cgi,v $ -# Revision 1.6 1999-01-25 12:09:55 ivan +# Revision 1.7 1999-04-09 03:52:55 ivan +# explicit & for table/itable/ntable +# +# Revision 1.6 1999/01/25 12:09:55 ivan # yet more mod_perl stuff # # Revision 1.5 1999/01/19 05:13:36 ivan @@ -51,7 +54,7 @@ print qq!<FONT SIZE="+1" COLOR="#ff0000">Error: !, $cgi->param('error'), if $cgi->param('error'); print qq!<FORM ACTION="!, popurl(1), - qq!process/cust_main_county.cgi" METHOD=POST>!, table, <<END; + qq!process/cust_main_county.cgi" METHOD=POST>!, &table, <<END; <TR> <TH><FONT SIZE=-1>Country</FONT></TH> <TH><FONT SIZE=-1>State</FONT></TH> diff --git a/htdocs/edit/part_svc.cgi b/htdocs/edit/part_svc.cgi index 57811a0b6..8a9018a25 100755 --- a/htdocs/edit/part_svc.cgi +++ b/htdocs/edit/part_svc.cgi @@ -1,6 +1,6 @@ #!/usr/bin/perl -Tw # -# $Id: part_svc.cgi,v 1.10 1999-04-08 13:01:50 ivan Exp $ +# $Id: part_svc.cgi,v 1.11 1999-04-09 03:52:55 ivan Exp $ # # ivan@sisd.com 97-nov-14 # @@ -10,7 +10,10 @@ # use FS::CGI, added inline documentation ivan@sisd.com 98-jul-12 # # $Log: part_svc.cgi,v $ -# Revision 1.10 1999-04-08 13:01:50 ivan +# Revision 1.11 1999-04-09 03:52:55 ivan +# explicit & for table/itable/ntable +# +# Revision 1.10 1999/04/08 13:01:50 ivan # [ AND DOCUMENT! ] all svc_acct services should have a default # or fixed shell # @@ -100,7 +103,7 @@ blank <B>slipip</B> as well as a fixed shell something like <B>/bin/true</B> or <B>/usr/bin/passwd</B>. <BR><BR> END -print table, '<TR><TH>Table<SELECT NAME="svcdb" SIZE=1>', +print &table, '<TR><TH>Table<SELECT NAME="svcdb" SIZE=1>', map '<OPTION'. ' SELECTED'x($_ eq $hashref->{svcdb}). ">$_\n", qw( svc_acct svc_domain svc_acct_sm ); |