Revision a5e4f9ca
Von Kivitendo Admin vor fast 8 Jahren hinzugefügt
SL/DB/GLTransaction.pm | ||
---|---|---|
30 | 30 |
return $abbreviation; |
31 | 31 |
} |
32 | 32 |
|
33 |
sub oneline_summary { |
|
34 |
my ($self) = @_; |
|
35 |
return sprintf("%s: %s %s (%s)", $self->abbreviation, $self->description, $self->reference, $_->transdate->to_kivitendo); |
|
36 |
} |
|
37 |
|
|
33 | 38 |
sub link { |
34 | 39 |
my ($self) = @_; |
35 | 40 |
|
SL/DB/Invoice.pm | ||
---|---|---|
555 | 555 |
return t8('Invoice (one letter abbreviation)'); |
556 | 556 |
} |
557 | 557 |
|
558 |
sub oneline_summary { |
|
559 |
my $self = shift; |
|
560 |
|
|
561 |
return sprintf("%s: %s %s (%s)", $self->abbreviation, $self->invnumber, $self->customer->name, $self->transdate->to_kivitendo); |
|
562 |
} |
|
563 |
|
|
558 | 564 |
sub date { |
559 | 565 |
goto &transdate; |
560 | 566 |
} |
SL/DB/PurchaseInvoice.pm | ||
---|---|---|
88 | 88 |
|
89 | 89 |
}; |
90 | 90 |
|
91 |
sub oneline_summary { |
|
92 |
my $self = shift; |
|
93 |
|
|
94 |
return sprintf("%s: %s %s (%s)", $self->abbreviation, $self->invnumber, $self->vendor->name, $self->transdate->to_kivitendo); |
|
95 |
} |
|
96 |
|
|
91 | 97 |
sub link { |
92 | 98 |
my ($self) = @_; |
93 | 99 |
|
Auch abrufbar als: Unified diff
Oneline summary for GLTransaction/Invoice/PurchaseInvoice
to be used e.g. in Fibu Quicksearch