Revision eae950d7
Von Kivitendo Admin vor fast 8 Jahren hinzugefügt
SL/DB/Invoice.pm | ||
---|---|---|
581 | 581 |
sub link { |
582 | 582 |
my ($self) = @_; |
583 | 583 |
|
584 |
my $html; |
|
585 |
$html = SL::Presenter->get->sales_invoice($self, display => 'inline') if $self->invoice; |
|
586 |
$html = SL::Presenter->get->ar_transaction($self, display => 'inline') if !$self->invoice; |
|
587 |
|
|
588 |
return $html; |
|
584 |
return SL::Presenter->get->invoice($self, display => 'inline'); |
|
589 | 585 |
} |
590 | 586 |
|
591 | 587 |
sub mark_as_paid { |
Auch abrufbar als: Unified diff
Refactoring von link-Methode in FiBu-Belegen
wird die Method überhaupt irgendwo genutzt?