ActionBar: Verwendung bei »Kontoauszug importieren«
[kivitendo-erp.git] / SL / DB / PurchaseInvoice.pm
index 08be07f..6318165 100644 (file)
@@ -88,6 +88,13 @@ sub abbreviation {
 
 };
 
+sub oneline_summary {
+  my $self = shift;
+
+  return sprintf("%s: %s %s %s (%s)", $self->abbreviation, $self->invnumber, $self->vendor->name,
+                                      $::form->format_amount(\%::myconfig, $self->amount,2), $self->transdate->to_kivitendo);
+}
+
 sub link {
   my ($self) = @_;