X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FRecordTemplate.pm;h=83850fffa4bd942a6f737e725bc9904e012a472f;hb=ef0dc3865ba7fc827c761cb2814cc16203cb2d58;hp=8fe4cf9dc0d195d3d81d0cc07f421a2c7ac97617;hpb=c8a3fef75e56acb4a3a513c4c0ea783a6f49e516;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/RecordTemplate.pm b/SL/DB/MetaSetup/RecordTemplate.pm index 8fe4cf9dc..83850fffa 100644 --- a/SL/DB/MetaSetup/RecordTemplate.pm +++ b/SL/DB/MetaSetup/RecordTemplate.pm @@ -23,8 +23,10 @@ __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 }, taxincluded => { type => 'boolean', default => 'false', not_null => 1 }, template_name => { type => 'text', not_null => 1 }, template_type => { type => 'enum', check_in => [ 'ar_transaction', 'ap_transaction', 'gl_transaction' ], db_type => 'record_template_type', not_null => 1 }, @@ -61,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' },