]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/DB/PurchaseInvoice.pm
Für #277 toten Code entfernen
[kivitendo-erp.git] / SL / DB / PurchaseInvoice.pm
index 08be07f3323de9979a2d037f3bb31124cf8954bd..631816591751f1038372b9316ac5b4b1e3a2338f 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) = @_;