1 <% include( '/elements/select-table.html',
2 'table' => 'cust_payby',
4 'value' => $custpaybynum,
6 'post_options' => [ '0' => 'Enter new payment information' ],
7 'hashref' => { 'custnum' => $opt{'custnum'},
16 my $custpaybynum = $opt{'curr_value'} || $opt{'value'};
18 if ( $opt{'cust_payby'} ) {
19 $opt{'records'} = delete $opt{'cust_payby'};
20 $opt{'presorted'} = 1 if ! exists($opt{'presorted'});