]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DB/PurchaseInvoice.pm
Oneline summary for GLTransaction/Invoice/PurchaseInvoice
[mfinanz.git] / SL / DB / PurchaseInvoice.pm
index 08be07f3323de9979a2d037f3bb31124cf8954bd..102cd8a5244df16d6eb841bde7c2b7b15162fe03 100644 (file)
@@ -88,6 +88,12 @@ sub abbreviation {
 
 };
 
+sub oneline_summary {
+  my $self = shift;
+
+  return sprintf("%s: %s %s (%s)", $self->abbreviation, $self->invnumber, $self->vendor->name, $self->transdate->to_kivitendo);
+}
+
 sub link {
   my ($self) = @_;