CVar: Dokumentation um Lieferadressen-CVars ergänzt
[kivitendo-erp.git] / SL / DB / Shipto.pm
index 2492ac7..5e2813d 100644 (file)
@@ -3,11 +3,16 @@ package SL::DB::Shipto;
 use strict;
 
 use SL::DB::MetaSetup::Shipto;
+use SL::DB::Manager::Shipto;
+use SL::DB::Helper::CustomVariables (
+  module      => 'ShipTo',
+  cvars_alias => 1,
+);
 
-our @SHIPTO_VARIABLES = qw(shiptoname shiptostreet shiptozipcode shiptocity shiptocountry shiptocontact
+our @SHIPTO_VARIABLES = qw(shiptoname shiptostreet shiptozipcode shiptocity shiptocountry shiptogln shiptocontact
                            shiptophone shiptofax shiptoemail shiptodepartment_1 shiptodepartment_2);
 
-__PACKAGE__->meta->make_manager_class;
+__PACKAGE__->meta->initialize;
 
 sub displayable_id {
   my $self = shift;