Revision 2e0c8941
Von Bernd Bleßmann vor fast 11 Jahren hinzugefügt
SL/DN.pm | ||
---|---|---|
327 | 327 |
|
328 | 328 |
$form->{DUNNING_PDFS_EMAIL} = []; |
329 | 329 |
|
330 |
$form->{dunning_id} = $dunning_id; |
|
331 |
|
|
330 | 332 |
$self->create_invoice_for_fees($myconfig, $form, $dbh, $dunning_id); |
331 | 333 |
|
332 | 334 |
$self->print_invoice_for_fees($myconfig, $form, $dunning_id, $dbh); |
333 | 335 |
$self->print_dunning($myconfig, $form, $dunning_id, $dbh); |
334 | 336 |
|
335 |
$form->{dunning_id} = $dunning_id; |
|
336 | 337 |
|
337 | 338 |
if ($send_email) { |
338 | 339 |
$self->send_email($myconfig, $form, $dunning_id, $dbh); |
bin/mozilla/dn.pl | ||
---|---|---|
251 | 251 |
|
252 | 252 |
$form->{language_id} = $saved_language_id; |
253 | 253 |
|
254 |
if($form->{DUNNING_PDFS}) { |
|
254 |
if (scalar @{ $form->{DUNNING_PDFS} }) { |
|
255 |
$form->{dunning_id} = strftime("%Y%m%d", localtime time) if scalar @{ $form->{DUNNING_PDFS}} > 1; |
|
255 | 256 |
DN->melt_pdfs(\%myconfig, $form, $form->{copies}); |
256 | 257 |
} |
257 | 258 |
|
... | ... | |
498 | 499 |
if (!$form->{force_lang}) { |
499 | 500 |
$form->{language_id} = $language_ids[$i]; |
500 | 501 |
} |
502 |
$form->{dunning_id} = $dunning_id; |
|
501 | 503 |
DN->print_invoice_for_fees(\%myconfig, $form, $dunning_id); |
502 | 504 |
DN->print_dunning(\%myconfig, $form, $dunning_id); |
503 | 505 |
$i++; |
... | ... | |
505 | 507 |
$form->{language_id} = $saved_language_id; |
506 | 508 |
|
507 | 509 |
if (scalar @{ $form->{DUNNING_PDFS} }) { |
508 |
$form->{dunning_id} = strftime("%Y%m%d", localtime time); |
|
510 |
$form->{dunning_id} = strftime("%Y%m%d", localtime time) if scalar @{ $form->{DUNNING_PDFS}} > 1;
|
|
509 | 511 |
DN->melt_pdfs(\%myconfig, $form, $form->{copies}); |
510 | 512 |
|
511 | 513 |
if ($form->{media} eq 'printer') { |
Auch abrufbar als: Unified diff
Mahnungsnummern in den Druckvorlagen immer verfügbar machen.
Zudem wird dir Mahnungsnummer dem Dateinnamen für den Download angehängt,
sofern nur eine Mahnung gedruckt wird. Werden mehrere Mahnungen gedruckt,
wird auch beim Erzeugen der Mahnungen das aktuelle Datum angehängt.
Behebt #2398.