X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FInvoiceItem.pm;h=7cd853ec23e243941bdf7a6a955078b9a806a970;hb=b8ee6b6ed46e55095b955ee1800b8a4b8d8ccc3f;hp=e788b5f6c0c67bcd38cb6ece927c5d03c85d03d7;hpb=a3511b2d8974c72e4d26b2d85c5cf1cd711ccb6f;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/InvoiceItem.pm b/SL/DB/MetaSetup/InvoiceItem.pm index e788b5f6c..7cd853ec2 100644 --- a/SL/DB/MetaSetup/InvoiceItem.pm +++ b/SL/DB/MetaSetup/InvoiceItem.pm @@ -16,6 +16,7 @@ __PACKAGE__->meta->columns( deliverydate => { type => 'date' }, description => { type => 'text' }, discount => { type => 'float', scale => 4 }, + donumber => { type => 'text' }, fxsellprice => { type => 'numeric', precision => 15, scale => 5 }, id => { type => 'integer', not_null => 1, sequence => 'invoiceid' }, itime => { type => 'timestamp', default => 'now()' }, @@ -64,6 +65,11 @@ __PACKAGE__->meta->foreign_keys( class => 'SL::DB::Project', key_columns => { project_id => 'id' }, }, + + unit_obj => { + class => 'SL::DB::Unit', + key_columns => { unit => 'name' }, + }, ); 1;