Revision fc8ad1a3
Von Moritz Bunkus vor mehr als 16 Jahren hinzugefügt
bin/mozilla/do.pl | ||
---|---|---|
409 | 409 |
|
410 | 410 |
($form->{ $form->{vc} }, $form->{"${form->{vc}}_id"}) = split(/--/, $form->{ $form->{vc} }); |
411 | 411 |
|
412 |
$form->{sort} ||= 'transdate'; |
|
413 |
$form->{sortdir} = 1 unless (defined $form->{sortdir}); |
|
414 |
$form->{sortdir} = $form->{sortdir} ? 1 : 0; |
|
412 |
report_generator_set_default_sort('transdate', 1); |
|
415 | 413 |
|
416 | 414 |
DO->transactions(); |
417 | 415 |
|
bin/mozilla/oe.pl | ||
---|---|---|
888 | 888 |
|
889 | 889 |
($form->{ $form->{vc} }, $form->{"${form->{vc}}_id"}) = split(/--/, $form->{ $form->{vc} }); |
890 | 890 |
|
891 |
$form->{sort} ||= 'transdate'; |
|
892 |
$form->{sortdir} = 1 unless (defined $form->{sortdir}); |
|
893 |
$form->{sortdir} = $form->{sortdir} ? 1 : 0; |
|
891 |
report_generator_set_default_sort('transdate', 1); |
|
894 | 892 |
|
895 | 893 |
OE->transactions(\%myconfig, \%$form); |
896 | 894 |
|
bin/mozilla/reportgenerator.pl | ||
---|---|---|
16 | 16 |
use SL::MoreCommon; |
17 | 17 |
use SL::ReportGenerator; |
18 | 18 |
|
19 |
sub report_generator_set_default_sort { |
|
20 |
$lxdebug->enter_sub(); |
|
21 |
|
|
22 |
my $default_sortorder = shift; |
|
23 |
my $default_sortdir = shift; |
|
24 |
|
|
25 |
$form->{sort} ||= $default_sortorder; |
|
26 |
$form->{sortdir} = $default_sortdir unless (defined $form->{sortdir}); |
|
27 |
$form->{sortdir} = $form->{sortdir} ? 1 : 0; |
|
28 |
|
|
29 |
$lxdebug->leave_sub(); |
|
30 |
} |
|
31 |
|
|
32 |
|
|
19 | 33 |
sub report_generator_export_as_pdf { |
20 | 34 |
$lxdebug->enter_sub(); |
21 | 35 |
|
locale/de/ap | ||
---|---|---|
311 | 311 |
'report_generator_do' => 'report_generator_do', |
312 | 312 |
'report_generator_export_as_csv' => 'report_generator_export_as_csv', |
313 | 313 |
'report_generator_export_as_pdf' => 'report_generator_export_as_pdf', |
314 |
'report_generator_set_default_sort' => 'report_generator_set_default_sort', |
|
314 | 315 |
'retrieve_partunits' => 'retrieve_partunits', |
315 | 316 |
'save_draft' => 'save_draft', |
316 | 317 |
'search' => 'search', |
locale/de/ar | ||
---|---|---|
322 | 322 |
'report_generator_do' => 'report_generator_do', |
323 | 323 |
'report_generator_export_as_csv' => 'report_generator_export_as_csv', |
324 | 324 |
'report_generator_export_as_pdf' => 'report_generator_export_as_pdf', |
325 |
'report_generator_set_default_sort' => 'report_generator_set_default_sort', |
|
325 | 326 |
'retrieve_partunits' => 'retrieve_partunits', |
326 | 327 |
'save_draft' => 'save_draft', |
327 | 328 |
'search' => 'search', |
locale/de/ca | ||
---|---|---|
175 | 175 |
'report_generator_do' => 'report_generator_do', |
176 | 176 |
'report_generator_export_as_csv' => 'report_generator_export_as_csv', |
177 | 177 |
'report_generator_export_as_pdf' => 'report_generator_export_as_pdf', |
178 |
'report_generator_set_default_sort' => 'report_generator_set_default_sort', |
|
178 | 179 |
'weiter' => 'continue', |
179 | 180 |
'buchungsliste' => 'list_transactions', |
180 | 181 |
}; |
locale/de/ct | ||
---|---|---|
215 | 215 |
'report_generator_do' => 'report_generator_do', |
216 | 216 |
'report_generator_export_as_csv' => 'report_generator_export_as_csv', |
217 | 217 |
'report_generator_export_as_pdf' => 'report_generator_export_as_pdf', |
218 |
'report_generator_set_default_sort' => 'report_generator_set_default_sort', |
|
218 | 219 |
'retrieve_partunits' => 'retrieve_partunits', |
219 | 220 |
'save' => 'save', |
220 | 221 |
'save_and_ap_transaction' => 'save_and_ap_transaction', |
locale/de/dn | ||
---|---|---|
318 | 318 |
'report_generator_do' => 'report_generator_do', |
319 | 319 |
'report_generator_export_as_csv' => 'report_generator_export_as_csv', |
320 | 320 |
'report_generator_export_as_pdf' => 'report_generator_export_as_pdf', |
321 |
'report_generator_set_default_sort' => 'report_generator_set_default_sort', |
|
321 | 322 |
'request_for_quotation' => 'request_for_quotation', |
322 | 323 |
'retrieve_partunits' => 'retrieve_partunits', |
323 | 324 |
'save' => 'save', |
locale/de/do | ||
---|---|---|
361 | 361 |
'report_generator_do' => 'report_generator_do', |
362 | 362 |
'report_generator_export_as_csv' => 'report_generator_export_as_csv', |
363 | 363 |
'report_generator_export_as_pdf' => 'report_generator_export_as_pdf', |
364 |
'report_generator_set_default_sort' => 'report_generator_set_default_sort', |
|
364 | 365 |
'request_for_quotation' => 'request_for_quotation', |
365 | 366 |
'retrieve_partunits' => 'retrieve_partunits', |
366 | 367 |
'save' => 'save', |
locale/de/fu | ||
---|---|---|
161 | 161 |
'report_generator_do' => 'report_generator_do', |
162 | 162 |
'report_generator_export_as_csv' => 'report_generator_export_as_csv', |
163 | 163 |
'report_generator_export_as_pdf' => 'report_generator_export_as_pdf', |
164 |
'report_generator_set_default_sort' => 'report_generator_set_default_sort', |
|
164 | 165 |
'save' => 'save', |
165 | 166 |
'save_access_rights' => 'save_access_rights', |
166 | 167 |
'save_follow_up' => 'save_follow_up', |
locale/de/gl | ||
---|---|---|
284 | 284 |
'report_generator_do' => 'report_generator_do', |
285 | 285 |
'report_generator_export_as_csv' => 'report_generator_export_as_csv', |
286 | 286 |
'report_generator_export_as_pdf' => 'report_generator_export_as_pdf', |
287 |
'report_generator_set_default_sort' => 'report_generator_set_default_sort', |
|
287 | 288 |
'retrieve_partunits' => 'retrieve_partunits', |
288 | 289 |
'search' => 'search', |
289 | 290 |
'select_part' => 'select_part', |
locale/de/ic | ||
---|---|---|
386 | 386 |
'report_generator_do' => 'report_generator_do', |
387 | 387 |
'report_generator_export_as_csv' => 'report_generator_export_as_csv', |
388 | 388 |
'report_generator_export_as_pdf' => 'report_generator_export_as_pdf', |
389 |
'report_generator_set_default_sort' => 'report_generator_set_default_sort', |
|
389 | 390 |
'request_for_quotation' => 'request_for_quotation', |
390 | 391 |
'retrieve_partunits' => 'retrieve_partunits', |
391 | 392 |
'save' => 'save', |
locale/de/login | ||
---|---|---|
469 | 469 |
'report_generator_do' => 'report_generator_do', |
470 | 470 |
'report_generator_export_as_csv' => 'report_generator_export_as_csv', |
471 | 471 |
'report_generator_export_as_pdf' => 'report_generator_export_as_pdf', |
472 |
'report_generator_set_default_sort' => 'report_generator_set_default_sort', |
|
472 | 473 |
'request_for_quotation' => 'request_for_quotation', |
473 | 474 |
'retrieve_partunits' => 'retrieve_partunits', |
474 | 475 |
'sales_order' => 'sales_order', |
locale/de/oe | ||
---|---|---|
426 | 426 |
'report_generator_do' => 'report_generator_do', |
427 | 427 |
'report_generator_export_as_csv' => 'report_generator_export_as_csv', |
428 | 428 |
'report_generator_export_as_pdf' => 'report_generator_export_as_pdf', |
429 |
'report_generator_set_default_sort' => 'report_generator_set_default_sort', |
|
429 | 430 |
'request_for_quotation' => 'request_for_quotation', |
430 | 431 |
'retrieve_partunits' => 'retrieve_partunits', |
431 | 432 |
'sales_order' => 'sales_order', |
locale/de/projects | ||
---|---|---|
181 | 181 |
'report_generator_do' => 'report_generator_do', |
182 | 182 |
'report_generator_export_as_csv' => 'report_generator_export_as_csv', |
183 | 183 |
'report_generator_export_as_pdf' => 'report_generator_export_as_pdf', |
184 |
'report_generator_set_default_sort' => 'report_generator_set_default_sort', |
|
184 | 185 |
'retrieve_partunits' => 'retrieve_partunits', |
185 | 186 |
'save' => 'save', |
186 | 187 |
'save_as_new' => 'save_as_new', |
locale/de/reportgenerator | ||
---|---|---|
112 | 112 |
'report_generator_do' => 'report_generator_do', |
113 | 113 |
'report_generator_export_as_csv' => 'report_generator_export_as_csv', |
114 | 114 |
'report_generator_export_as_pdf' => 'report_generator_export_as_pdf', |
115 |
'report_generator_set_default_sort' => 'report_generator_set_default_sort', |
|
115 | 116 |
'weiter' => 'continue', |
116 | 117 |
}; |
117 | 118 |
|
locale/de/rp | ||
---|---|---|
307 | 307 |
'report_generator_do' => 'report_generator_do', |
308 | 308 |
'report_generator_export_as_csv' => 'report_generator_export_as_csv', |
309 | 309 |
'report_generator_export_as_pdf' => 'report_generator_export_as_pdf', |
310 |
'report_generator_set_default_sort' => 'report_generator_set_default_sort', |
|
310 | 311 |
'retrieve_partunits' => 'retrieve_partunits', |
311 | 312 |
'select_all' => 'select_all', |
312 | 313 |
'select_name' => 'select_name', |
locale/de/todo | ||
---|---|---|
458 | 458 |
'report_generator_do' => 'report_generator_do', |
459 | 459 |
'report_generator_export_as_csv' => 'report_generator_export_as_csv', |
460 | 460 |
'report_generator_export_as_pdf' => 'report_generator_export_as_pdf', |
461 |
'report_generator_set_default_sort' => 'report_generator_set_default_sort', |
|
461 | 462 |
'request_for_quotation' => 'request_for_quotation', |
462 | 463 |
'retrieve_partunits' => 'retrieve_partunits', |
463 | 464 |
'sales_order' => 'sales_order', |
locale/de/wh | ||
---|---|---|
228 | 228 |
'report_generator_do' => 'report_generator_do', |
229 | 229 |
'report_generator_export_as_csv' => 'report_generator_export_as_csv', |
230 | 230 |
'report_generator_export_as_pdf' => 'report_generator_export_as_pdf', |
231 |
'report_generator_set_default_sort' => 'report_generator_set_default_sort', |
|
231 | 232 |
'retrieve_partunits' => 'retrieve_partunits', |
232 | 233 |
'select_part' => 'select_part', |
233 | 234 |
'select_part_internal' => 'select_part_internal', |
Auch abrufbar als: Unified diff
Auslagerung gemeinsamen Codes.