diff options
Diffstat (limited to 'httemplate/elements/tr-select-cust_pkg-status.html')
-rw-r--r-- | httemplate/elements/tr-select-cust_pkg-status.html | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/httemplate/elements/tr-select-cust_pkg-status.html b/httemplate/elements/tr-select-cust_pkg-status.html index 17768517d..22ee146cd 100644 --- a/httemplate/elements/tr-select-cust_pkg-status.html +++ b/httemplate/elements/tr-select-cust_pkg-status.html @@ -1,13 +1,14 @@ -<% - my( $status, %opt ) = @_; +% +% my( $status, %opt ) = @_; +% +% $opt{'statuses'} ||= [ FS::cust_pkg->statuses() ]; # { disabled=>'' } ) +% +% - $opt{'statuses'} ||= [ FS::cust_pkg->statuses() ]; # { disabled=>'' } ) - -%> <TR> - <TD ALIGN="right"><%= $opt{'label'} || 'Status' %></TD> + <TD ALIGN="right"><% $opt{'label'} || 'Status' %></TD> <TD> - <%= include( '/elements/select-cust_pkg-status.html', $status, %opt ) %> + <% include( '/elements/select-cust_pkg-status.html', $status, %opt ) %> </TD> </TR> |