my $style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : '';
my $method = 'payby2longname';
$method = 'cust_payby2longname' if $opt{'payby_type'} eq 'cust';
my $style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : '';
my $method = 'payby2longname';
$method = 'cust_payby2longname' if $opt{'payby_type'} eq 'cust';