diff options
author | ivan <ivan> | 2002-03-23 17:49:01 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-03-23 17:49:01 +0000 |
commit | 74e64d70361848f089aad9a7881c2af9caf6e479 (patch) | |
tree | 57f50418cc4ff6fee3024860f915833c85a1954c /httemplate/browse | |
parent | 8fe83dcb8807a86209625a5aab7e574073f0a907 (diff) |
okay group editing UI as well as part_svc group editing UI seem to be working
Diffstat (limited to 'httemplate/browse')
-rwxr-xr-x | httemplate/browse/part_svc.cgi | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/httemplate/browse/part_svc.cgi b/httemplate/browse/part_svc.cgi index c66b8ac63..250b1ff4e 100755 --- a/httemplate/browse/part_svc.cgi +++ b/httemplate/browse/part_svc.cgi @@ -41,13 +41,15 @@ function part_export_areyousure(href) { <% foreach my $part_svc ( sort { $a->getfield('svcpart') <=> $b->getfield('svcpart') } @part_svc ) { - my($hashref)=$part_svc->hashref; - my($svcdb)=$hashref->{svcdb}; + my $hashref = $part_svc->hashref; + my $svcdb = $hashref->{svcdb}; + my @dfields = fields($svcdb); + push @dfields, 'usergroup' if $svcdb eq 'svc_acct'; #kludge my @fields = grep { $_ ne 'svcnum' && $part_svc->part_svc_column($_)->columnflag } - fields($svcdb); + @dfields; - my($rowspan)=scalar(@fields) || 1; + my $rowspan = scalar(@fields) || 1; my $url = "${p}edit/part_svc.cgi?$hashref->{svcpart}"; %> |