X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FRecordTemplate.pm;h=83850fffa4bd942a6f737e725bc9904e012a472f;hb=cc1f1d856a432cd669fcec19dfb6938d8c638767;hp=a9f6f8814eda0b9cb65dbfada578dfe5483d251b;hpb=3f21f766920411eeb17e21887943e6fb6ff43b5c;p=kivitendo-erp.git 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' },