1 % if ( scalar(@{ $opt{'cust_payby'} }) == 0 ) {
3 <INPUT TYPE="hidden" NAME="<% $opt{'element_name'} || $opt{'field'} || 'custpaybynum' %>" VALUE="">
8 <TH ALIGN="right"><% $opt{'label'} || 'Payment via' %></TD>
10 <% include( '/elements/select-cust_payby.html',
11 'curr_value' => $custpaybynum,
23 my $custpaybynum = $opt{'curr_value'} || $opt{'value'};
25 $opt{'cust_payby'} ||= [ qsearch( 'cust_payby', { custnum => $opt{custnum},