projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dce860e
)
Verknüpfung zu PaymentTerm-Model
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Wed, 10 Nov 2010 15:54:14 +0000
(16:54 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Wed, 12 Jan 2011 15:18:29 +0000
(16:18 +0100)
SL/DB/Order.pm
patch
|
blob
|
history
diff --git
a/SL/DB/Order.pm
b/SL/DB/Order.pm
index
e84f8a2
..
267b913
100644
(file)
--- a/
SL/DB/Order.pm
+++ b/
SL/DB/Order.pm
@@
-30,6
+30,11
@@
__PACKAGE__->meta->add_relationship(
class => 'SL::DB::PeriodicInvoice',
column_map => { id => 'oe_id' },
},
+ payment_term => {
+ type => 'one to one',
+ class => 'SL::DB::PaymentTerm',
+ column_map => { payment_id => 'id' },
+ },
);
__PACKAGE__->meta->initialize;