projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Projekte: alte Suchmaske entfernt
[kivitendo-erp.git]
/
SL
/
DB
/
PurchaseInvoice.pm
diff --git
a/SL/DB/PurchaseInvoice.pm
b/SL/DB/PurchaseInvoice.pm
index
08be07f
..
93fc1fe
100644
(file)
--- a/
SL/DB/PurchaseInvoice.pm
+++ b/
SL/DB/PurchaseInvoice.pm
@@
-88,12
+88,19
@@
sub abbreviation {
};
};
+sub oneline_summary {
+ my $self = shift;
+
+ return sprintf("%s: %s %s %s (%s)", $self->abbreviation, $self->invnumber, $self->vendor->name,
+ $::form->format_amount(\%::myconfig, $self->amount,2), $self->transdate->to_kivitendo);
+}
+
sub link {
my ($self) = @_;
my $html;
sub link {
my ($self) = @_;
my $html;
- $html =
SL::Presenter->get->purchase_invoice($self,
display => 'inline') if $self->invoice;
- $html =
SL::Presenter->get->ap_transaction($self,
display => 'inline') if !$self->invoice;
+ $html =
$self->presenter->purchase_invoice(
display => 'inline') if $self->invoice;
+ $html =
$self->presenter->ap_transaction(
display => 'inline') if !$self->invoice;
return $html;
}
return $html;
}