X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/b186a8eb0ff43ca1d67e7416f1eef2d11bf4501a..7ca30d76589b74e1b84c1a182550e33ebf618372:/SL/DB/PurchaseInvoice.pm?ds=inline diff --git a/SL/DB/PurchaseInvoice.pm b/SL/DB/PurchaseInvoice.pm index 08be07f33..102cd8a52 100644 --- a/SL/DB/PurchaseInvoice.pm +++ b/SL/DB/PurchaseInvoice.pm @@ -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) = @_;