event refactor, landing on HEAD!
[freeside.git] / httemplate / elements / tr-select-cust_pkg-status.html
1 <% include ('tr-td-label.html', @_ ) %>
2
3   <TD <% $style %>>
4
5     <% include( '/elements/select-cust_pkg-status.html', 
6                   'curr_value' => $curr_value,
7                   %opt
8               )
9     %>
10
11   </TD>
12
13 </TR>
14
15 <%init>
16
17 my %opt = @_;
18
19 #my $onchange = $opt{'onchange'}
20 #                 ? 'onChange="'. $opt{'onchange'}. '(this)"'
21 #                 : '';
22
23 my $style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : '';
24
25 $opt{'statuses'} ||= [ FS::cust_pkg->statuses() ]; # { disabled=>'' } )
26
27 my $curr_value = $opt{'curr_value'} || $opt{'value'};
28
29 </%init>