X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fio.pl;h=022f039ee5106dda5168e6c3bcda2cbbfed544a3;hb=46b00bb49d5514f00c8ebf70c19b0e929b6a5a9b;hp=dbefff3be34ea3fef7208d14332c3b6a606f2f52;hpb=4ba806ac9da862d3a8d96d2f560696c22492a622;p=kivitendo-erp.git diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index dbefff3be..022f039ee 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -962,6 +962,9 @@ sub edit_e_mail { $form->{"email"} = $form->{"cp_email"} if $form->{"cp_email"}; } + $form->{language} = $form->get_template_language(\%myconfig); + $form->{language} = "_" . $form->{language} if $form->{language}; + my $title = $locale->text('E-mail') . " " . $form->get_formname_translation(); $form->{oldmedia} = $form->{media}; @@ -1397,7 +1400,7 @@ sub print_form { $form->get_shipto(\%myconfig); } - my @a = qw(name street zipcode city country contact); + my @a = qw(name department_1 department_2 street zipcode city country contact phone fax email); my $shipto = 1; @@ -1446,7 +1449,7 @@ sub print_form { format_dates($output_dateformat, $output_longdates, qw(invdate orddate quodate pldate duedate reqdate transdate shippingdate deliverydate validitydate paymentdate - datepaid transdate_oe deliverydate_oe + datepaid transdate_oe deliverydate_oe dodate employee_startdate employee_enddate ), grep({ /^datepaid_\d+$/ || @@ -1584,6 +1587,7 @@ sub print_form { media => $form->{media}, extension => $extension, printer => SL::DB::Manager::Printer->find_by_or_create(id => $form->{printer_id}), + today => DateTime->today, }; $form->parse_template(\%myconfig);