Revision 7ebffd0d
Von Moritz Bunkus vor fast 8 Jahren hinzugefügt
bin/mozilla/oe.pl | ||
---|---|---|
441 | 441 |
submit => [ '#form' ], |
442 | 442 |
accesskey => 'enter', |
443 | 443 |
], |
444 |
|
|
445 |
'separator', |
|
446 |
|
|
447 |
link => [ |
|
448 |
t8('Add'), |
|
449 |
link => 'oe.pl?action=add&type=' . E($::form->{type}), |
|
450 |
], |
|
444 | 451 |
); |
445 | 452 |
} |
446 | 453 |
} |
... | ... | |
448 | 455 |
sub setup_oe_orders_action_bar { |
449 | 456 |
my %params = @_; |
450 | 457 |
|
451 |
return unless $::form->{type} eq 'sales_order'; |
|
452 |
|
|
453 | 458 |
for my $bar ($::request->layout->get('actionbar')) { |
454 | 459 |
$bar->add( |
455 |
action => [ |
|
456 |
t8('New sales order'), |
|
457 |
submit => [ '#form', { action => 'edit' } ], |
|
458 |
checks => [ [ 'kivi.check_if_entries_selected', '[name^=multi_id_]' ] ], |
|
459 |
accesskey => 'enter', |
|
460 |
], |
|
460 |
@{ $params{report_generator_actions} }, |
|
461 |
|
|
462 |
'separator', |
|
463 |
|
|
464 |
combobox => [ |
|
465 |
link => [ |
|
466 |
t8('Add'), |
|
467 |
link => 'oe.pl?action=add&type=' . E($::form->{type}), |
|
468 |
], |
|
469 |
|
|
470 |
action => [ |
|
471 |
t8('Merge selected entries into new order'), |
|
472 |
submit => [ '#form', { action => 'edit' } ], |
|
473 |
checks => [ [ 'kivi.check_if_entries_selected', '[name^=multi_id_]' ] ], |
|
474 |
only_if => $::form->{type} eq 'sales_order', |
|
475 |
], |
|
476 |
], # end of combobox "add" |
|
461 | 477 |
); |
462 | 478 |
} |
463 | 479 |
} |
... | ... | |
1266 | 1282 |
$report->add_separator(); |
1267 | 1283 |
$report->add_data(create_subtotal_row(\%totals, \@columns, \%column_alignment, \@subtotal_columns, 'listtotal')); |
1268 | 1284 |
|
1269 |
setup_oe_orders_action_bar(); |
|
1270 |
$report->generate_with_headers(); |
|
1285 |
$report->generate_with_headers(action_bar_setup_hook => sub { setup_oe_orders_action_bar(report_generator_actions => \@_) }); |
|
1271 | 1286 |
|
1272 | 1287 |
$main::lxdebug->leave_sub(); |
1273 | 1288 |
} |
locale/de/all | ||
---|---|---|
168 | 168 |
'Add Part' => 'Ware erfassen', |
169 | 169 |
'Add Price Factor' => 'Preisfaktor erfassen', |
170 | 170 |
'Add Printer' => 'Drucker hinzufügen', |
171 |
'Add Project' => 'Projekt erfassen', |
|
172 | 171 |
'Add Purchase Delivery Order' => 'Lieferschein (Einkauf) erfassen', |
173 | 172 |
'Add Purchase Order' => 'Lieferantenauftrag erfassen', |
174 | 173 |
'Add Purchase Order (experimental)' => 'Lieferantenauftrag erfassen (experimentell)', |
175 | 174 |
'Add Quotation' => 'Angebot erfassen', |
176 | 175 |
'Add RFQ' => 'Preisanfrage erfassen', |
177 | 176 |
'Add Request for Quotation' => 'Anfrage erfassen', |
178 |
'Add Requirement Spec' => 'Pflichtenheft erfassen', |
|
179 |
'Add Requirement Spec Template' => 'Pflichtenheftvorlage erfassen', |
|
180 | 177 |
'Add Sales Delivery Order' => 'Lieferschein (Verkauf) erfassen', |
181 | 178 |
'Add Sales Invoice' => 'Rechnung erfassen', |
182 | 179 |
'Add Sales Order' => 'Auftrag erfassen', |
... | ... | |
1772 | 1769 |
'Memo' => 'Memo', |
1773 | 1770 |
'Merchandise' => 'Handelsware', |
1774 | 1771 |
'Merchandise (typeabbreviation)' => 'H', |
1772 |
'Merge selected entries into new order' => 'Ausgewählte Einträge zu neuem Auftrag zusammenfassen', |
|
1775 | 1773 |
'Message' => 'Nachricht', |
1776 | 1774 |
'Method' => 'Verfahren', |
1777 | 1775 |
'Microfiche' => 'Mikrofilm', |
... | ... | |
1835 | 1833 |
'New row, description' => 'Neue Zeile, Artikelbeschreibung', |
1836 | 1834 |
'New row, partnumber' => 'Neue Zeile, Nummer', |
1837 | 1835 |
'New row, qty' => 'Neue Zeile, Menge', |
1838 |
'New sales order' => 'Neuer Auftrag', |
|
1839 | 1836 |
'New shipto' => 'Neue Lieferadresse', |
1840 | 1837 |
'New window/tab' => 'Neues Fenster/Tab', |
1841 | 1838 |
'Next Dunning Level' => 'Nächste Mahnstufe', |
menus/user/00-erp.yaml | ||
---|---|---|
119 | 119 |
params: |
120 | 120 |
action: RequirementSpec/list |
121 | 121 |
- parent: ar |
122 |
id: ar_add_quotation
|
|
123 |
name: Add Quotation
|
|
124 |
icon: quotation_add
|
|
122 |
id: ar_quotations
|
|
123 |
name: Quotations
|
|
124 |
icon: report_quotations
|
|
125 | 125 |
order: 200 |
126 | 126 |
access: sales_quotation_edit |
127 | 127 |
module: oe.pl |
128 | 128 |
params: |
129 |
action: add
|
|
129 |
action: search
|
|
130 | 130 |
type: sales_quotation |
131 | 131 |
- parent: ar |
132 |
id: ar_add_sales_order
|
|
133 |
name: Add Sales Order
|
|
134 |
icon: sales_order_add
|
|
132 |
id: ar_sales_orders
|
|
133 |
name: Sales Orders
|
|
134 |
icon: report_sales_orders
|
|
135 | 135 |
order: 300 |
136 | 136 |
access: sales_order_edit |
137 | 137 |
module: oe.pl |
138 | 138 |
params: |
139 |
action: add
|
|
139 |
action: search
|
|
140 | 140 |
type: sales_order |
141 | 141 |
- parent: ar |
142 | 142 |
id: ar_add_delivery_order |
... | ... | |
203 | 203 |
name: Reports |
204 | 204 |
icon: ar_report |
205 | 205 |
order: 900 |
206 |
- parent: ar_reports |
|
207 |
id: ar_reports_quotations |
|
208 |
name: Quotations |
|
209 |
icon: report_quotations |
|
210 |
order: 200 |
|
211 |
access: sales_quotation_edit |
|
212 |
module: oe.pl |
|
213 |
params: |
|
214 |
action: search |
|
215 |
type: sales_quotation |
|
216 |
- parent: ar_reports |
|
217 |
id: ar_reports_sales_orders |
|
218 |
name: Sales Orders |
|
219 |
icon: report_sales_orders |
|
220 |
order: 300 |
|
221 |
access: sales_order_edit |
|
222 |
module: oe.pl |
|
223 |
params: |
|
224 |
action: search |
|
225 |
type: sales_order |
|
226 | 206 |
- parent: ar_reports |
227 | 207 |
id: ar_reports_delivery_orders |
228 | 208 |
name: Delivery Orders |
Auch abrufbar als: Unified diff
Menüvereinheitlichung: »Verkauf« → »Angebote/Aufträge« umgestellt