projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Oneline summary for GLTransaction/Invoice/PurchaseInvoice
[kivitendo-erp.git]
/
SL
/
DB
/
GLTransaction.pm
diff --git
a/SL/DB/GLTransaction.pm
b/SL/DB/GLTransaction.pm
index
67a4d3a
..
3b9612e
100644
(file)
--- a/
SL/DB/GLTransaction.pm
+++ b/
SL/DB/GLTransaction.pm
@@
-30,6
+30,11
@@
sub abbreviation {
return $abbreviation;
}
+sub oneline_summary {
+ my ($self) = @_;
+ return sprintf("%s: %s %s (%s)", $self->abbreviation, $self->description, $self->reference, $_->transdate->to_kivitendo);
+}
+
sub link {
my ($self) = @_;