Revision 109c8728
Von Moritz Bunkus vor fast 8 Jahren hinzugefügt
SL/Controller/RequirementSpec.pm | ||
---|---|---|
53 | 53 |
sub action_list { |
54 | 54 |
my ($self) = @_; |
55 | 55 |
|
56 |
$self->_setup_search_action_bar; |
|
57 | 56 |
$self->prepare_report; |
58 |
$self->report_generator_list_objects(report => $self->{report}, objects => $self->models->get); |
|
57 |
$self->report_generator_list_objects( |
|
58 |
report => $self->{report}, |
|
59 |
objects => $self->models->get, |
|
60 |
options => { |
|
61 |
action_bar_setup_hook => sub { $self->_setup_search_action_bar(report_generator_actions => [ @_ ]) }, |
|
62 |
}, |
|
63 |
); |
|
59 | 64 |
} |
60 | 65 |
|
61 | 66 |
sub action_new { |
... | ... | |
714 | 719 |
submit => [ '#search_form', { action => 'RequirementSpec/list' } ], |
715 | 720 |
accesskey => 'enter', |
716 | 721 |
], |
722 |
|
|
723 |
'separator', |
|
724 |
|
|
725 |
@{ $params{report_generator_actions} }, |
|
726 |
|
|
717 | 727 |
link => [ |
718 | 728 |
t8('Add'), |
719 | 729 |
link => $self->url_for(action => 'new', is_template => $::form->{is_template}), |
menus/user/00-erp.yaml | ||
---|---|---|
84 | 84 |
filter.active: active |
85 | 85 |
filter.valid: valid |
86 | 86 |
- parent: master_data |
87 |
id: master_data_add_requirement_spec_template
|
|
88 |
name: Add Requirement Spec Template
|
|
87 |
id: master_data_requirement_spec_templates
|
|
88 |
name: Requirement Spec Templates
|
|
89 | 89 |
order: 700 |
90 | 90 |
access: requirement_spec_edit |
91 | 91 |
params: |
92 |
action: RequirementSpec/new
|
|
92 |
action: RequirementSpec/list
|
|
93 | 93 |
is_template: 1 |
94 | 94 |
- parent: master_data |
95 | 95 |
id: master_data_update_prices |
... | ... | |
107 | 107 |
params: |
108 | 108 |
action: PriceRule/list |
109 | 109 |
filter.obsolete: 0 |
110 |
- parent: master_data |
|
111 |
id: master_data_reports |
|
112 |
name: Reports |
|
113 |
icon: master_data_report |
|
114 |
order: 1000 |
|
115 |
- parent: master_data_reports |
|
116 |
id: master_data_reports_requirement_spec_templates |
|
117 |
name: Requirement Spec Templates |
|
118 |
order: 800 |
|
119 |
access: requirement_spec_edit |
|
120 |
params: |
|
121 |
action: RequirementSpec/list |
|
122 |
is_template: 1 |
|
123 | 110 |
- id: ar |
124 | 111 |
name: AR |
125 | 112 |
icon: ar |
Auch abrufbar als: Unified diff
Menüvereinheitlichung: »Stammdaten« → »Pflichtenheftvorlagen« umgestellt