Trac 2300 / 2301 zweiter Versuch
[kivitendo-erp.git] / SL / DB / MetaSetup / Default.pm
index c117774..95ced88 100644 (file)
@@ -34,17 +34,17 @@ __PACKAGE__->meta->columns(
   mtime                                   => { type => 'timestamp' },
   rmanumber                               => { type => 'text' },
   cnnumber                                => { type => 'text' },
+  accounting_method                       => { type => 'text' },
+  inventory_system                        => { type => 'text' },
+  profit_determination                    => { type => 'text' },
   dunning_ar_amount_fee                   => { type => 'integer' },
   dunning_ar_amount_interest              => { type => 'integer' },
   dunning_ar                              => { type => 'integer' },
   pdonumber                               => { type => 'text' },
   sdonumber                               => { type => 'text' },
-  id                                      => { type => 'serial', not_null => 1 },
   ar_paid_accno_id                        => { type => 'integer' },
+  id                                      => { type => 'serial', not_null => 1 },
   language_id                             => { type => 'integer' },
-  accounting_method                       => { type => 'text' },
-  inventory_system                        => { type => 'text' },
-  profit_determination                    => { type => 'text' },
   datev_check_on_sales_invoice            => { type => 'boolean', default => 'true' },
   datev_check_on_purchase_invoice         => { type => 'boolean', default => 'true' },
   datev_check_on_ar_transaction           => { type => 'boolean', default => 'true' },
@@ -65,16 +65,17 @@ __PACKAGE__->meta->columns(
   ir_show_mark_as_paid                    => { type => 'boolean', default => 'true' },
   ar_show_mark_as_paid                    => { type => 'boolean', default => 'true' },
   ap_show_mark_as_paid                    => { type => 'boolean', default => 'true' },
-  assemblynumber                          => { type => 'text' },
-  currency_id                             => { type => 'integer', not_null => 1 },
   warehouse_id                            => { type => 'integer' },
   bin_id                                  => { type => 'integer' },
+  max_future_booking_interval             => { type => 'integer', default => 360 },
+  assemblynumber                          => { type => 'text' },
   show_weight                             => { type => 'boolean', default => 'false', not_null => 1 },
   transfer_default                        => { type => 'boolean', default => 'true' },
   transfer_default_use_master_default_bin => { type => 'boolean', default => 'false' },
   transfer_default_ignore_onhand          => { type => 'boolean', default => 'false' },
   warehouse_id_ignore_onhand              => { type => 'integer' },
   bin_id_ignore_onhand                    => { type => 'integer' },
+  currency_id                             => { type => 'integer', not_null => 1 },
   company                                 => { type => 'text' },
   address                                 => { type => 'text' },
   taxnumber                               => { type => 'text' },
@@ -82,7 +83,12 @@ __PACKAGE__->meta->columns(
   duns                                    => { type => 'text' },
   sepa_creditor_id                        => { type => 'text' },
   templates                               => { type => 'text' },
-  max_future_booking_interval             => { type => 'integer', default => 360 },
+  webdav                                  => { type => 'boolean', default => 'false' },
+  webdav_documents                        => { type => 'boolean', default => 'false' },
+  vertreter                               => { type => 'boolean', default => 'false' },
+  parts_show_image                        => { type => 'boolean', default => 'true' },
+  parts_listing_image                     => { type => 'boolean', default => 'true' },
+  parts_image_css                         => { type => 'text', default => 'border:0;float:left;max-width:250px;margin-top:20px:margin-right:10px;margin-left:10px;' },
 );
 
 __PACKAGE__->meta->primary_key_columns([ 'id' ]);