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 }) { |
SL/Controller/Buchungsgruppen.pm | ||
---|---|---|
34 | 34 |
} |
35 | 35 |
|
36 | 36 |
$self->setup_list_action_bar; |
37 |
$::form->{title} = t8('Booking groups'); |
|
37 | 38 |
$::form->header; |
38 | 39 |
$self->render('buchungsgruppen/list', |
39 | 40 |
title => t8('Booking groups'), |
... | ... | |
54 | 55 |
|
55 | 56 |
$self->setup_show_form_action_bar; |
56 | 57 |
$self->render('buchungsgruppen/form', %params, |
58 |
title => t8('Booking groups'), |
|
57 | 59 |
TAXZONES => SL::DB::Manager::TaxZone->get_all_sorted()); |
58 | 60 |
} |
59 | 61 |
|
SL/Controller/Chart.pm | ||
---|---|---|
87 | 87 |
|
88 | 88 |
sub action_show_report_configuration_overview { |
89 | 89 |
my ($self) = @_; |
90 |
|
|
91 | 90 |
my @all_charts = sort { $a->accno cmp $b->accno } @{ SL::DB::Manager::Chart->get_all(inject_results => 1) }; |
92 | 91 |
my @types = qw(bilanz bwa er eur); |
93 | 92 |
my %headings = ( |
... | ... | |
118 | 117 |
}; |
119 | 118 |
} |
120 | 119 |
|
121 |
$self->render('chart/report_configuration_overview', DATA => \@data); |
|
120 |
$self->render('chart/report_configuration_overview', DATA => \@data, title => t8('Chart configuration overview regarding reports'));
|
|
122 | 121 |
} |
123 | 122 |
|
124 | 123 |
sub init_charts { |
SL/Controller/ChartOfAccounts.pm | ||
---|---|---|
36 | 36 |
|
37 | 37 |
$self->report(SL::ReportGenerator->new(\%::myconfig, $::form)); |
38 | 38 |
|
39 |
$self->report->{title} = t8 ('Chart of Accounts'); |
|
39 | 40 |
my @columns = qw(accno description debit credit); |
40 | 41 |
my %column_defs = ( |
41 | 42 |
accno => { text => t8('Account') }, |
SL/Controller/CustomVariableConfig.pm | ||
---|---|---|
51 | 51 |
my $configs = SL::DB::Manager::CustomVariableConfig->get_all_sorted(where => [ module => $self->module ]); |
52 | 52 |
|
53 | 53 |
$self->setup_list_action_bar; |
54 |
$::form->{title} = t8('List of custom variables'); |
|
54 | 55 |
$::form->header; |
55 | 56 |
$self->render('custom_variable_config/list', |
56 | 57 |
title => t8('List of custom variables'), |
SL/Controller/DeliveryPlan.pm | ||
---|---|---|
51 | 51 |
|
52 | 52 |
my $vc = $self->vc; |
53 | 53 |
my $report = SL::ReportGenerator->new(\%::myconfig, $::form); |
54 |
$report->{title} = t8('Delivery Plan'); |
|
54 | 55 |
$self->{report} = $report; |
55 | 56 |
|
56 | 57 |
my @columns = qw(reqdate customer vendor ordnumber partnumber description qty shipped_qty not_shipped_qty); |
SL/Controller/DeliveryValueReport.pm | ||
---|---|---|
66 | 66 |
my $vc = $self->vc; |
67 | 67 |
my $report = SL::ReportGenerator->new(\%::myconfig, $::form); |
68 | 68 |
my $csv_option = $::form->{report_generator_output_format}; |
69 |
$report->{title} = t8('Delivery Value Report'); |
|
69 | 70 |
$self->{report} = $report; |
70 | 71 |
|
71 | 72 |
my @columns = qw(reqdate customer vendor ordnumber partnumber description unit qty netto_qty |
SL/Controller/FinancialControllingReport.pm | ||
---|---|---|
47 | 47 |
my ($self) = @_; |
48 | 48 |
|
49 | 49 |
my $report = SL::ReportGenerator->new(\%::myconfig, $::form); |
50 |
$report->{title} = t8('Financial Controlling Report'); |
|
50 | 51 |
$self->{report} = $report; |
51 | 52 |
|
52 | 53 |
my @columns = qw(customer globalprojectnumber globalproject_type transaction_description ordnumber net_amount delivered_amount delivered_amount_p billed_amount billed_amount_p paid_amount paid_amount_p |
SL/Controller/FinancialOverview.pm | ||
---|---|---|
41 | 41 |
my ($self) = @_; |
42 | 42 |
|
43 | 43 |
$self->report(SL::ReportGenerator->new(\%::myconfig, $::form)); |
44 |
|
|
44 |
$self->report->{title} =t8('Financial Overview'); |
|
45 | 45 |
my @columns = (qw(year quarter month), @{ $self->types }); |
46 | 46 |
|
47 | 47 |
$self->number_columns([ grep { !m/^(?:month|year|quarter)$/ } @columns ]); |
SL/Controller/Inventory.pm | ||
---|---|---|
868 | 868 |
my $callback = $self->stocktaking_models->get_callback; |
869 | 869 |
|
870 | 870 |
my $report = SL::ReportGenerator->new(\%::myconfig, $::form); |
871 |
$report->{title} = t8('Stocktaking Journal'); |
|
871 | 872 |
$self->{report} = $report; |
872 | 873 |
|
873 | 874 |
my @columns = qw(itime employee ean partnumber part qty unit bin chargenumber comment cutoff_date); |
SL/Controller/Letter.pm | ||
---|---|---|
362 | 362 |
my ($self) = @_; |
363 | 363 |
|
364 | 364 |
my $report = SL::ReportGenerator->new(\%::myconfig, $::form); |
365 |
$report->{title} = t8('Letters'); |
|
365 | 366 |
$self->{report} = $report; |
366 | 367 |
|
367 | 368 |
my @columns = qw(date subject letternumber customer_id vendor_id contact date); |
SL/Controller/PriceRule.pm | ||
---|---|---|
191 | 191 |
if ( $report->{options}{output_format} =~ /^(pdf|csv)$/i ) { |
192 | 192 |
$self->models->disable_plugin('paginated'); |
193 | 193 |
} |
194 |
|
|
195 |
my $title = t8('Price Rules'); |
|
196 |
$report->{title} = $title; #for browser titlebar (title-tag) |
|
197 |
|
|
194 | 198 |
$report->set_options( |
195 | 199 |
std_column_visibility => 1, |
196 | 200 |
controller_class => 'PriceRule', |
SL/Controller/Project.pm | ||
---|---|---|
305 | 305 |
my $callback = $self->models->get_callback; |
306 | 306 |
|
307 | 307 |
my $report = SL::ReportGenerator->new(\%::myconfig, $::form); |
308 |
$report->{title} = t8('Projects'); |
|
308 | 309 |
$self->{report} = $report; |
309 | 310 |
|
310 | 311 |
my @columns = qw(project_status customer projectnumber description active valid project_type); |
SL/Controller/Reclamation.pm | ||
---|---|---|
1931 | 1931 |
} |
1932 | 1932 |
|
1933 | 1933 |
sub prepare_report { |
1934 |
my ($self) = @_; |
|
1934 |
my ($self) = @_;
|
|
1935 | 1935 |
|
1936 |
my $report = SL::ReportGenerator->new(\%::myconfig, $::form); |
|
1936 |
my $report = SL::ReportGenerator->new(\%::myconfig, $::form); |
|
1937 |
$report->{title} = t8('Sales Reclamations'); |
|
1938 |
if ($self->type eq purchase_reclamation_type()){ |
|
1939 |
$report->{title} = t8('Purchase Reclamations'); |
|
1940 |
} |
|
1937 | 1941 |
|
1938 | 1942 |
$self->models->disable_plugin('paginated') if $report->{options}{output_format} =~ /^(pdf|csv)$/i; |
1939 | 1943 |
$self->models->add_additional_url_params(type => $self->type); |
SL/Controller/Reconciliation.pm | ||
---|---|---|
30 | 30 |
my ($self) = @_; |
31 | 31 |
|
32 | 32 |
$self->setup_search_action_bar; |
33 |
$self->render('reconciliation/search'); |
|
33 |
$self->render('reconciliation/search', |
|
34 |
title => t8('Reconciliation with bank'), |
|
35 |
); |
|
36 |
|
|
34 | 37 |
} |
35 | 38 |
|
36 | 39 |
sub action_reconciliation { |
... | ... | |
45 | 48 |
$self->setup_reconciliation_action_bar; |
46 | 49 |
$self->render('reconciliation/form', |
47 | 50 |
ui_tab => scalar(@{$self->{PROPOSALS}}) > 0?1:0, |
48 |
title => t8('Reconciliation')); |
|
51 |
title => t8('Reconciliation'), |
|
52 |
); |
|
49 | 53 |
} |
50 | 54 |
|
51 | 55 |
sub action_load_overview { |
SL/Controller/RequirementSpec.pm | ||
---|---|---|
478 | 478 |
} |
479 | 479 |
|
480 | 480 |
sub prepare_report { |
481 |
my ($self) = @_; |
|
482 |
|
|
483 |
my $is_template = $::form->{is_template};
|
|
484 |
my $report = SL::ReportGenerator->new(\%::myconfig, $::form);
|
|
481 |
my ($self) = @_;
|
|
482 |
my $is_template = $::form->{is_template}; |
|
483 |
my $report = SL::ReportGenerator->new(\%::myconfig, $::form);
|
|
484 |
$report->{title} = t8('Requirement Spec Templates');
|
|
485 | 485 |
|
486 | 486 |
$self->models->disable_plugin('paginated') if $report->{options}{output_format} =~ /^(pdf|csv)$/i; |
487 | 487 |
$self->models->finalize; # for filter laundering |
bin/mozilla/cp.pl | ||
---|---|---|
129 | 129 |
|
130 | 130 |
setup_cp_form_action_bar(can_post => !!$form->{rowcount}); |
131 | 131 |
|
132 |
$::form->{title} = t8('Receipt'); |
|
132 | 133 |
$form->header; |
133 | 134 |
|
134 | 135 |
$arap = lc $form->{ARAP}; |
bin/mozilla/datev.pl | ||
---|---|---|
51 | 51 |
my $stamm = SL::DATEV->new->get_datev_stamm; |
52 | 52 |
|
53 | 53 |
setup_datev_export_action_bar(); |
54 |
|
|
54 |
$::form->{title} = t8('DATEV - Export Assistent'); |
|
55 | 55 |
$::form->header; |
56 | 56 |
print $::form->parse_html_template('datev/export', $stamm); |
57 | 57 |
|
bin/mozilla/gl.pl | ||
---|---|---|
359 | 359 |
|
360 | 360 |
setup_gl_search_action_bar(); |
361 | 361 |
|
362 |
$::form->{title} = t8('Journal'); |
|
362 | 363 |
$::form->header; |
363 | 364 |
print $::form->parse_html_template('gl/search', { |
364 | 365 |
employee_label => sub { "$_[0]{id}--$_[0]{name}" }, |
bin/mozilla/rc.pl | ||
---|---|---|
51 | 51 |
|
52 | 52 |
setup_rc_reconciliation_action_bar(); |
53 | 53 |
|
54 |
$::form->{title} = t8('Reconciliation'); |
|
54 | 55 |
$::form->header; |
55 | 56 |
print $::form->parse_html_template('rc/step1', { |
56 | 57 |
selection_sub => sub { ("$_[0]{accno}--$_[0]{description}")x2 }, |
Auch abrufbar als: Unified diff
Tab Titel bei fehlenden gesetzt