X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/3f21f766920411eeb17e21887943e6fb6ff43b5c..46f9d91b44c432aa017f44b6b2f53114e190428e:/SL/DB/MetaSetup/RecordTemplate.pm diff --git a/SL/DB/MetaSetup/RecordTemplate.pm b/SL/DB/MetaSetup/RecordTemplate.pm index a9f6f8814..83850fffa 100644 --- a/SL/DB/MetaSetup/RecordTemplate.pm +++ b/SL/DB/MetaSetup/RecordTemplate.pm @@ -23,6 +23,7 @@ __PACKAGE__->meta->columns( notes => { type => 'text' }, ob_transaction => { type => 'boolean', default => 'false', not_null => 1 }, ordnumber => { type => 'text' }, + payment_id => { type => 'integer' }, project_id => { type => 'integer' }, reference => { type => 'text' }, show_details => { type => 'boolean', default => 'false', not_null => 1 }, @@ -62,6 +63,11 @@ __PACKAGE__->meta->foreign_keys( key_columns => { employee_id => 'id' }, }, + payment => { + class => 'SL::DB::PaymentTerm', + key_columns => { payment_id => 'id' }, + }, + project => { class => 'SL::DB::Project', key_columns => { project_id => 'id' },