X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/d55cf3464d72d33f5638dd25b8c190cd71b171d0..a5e4f9ca835489c2250db39f2c3abe6ac4ba04e6:/SL/DB/Invoice.pm?ds=inline diff --git a/SL/DB/Invoice.pm b/SL/DB/Invoice.pm index 0ef8d614e..4caafc0b0 100644 --- a/SL/DB/Invoice.pm +++ b/SL/DB/Invoice.pm @@ -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; }