sub _mini_ledger {
my ($self, $transactions) = @_;
- $::auth->assert('general_ledger');
+ $::auth->assert('invoice_edit');
my $debit_sum = 0;
my $credit_sum = 0;
sub _mini_trial_balance {
my ($self, $transactions) = @_;
- $::auth->assert('general_ledger');
+ $::auth->assert('invoice_edit');
my $rec = {};
foreach my $t ( @{ $transactions } ) {
}
sub check_auth {
- $::auth->assert('general_ledger');
+ $::auth->assert('invoice_edit');
}
1;
SL::Controller::AccTrans->action_list_transactions();
The HTML blob can also be opened directly as a url:
- controller.pl?action=AccTrans/print_table&trans_id=7
+ controller.pl?action=AccTrans/list_transactions&trans_id=7
=head1 TODO