1 <& tr-td-label.html, 'label' => emt('Payment type'), @_ &>
5 <& /elements/select-payby.html,
6 'curr_value' => $curr_value,
18 my $style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : '';
20 my $method = 'payby2longname';
21 $method = 'cust_payby2longname' if $opt{'payby_type'} eq 'cust';
23 unless ( $opt{'paybys'} ) {
24 tie %{ $opt{'paybys'} }, 'Tie::IxHash', FS::payby->$method();
27 my $curr_value = $opt{'curr_value'} || $opt{'value'};