summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2003-05-03 02:11:16 +0000
committerivan <ivan>2003-05-03 02:11:16 +0000
commit9b0f7114f88501c962df86511dbe2a42c8b1cde5 (patch)
tree7cccd1e7977f4f96a10d3164b2f2385ed00fbeef /httemplate
parent3927e49164378f3fe0e190f8c307040879bb0a25 (diff)
enable quota maintenance in infostreet export
Diffstat (limited to 'httemplate')
-rwxr-xr-xhttemplate/edit/svc_acct.cgi11
1 files changed, 10 insertions, 1 deletions
diff --git a/httemplate/edit/svc_acct.cgi b/httemplate/edit/svc_acct.cgi
index d4c9a738d..4420bb609 100755
--- a/httemplate/edit/svc_acct.cgi
+++ b/httemplate/edit/svc_acct.cgi
@@ -244,7 +244,16 @@ my($quota,$slipip)=(
$svc_acct->slipip,
);
-print qq!<INPUT TYPE="hidden" NAME="quota" VALUE="$quota">!;
+if ( $part_svc->part_svc_column('quota')->columnflag eq "F" )
+{
+ print qq!<INPUT TYPE="hidden" NAME="quota" VALUE="$quota">!;
+} else {
+ print <<END;
+ <TR><TD ALIGN="right">Quota:</TD>
+ <TD> <INPUT TYPE="text" NAME="quota" VALUE="$quota" ></TD>
+ </TR>
+END
+}
if ( $part_svc->part_svc_column('slipip')->columnflag eq "F" ) {
print qq!<INPUT TYPE="hidden" NAME="slipip" VALUE="$slipip">!;