1 package SL::DB::Manager::Shipto;
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::Shipto' }
12 __PACKAGE__->make_manager_methods;
16 default => [ 'full_address', 1 ],
19 full_address => '( lower(shipto.shiptoname) || lower(shipto.shiptostreet) || lower(shipto.shiptocity) )',
20 map { ( $_ => "lower(shipto.shipto$_)" ) } qw(city contact country department_1 department_2 email fax name phone street zipcode)