Revision ec92748b
Von Tamino Steinert vor etwa 1 Jahr hinzugefügt
SL/Presenter/ALL.pm | ||
---|---|---|
25 | 25 |
use SL::Presenter::Text; |
26 | 26 |
use SL::Presenter::Tag; |
27 | 27 |
use SL::Presenter::BankAccount; |
28 |
use SL::Presenter::BankTransaction; |
|
28 | 29 |
use SL::Presenter::MaterialComponents; |
29 | 30 |
|
30 | 31 |
our %presenters = ( |
... | ... | |
51 | 52 |
text => 'SL::Presenter::Text', |
52 | 53 |
tag => 'SL::Presenter::Tag', |
53 | 54 |
bank_account => 'SL::Presenter::BankAccount', |
55 |
bank_transaction => 'SL::Presenter::BankTransaction', |
|
54 | 56 |
M => 'SL::Presenter::MaterialComponents', |
55 | 57 |
); |
56 | 58 |
|
SL/Presenter/BankTransaction.pm | ||
---|---|---|
46 | 46 |
|
47 | 47 |
my $object = SL::DB::Manager::BankTransaction->get_first(); |
48 | 48 |
my $html = SL::Presenter::BankTransaction::bank_transaction($object); |
49 |
# or |
|
50 |
my $html = $object->presenter->show(); |
|
49 | 51 |
|
50 | 52 |
=head1 FUNCTIONS |
51 | 53 |
|
Auch abrufbar als: Unified diff
fix BankTransaction