Revision 0aa885f4
Von Sven Schöling vor etwa 7 Jahren hinzugefügt
SL/DB/PurchaseInvoice.pm | ||
---|---|---|
99 | 99 |
my ($self) = @_; |
100 | 100 |
|
101 | 101 |
my $html; |
102 |
$html = SL::Presenter->get->purchase_invoice($self, display => 'inline') if $self->invoice;
|
|
103 |
$html = SL::Presenter->get->ap_transaction($self, display => 'inline') if !$self->invoice;
|
|
102 |
$html = $self->presenter->purchase_invoice(display => 'inline') if $self->invoice;
|
|
103 |
$html = $self->presenter->ap_transaction(display => 'inline') if !$self->invoice;
|
|
104 | 104 |
|
105 | 105 |
return $html; |
106 | 106 |
} |
Auch abrufbar als: Unified diff
Presenter: Neue Struktur in Belegen umgesetzt