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:
bdd1d7e
)
SL::DB::Invoice: Verknüpfung auf die Buchungsobjekte
author
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 23 Jun 2014 11:25:36 +0000
(13:25 +0200)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 23 Jun 2014 11:31:12 +0000
(13:31 +0200)
SL/DB/Invoice.pm
patch
|
blob
|
history
diff --git
a/SL/DB/Invoice.pm
b/SL/DB/Invoice.pm
index
0e96166
..
502654b
100644
(file)
--- a/
SL/DB/Invoice.pm
+++ b/
SL/DB/Invoice.pm
@@
-320,6
+320,15
@@
sub date {
goto &transdate;
}
+sub transactions {
+ my ($self) = @_;
+
+ return unless $self->id;
+
+ require SL::DB::AccTransaction;
+ SL::DB::Manager::AccTransaction->get_all(query => [ trans_id => $self->id ]);
+}
+
1;
__END__