Revision 17c2f7bd
Von Bernd Bleßmann vor etwa 4 Jahren hinzugefügt
SL/Controller/Order.pm | ||
---|---|---|
376 | 376 |
|
377 | 377 |
my $form = Form->new; |
378 | 378 |
$form->{$self->nr_key()} = $self->order->number; |
379 |
$form->{cusordnumber} = $self->order->cusordnumber; |
|
379 | 380 |
$form->{formname} = $self->type; |
380 | 381 |
$form->{type} = $self->type; |
381 | 382 |
$form->{language} = '_' . $self->order->language->template_code if $self->order->language; |
382 | 383 |
$form->{language_id} = $self->order->language->id if $self->order->language; |
383 |
$form->{cusordnumber} = $self->order->cusordnumber; |
|
384 | 384 |
$form->{format} = 'pdf'; |
385 | 385 |
|
386 | 386 |
$email_form->{subject} = $form->generate_email_subject(); |
SL/Form.pm | ||
---|---|---|
1270 | 1270 |
return $formname_translations{$formname}; |
1271 | 1271 |
} |
1272 | 1272 |
|
1273 |
sub get_cusordnumber_translation { |
|
1274 |
$main::lxdebug->enter_sub(); |
|
1275 |
my ($self, $formname) = @_; |
|
1276 |
|
|
1277 |
$formname ||= $self->{formname}; |
|
1278 |
|
|
1279 |
$self->{recipient_locale} ||= Locale->lang_to_locale($self->{language}); |
|
1280 |
local $::locale = Locale->new($self->{recipient_locale}); |
|
1281 |
|
|
1282 |
|
|
1283 |
$main::lxdebug->leave_sub(); |
|
1284 |
return $main::locale->text('Your Order'); |
|
1285 |
} |
|
1286 |
|
|
1273 | 1287 |
sub get_number_prefix_for_type { |
1274 | 1288 |
$main::lxdebug->enter_sub(); |
1275 | 1289 |
my ($self) = @_; |
... | ... | |
1345 | 1359 |
$subject .= " " . $self->{"${prefix}number"} |
1346 | 1360 |
} |
1347 | 1361 |
|
1362 |
if ($self->{cusordnumber}) { |
|
1363 |
$subject = $self->get_cusordnumber_translation() . ' ' . $self->{cusordnumber} . ' / ' . $subject; |
|
1364 |
} |
|
1365 |
|
|
1348 | 1366 |
$main::lxdebug->leave_sub(); |
1349 | 1367 |
return $subject; |
1350 | 1368 |
} |
js/kivi.SalesPurchase.js | ||
---|---|---|
280 | 280 |
language_id: $('#language_id').val(), |
281 | 281 |
media: 'email', |
282 | 282 |
ordnumber: $('#ordnumber').val(), |
283 |
cusordnumber: $('#cusordnumber').val(), |
|
283 | 284 |
rowcount: $('#rowcount').val(), |
284 | 285 |
quonumber: $('#quonumber').val(), |
285 | 286 |
type: $('#type').val(), |
locale/de/all | ||
---|---|---|
4045 | 4045 |
'You should create a backup of the database before proceeding because the backup might not be reversible.' => 'Sie sollten eine Sicherungskopie der Datenbank erstellen, bevor Sie fortfahren, da die Aktualisierung unter Umständen nicht umkehrbar ist.', |
4046 | 4046 |
'You\'re not editing a file.' => 'Sie bearbeiten momentan keine Datei.', |
4047 | 4047 |
'You\'ve already chosen the following limitations:' => 'Sie haben bereits die folgenden Einschränkungen vorgenommen:', |
4048 |
'Your Order' => 'Ihre Bestellung', |
|
4048 | 4049 |
'Your PostgreSQL installationen does not use Unicode as its encoding. This is not supported anymore.' => 'Ihre PostgreSQL-Installation benutzt ein anderes Encoding als Unicode. Dies wird nicht mehr unterstützt.', |
4049 | 4050 |
'Your Reference' => 'Ihr Zeichen', |
4050 | 4051 |
'Your TODO list' => 'Ihre Aufgabenliste', |
locale/en/all | ||
---|---|---|
4044 | 4044 |
'You should create a backup of the database before proceeding because the backup might not be reversible.' => '', |
4045 | 4045 |
'You\'re not editing a file.' => '', |
4046 | 4046 |
'You\'ve already chosen the following limitations:' => '', |
4047 |
'Your Order' => '', |
|
4047 | 4048 |
'Your PostgreSQL installationen does not use Unicode as its encoding. This is not supported anymore.' => '', |
4048 | 4049 |
'Your Reference' => '', |
4049 | 4050 |
'Your TODO list' => '', |
Auch abrufbar als: Unified diff
E-Mail Betreff auch mit Kundenbestellnummer vorbelegen.