1 package SL::DB::Manager::PaymentTerm;
5 use SL::DB::Helper::Manager;
6 use base qw(SL::DB::Helper::Manager);
8 use SL::DB::Helper::Sorted;
10 sub object_class { 'SL::DB::PaymentTerm' }
12 __PACKAGE__->make_manager_methods;
15 return ( default => [ 'sortkey', 1 ],
16 columns => { SIMPLE => 'ALL',
17 map { ( $_ => "lower(payment_terms.${_})" ) } qw(description description_long description_long_invoice),