X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select-cust_pkg-status.html;h=22ee146cd46b95ac6270bd48f1621ca6ac38ba44;hp=17768517dbfc3e87e1ede678265ff124b6ec5d76;hb=3ce7691203a7737406bf2d4442f7fd84b81f847e;hpb=15e561850b61b10a92a46d8f3e316d53d4970087 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=>'' } ) - -%> - <%= $opt{'label'} || 'Status' %> + <% $opt{'label'} || 'Status' %> - <%= include( '/elements/select-cust_pkg-status.html', $status, %opt ) %> + <% include( '/elements/select-cust_pkg-status.html', $status, %opt ) %>