projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Neues DB-Setup für Währungen
[kivitendo-erp.git]
/
SL
/
DB
/
MetaSetup
/
PurchaseInvoice.pm
diff --git
a/SL/DB/MetaSetup/PurchaseInvoice.pm
b/SL/DB/MetaSetup/PurchaseInvoice.pm
index
636a5d8
..
75040ba
100644
(file)
--- a/
SL/DB/MetaSetup/PurchaseInvoice.pm
+++ b/
SL/DB/MetaSetup/PurchaseInvoice.pm
@@
-23,7
+23,6
@@
__PACKAGE__->meta->setup(
duedate => { type => 'date' },
invoice => { type => 'boolean', default => 'false' },
ordnumber => { type => 'text' },
duedate => { type => 'date' },
invoice => { type => 'boolean', default => 'false' },
ordnumber => { type => 'text' },
- curr => { type => 'text' },
notes => { type => 'text' },
employee_id => { type => 'integer' },
quonumber => { type => 'text' },
notes => { type => 'text' },
employee_id => { type => 'integer' },
quonumber => { type => 'text' },
@@
-43,12
+42,12
@@
__PACKAGE__->meta->setup(
globalproject_id => { type => 'integer' },
transaction_description => { type => 'text' },
storno_id => { type => 'integer' },
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' ],
],
primary_key_columns => [ 'id' ],
- allow_inline_column_values => 1,
-
foreign_keys => [
contact => {
class => 'SL::DB::Contact',
foreign_keys => [
contact => {
class => 'SL::DB::Contact',
@@
-75,7
+74,7
@@
__PACKAGE__->meta->setup(
key_columns => { language_id => 'id' },
},
key_columns => { language_id => 'id' },
},
- payment => {
+ payment
_terms
=> {
class => 'SL::DB::PaymentTerm',
key_columns => { payment_id => 'id' },
},
class => 'SL::DB::PaymentTerm',
key_columns => { payment_id => 'id' },
},