X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FPurchaseInvoice.pm;fp=SL%2FDB%2FPurchaseInvoice.pm;h=102cd8a5244df16d6eb841bde7c2b7b15162fe03;hb=a5e4f9ca835489c2250db39f2c3abe6ac4ba04e6;hp=08be07f3323de9979a2d037f3bb31124cf8954bd;hpb=d55cf3464d72d33f5638dd25b8c190cd71b171d0;p=kivitendo-erp.git 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) = @_;