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 },
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' },