Revision 36d7ceb2
Von Tamino Steinert vor mehr als 1 Jahr hinzugefügt
SL/Presenter/Invoice.pm | ||
---|---|---|
use SL::Presenter::Tag qw(link_tag);
|
||
|
||
use Exporter qw(import);
|
||
our @EXPORT_OK = qw(invoice sales_invoice ar_transaction purchase_invoice ap_transaction);
|
||
our @EXPORT_OK = qw(show invoice sales_invoice ar_transaction purchase_invoice ap_transaction);
|
||
|
||
use Carp;
|
||
|
||
sub show {goto &invoice};
|
||
|
||
sub invoice {
|
||
my ($invoice, %params) = @_;
|
||
|
||
... | ... | |
|
||
# use with any of the above ar/ap/is/ir types:
|
||
my $html = SL::Presenter::Invoice::invoice($object, display => 'inline');
|
||
my $html = $object->presenter->show();
|
||
|
||
=head1 FUNCTIONS
|
||
|
||
=over 4
|
||
|
||
=item C<show $object>
|
||
|
||
Alias for C<invoice $object %params>.
|
||
|
||
=item C<invoice $object, %params>
|
||
|
||
Returns a rendered version (actually an instance of
|
Auch abrufbar als: Unified diff
S:Presenter:Record: Alias Funktion "show" in verwendeten Objekten