fix new tax report w/FS::tax_rate_location->location_sql, RT#12332
[freeside.git] / httemplate / elements / tr-select-access_group.html
1 %
2 %  my( $groupnum, %opt ) = @_;
3 %
4 %  $opt{'access_group'} ||= [ qsearch( 'access_group', {} ) ]; # { disabled=>'' } )
5 %
6 %  #warn "***** tr-select-access_group: \n". Dumper(%opt);
7 %
8 % if ( scalar(@{ $opt{'access_group'} }) == 0 ) { 
9
10
11   <INPUT TYPE="hidden" NAME="groupnum" VALUE="">
12 % } else { 
13
14
15   <TR>
16     <TD ALIGN="right"><% $opt{'label'} || 'Access group' %></TD>
17     <TD>
18       <% include( '/elements/select-access_group.html', $groupnum, %opt ) %>
19     </TD>
20   </TR>
21 % } 
22