AreaInputTag: kleines Icon neben Input zum Umschalten auf Textarea
[kivitendo-erp.git] / SL / DB / Invoice.pm
index 0ef8d61..44b81df 100644 (file)
@@ -555,6 +555,13 @@ sub abbreviation {
   return t8('Invoice (one letter abbreviation)');
 }
 
+sub oneline_summary {
+  my $self = shift;
+
+  return sprintf("%s: %s %s %s (%s)", $self->abbreviation, $self->invnumber, $self->customer->name,
+                                      $::form->format_amount(\%::myconfig, $self->amount,2), $self->transdate->to_kivitendo);
+}
+
 sub date {
   goto &transdate;
 }