]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DB/Invoice.pm
Oneline summary for GLTransaction/Invoice/PurchaseInvoice
[mfinanz.git] / SL / DB / Invoice.pm
index 0ef8d614e842f68c3d7927c94ea8890e17ba916e..4caafc0b003267b3aded43d3bdf5297eaaecbd36 100644 (file)
@@ -555,6 +555,12 @@ sub abbreviation {
   return t8('Invoice (one letter abbreviation)');
 }
 
+sub oneline_summary {
+  my $self = shift;
+
+  return sprintf("%s: %s %s (%s)", $self->abbreviation, $self->invnumber, $self->customer->name, $self->transdate->to_kivitendo);
+}
+
 sub date {
   goto &transdate;
 }