Revision 142628e0
Von Moritz Bunkus vor fast 11 Jahren hinzugefügt
SL/Form.pm | ||
---|---|---|
3465 | 3465 |
$self->reformat_numbers($output_numberformat, $precision, @{ $field_list }); |
3466 | 3466 |
} |
3467 | 3467 |
|
3468 |
$self->{template_meta} = { |
|
3469 |
formname => $self->{formname}, |
|
3470 |
language => SL::DB::Manager::Language->find_by_or_create(id => $self->{language_id} || undef), |
|
3471 |
format => $self->{format}, |
|
3472 |
media => $self->{media}, |
|
3473 |
extension => $extension, |
|
3474 |
printer => SL::DB::Manager::Printer->find_by_or_create(id => $self->{printer_id} || undef), |
|
3475 |
today => DateTime->today, |
|
3476 |
}; |
|
3477 |
|
|
3468 | 3478 |
return $self; |
3469 | 3479 |
} |
3470 | 3480 |
|
Auch abrufbar als: Unified diff
Form->prepare_for_printing: template_meta zur Verfügung stellen
Behebt #2247.