Oneline summary for GLTransaction/Invoice/PurchaseInvoice
[kivitendo-erp.git] / SL / DB / PurchaseInvoice.pm
index 08be07f..102cd8a 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) = @_;