]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DB/Invoice.pm
SL::DB::Invoice: Verknüpfung auf die Buchungsobjekte
[mfinanz.git] / SL / DB / Invoice.pm
index 0e9616651530f3243daae5e105f3294aef0a0bb4..502654ba262168fed42635a5b0581f6052757150 100644 (file)
@@ -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__