Revision 0aa885f4
Von Sven Schöling vor etwa 7 Jahren hinzugefügt
SL/DB/Invoice.pm | ||
---|---|---|
578 | 578 |
my ($self) = @_; |
579 | 579 |
|
580 | 580 |
my $html; |
581 |
$html = SL::Presenter->get->sales_invoice($self, display => 'inline') if $self->invoice;
|
|
582 |
$html = SL::Presenter->get->ar_transaction($self, display => 'inline') if !$self->invoice;
|
|
581 |
$html = $self->presenter->sales_invoice(display => 'inline') if $self->invoice;
|
|
582 |
$html = $self->presenter->ar_transaction(display => 'inline') if !$self->invoice;
|
|
583 | 583 |
|
584 | 584 |
return $html; |
585 | 585 |
} |
Auch abrufbar als: Unified diff
Presenter: Neue Struktur in Belegen umgesetzt