Revision 14a0f366
Von Safwan Shakhy vor etwa 1 Jahr hinzugefügt
- ID 14a0f36664f407b7a2bb4f3e5a237b4be5eb7cab
- Vorgänger 66c4c45c
SL/Controller/BankTransaction.pm | ||
---|---|---|
55 | 55 |
|
56 | 56 |
$self->setup_search_action_bar; |
57 | 57 |
$self->render('bank_transactions/search', |
58 |
BANK_ACCOUNTS => $bank_accounts); |
|
58 |
BANK_ACCOUNTS => $bank_accounts, |
|
59 |
title => t8('Search bank transactions'), |
|
60 |
); |
|
59 | 61 |
} |
60 | 62 |
|
61 | 63 |
sub action_list_all { |
... | ... | |
955 | 957 |
} |
956 | 958 |
|
957 | 959 |
sub prepare_report { |
958 |
my ($self) = @_; |
|
960 |
my ($self) = @_;
|
|
959 | 961 |
|
960 |
my $callback = $self->models->get_callback; |
|
962 |
my $callback = $self->models->get_callback;
|
|
961 | 963 |
|
962 |
my $report = SL::ReportGenerator->new(\%::myconfig, $::form); |
|
963 |
$self->{report} = $report; |
|
964 |
my $report = SL::ReportGenerator->new(\%::myconfig, $::form); |
|
965 |
$report->{title} = t8('Bank transactions'); |
|
966 |
$self->{report} = $report; |
|
964 | 967 |
|
965 |
my @columns = qw(ids local_bank_name transdate valudate remote_name remote_account_number remote_bank_code amount invoice_amount invoices currency purpose local_account_number local_bank_code id); |
|
966 |
my @sortable = qw(local_bank_name transdate valudate remote_name remote_account_number remote_bank_code amount purpose local_account_number local_bank_code); |
|
968 |
my @columns = qw(ids local_bank_name transdate valudate remote_name remote_account_number remote_bank_code amount invoice_amount invoices currency purpose local_account_number local_bank_code id);
|
|
969 |
my @sortable = qw(local_bank_name transdate valudate remote_name remote_account_number remote_bank_code amount purpose local_account_number local_bank_code);
|
|
967 | 970 |
|
968 |
my %column_defs = ( |
|
971 |
my %column_defs = (
|
|
969 | 972 |
ids => { raw_header_data => checkbox_tag("", id => "check_all", checkall => "[data-checkall=1]"), |
970 | 973 |
'align' => 'center', |
971 | 974 |
raw_data => sub { if (@{ $_[0]->linked_invoices }) { |
Auch abrufbar als: Unified diff
Tab Titel bei fehlenden gesetzt