From: jayce Date: Fri, 5 Oct 2007 14:26:37 +0000 (+0000) Subject: Initial checkin, was missing from the cust_bill_has_service condition checkin. X-Git-Tag: TRIXBOX_2_6~292 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=fda64dac607987cf537bbba1e39205c2d3c1594a Initial checkin, was missing from the cust_bill_has_service condition checkin. --- diff --git a/httemplate/elements/tr-select-part_svc.html b/httemplate/elements/tr-select-part_svc.html new file mode 100644 index 000000000..0274ef12a --- /dev/null +++ b/httemplate/elements/tr-select-part_svc.html @@ -0,0 +1,29 @@ +% if ( scalar(@{ $opt{'part_svc'} }) == 0 ) { + + + +% } else { + + + <% $opt{'label'} || 'Package definition' %> + + <% include( '/elements/select-table.html', + 'table' => 'part_svc', + 'name_col' => 'svc', + 'multiple' => 1, + #N/A 'empty_label' => '(none)', + %opt, + ) + %> + + + +% } + +<%init> + +my( %opt ) = @_; + +$opt{'part_svc'} ||= [ qsearch( 'part_svc', {} ) ]; # { disabled=>'' } ) + +