duedate => { type => 'date' },
invoice => { type => 'boolean', default => 'false' },
ordnumber => { type => 'text' },
- curr => { type => 'text' },
notes => { type => 'text' },
employee_id => { type => 'integer' },
quonumber => { type => 'text' },
globalproject_id => { type => 'integer' },
transaction_description => { type => 'text' },
storno_id => { type => 'integer' },
+ direct_debit => { type => 'boolean', default => 'false' },
+ currency_id => { type => 'integer', not_null => 1 },
],
primary_key_columns => [ 'id' ],
- allow_inline_column_values => 1,
-
foreign_keys => [
contact => {
class => 'SL::DB::Contact',
key_columns => { language_id => 'id' },
},
- payment => {
+ payment_terms => {
class => 'SL::DB::PaymentTerm',
key_columns => { payment_id => 'id' },
},