Revision eae950d7
Von Kivitendo Admin vor fast 8 Jahren hinzugefügt
SL/DB/PurchaseInvoice.pm | ||
---|---|---|
102 | 102 |
sub link { |
103 | 103 |
my ($self) = @_; |
104 | 104 |
|
105 |
my $html; |
|
106 |
$html = SL::Presenter->get->purchase_invoice($self, display => 'inline') if $self->invoice; |
|
107 |
$html = SL::Presenter->get->ap_transaction($self, display => 'inline') if !$self->invoice; |
|
108 |
|
|
109 |
return $html; |
|
105 |
return SL::Presenter->get->invoice($self, display => 'inline'); |
|
110 | 106 |
} |
111 | 107 |
|
112 | 108 |
sub invoice_type { |
Auch abrufbar als: Unified diff
Refactoring von link-Methode in FiBu-Belegen
wird die Method überhaupt irgendwo genutzt?