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:
cc54185
)
Weitere Modelvernüpfungen
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 22 Nov 2010 16:38:00 +0000
(17:38 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 13 Jan 2011 12:57:26 +0000
(13:57 +0100)
SL/DB/Invoice.pm
patch
|
blob
|
history
diff --git
a/SL/DB/Invoice.pm
b/SL/DB/Invoice.pm
index
25393c6
..
fcace59
100644
(file)
--- a/
SL/DB/Invoice.pm
+++ b/
SL/DB/Invoice.pm
@@
-53,6
+53,11
@@
__PACKAGE__->meta->add_relationship(
class => 'SL::DB::Language',
column_map => { language_id => 'id' },
},
+ employee => {
+ type => 'one to one',
+ class => 'SL::DB::Employee',
+ column_map => { employee_id => 'id' },
+ },
);
__PACKAGE__->meta->initialize;