X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fio.pl;h=8b0b7fc6930443e873675c843df0066d7d39c2da;hb=c046c42244acda83029d00cb06ff636063765fb2;hp=9a1e3ab72c931be19d838b6bbc7037f87be6a81a;hpb=7e073dcdadf65ee98b683b7dd6461fb6fb69a039;p=kivitendo-erp.git diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 9a1e3ab72..8b0b7fc69 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -667,7 +667,7 @@ sub select_item { - + @@ -889,6 +889,8 @@ sub display_form { exit; } + Common::webdav_folder($form) if ($webdav); + # if ( $form->{print_and_post} # && $form->{second_run} # && ($form->{action} eq "display_form")) { @@ -1329,7 +1331,7 @@ sub e_mail { my $attachment_filename = $formname_translations{$form->{"formname"}}; my $prefix; - if ($form->{"type"} =~ /invoice/) { + if (grep({ $form->{"type"} eq $_ } qw(invoice credit_note))) { $prefix = "inv"; } elsif ($form->{"type"} =~ /_quotation$/) { $prefix = "quo"; @@ -1547,20 +1549,6 @@ sub print_options { . $locale->text('Credit Note'); } - if ($form->{type} eq 'ship_order') { - $type = qq| -