Revision ec92748b
Von Tamino Steinert vor mehr als 1 Jahr hinzugefügt
| SL/Presenter/ALL.pm | ||
|---|---|---|
|
use SL::Presenter::Text;
|
||
|
use SL::Presenter::Tag;
|
||
|
use SL::Presenter::BankAccount;
|
||
|
use SL::Presenter::BankTransaction;
|
||
|
use SL::Presenter::MaterialComponents;
|
||
|
|
||
|
our %presenters = (
|
||
| ... | ... | |
|
text => 'SL::Presenter::Text',
|
||
|
tag => 'SL::Presenter::Tag',
|
||
|
bank_account => 'SL::Presenter::BankAccount',
|
||
|
bank_transaction => 'SL::Presenter::BankTransaction',
|
||
|
M => 'SL::Presenter::MaterialComponents',
|
||
|
);
|
||
|
|
||
| SL/Presenter/BankTransaction.pm | ||
|---|---|---|
|
|
||
|
my $object = SL::DB::Manager::BankTransaction->get_first();
|
||
|
my $html = SL::Presenter::BankTransaction::bank_transaction($object);
|
||
|
# or
|
||
|
my $html = $object->presenter->show();
|
||
|
|
||
|
=head1 FUNCTIONS
|
||
|
|
||
Auch abrufbar als: Unified diff
fix BankTransaction