Revision efbdf52c
Von Bernd Bleßmann vor mehr als 4 Jahren hinzugefügt
SL/Controller/Order.pm | ||
---|---|---|
370 | 370 |
$form->{$self->nr_key()} = $self->order->number; |
371 | 371 |
$form->{formname} = $self->type; |
372 | 372 |
$form->{type} = $self->type; |
373 |
$form->{language} = 'de'; |
|
373 |
$form->{language} = '_' . $self->order->language->template_code if $self->order->language; |
|
374 |
$form->{language_id} = $self->order->language->id if $self->order->language; |
|
374 | 375 |
$form->{format} = 'pdf'; |
375 | 376 |
|
376 | 377 |
$email_form->{subject} = $form->generate_email_subject(); |
js/kivi.Order.js | ||
---|---|---|
94 | 94 |
if (!ns.check_cv()) return; |
95 | 95 |
|
96 | 96 |
var data = $('#order_form').serializeArray(); |
97 |
data.push({ name: 'order.language_id', value: $('#language_id').val() }); // language from print options |
|
97 | 98 |
data.push({ name: 'action', value: 'Order/show_email_dialog' }); |
98 | 99 |
|
99 | 100 |
$.post("controller.pl", data, kivi.eval_json_result); |
Auch abrufbar als: Unified diff
Auftrags-Controller: Sprache f. Überstzung im E-Mail-Dialog verwenden