X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FDeliveryOrder.pm;h=523312160efbac71f3586b4448bd01ae6dff8b0f;hb=87e65e6c1cc64bfb2d73b6914ed2ef136861dd42;hp=806c9637a9a2727e04484db76444c4c6ccdaf31c;hpb=4fd22b569d4436293e0a9d364d7356b5bfc503e5;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/DeliveryOrder.pm b/SL/DB/MetaSetup/DeliveryOrder.pm index 806c9637a..523312160 100644 --- a/SL/DB/MetaSetup/DeliveryOrder.pm +++ b/SL/DB/MetaSetup/DeliveryOrder.pm @@ -36,11 +36,10 @@ __PACKAGE__->meta->setup( is_sales => { type => 'boolean' }, itime => { type => 'timestamp', default => 'now()' }, mtime => { type => 'timestamp' }, - notes_bottom => { type => 'text' }, taxzone_id => { type => 'integer' }, taxincluded => { type => 'boolean' }, terms => { type => 'integer' }, - curr => { type => 'character', length => 3 }, + curr => { type => 'text' }, ], primary_key_columns => [ 'id' ], @@ -58,6 +57,11 @@ __PACKAGE__->meta->setup( key_columns => { customer_id => 'id' }, }, + department => { + class => 'SL::DB::Department', + key_columns => { department_id => 'id' }, + }, + employee => { class => 'SL::DB::Employee', key_columns => { employee_id => 'id' }, @@ -78,6 +82,11 @@ __PACKAGE__->meta->setup( key_columns => { salesman_id => 'id' }, }, + shipto => { + class => 'SL::DB::Shipto', + key_columns => { shipto_id => 'shipto_id' }, + }, + vendor => { class => 'SL::DB::Vendor', key_columns => { vendor_id => 'id' },