Revision fc35d1dd
Von Kivitendo Admin vor mehr als 9 Jahren hinzugefügt
SL/Presenter/Invoice.pm | ||
---|---|---|
5 | 5 |
use parent qw(Exporter); |
6 | 6 |
|
7 | 7 |
use Exporter qw(import); |
8 |
our @EXPORT = qw(invoice sales_invoice ar_transaction purchase_invoice ap_transaction gl_transaction);
|
|
8 |
our @EXPORT = qw(invoice sales_invoice ar_transaction purchase_invoice ap_transaction); |
|
9 | 9 |
|
10 | 10 |
use Carp; |
11 | 11 |
|
... | ... | |
51 | 51 |
return _is_ir_record($self, $invoice, 'ap', %params); |
52 | 52 |
} |
53 | 53 |
|
54 |
sub gl_transaction { |
|
55 |
my ($self, $invoice, %params) = @_; |
|
56 |
|
|
57 |
return _is_ir_record($self, $invoice, 'gl', %params); |
|
58 |
} |
|
59 |
|
|
60 | 54 |
sub _is_ir_record { |
61 | 55 |
my ($self, $invoice, $controller, %params) = @_; |
62 | 56 |
|
Auch abrufbar als: Unified diff
Presenter Code - gl_transaction aus invoice wieder entfernt