X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FHelper%2FPrintOptions.pm;h=7569ea6877b18d7c06d75ce8d62a6894e51c0b54;hb=4ecd85452536da71a719071945806e9e94b3144e;hp=2d842afc0d1c63bfb59ebb5a1bb9ad724dcdb171;hpb=3af7680219b879d23022b5ab8fed353fc36b1c91;p=kivitendo-erp.git diff --git a/SL/Helper/PrintOptions.pm b/SL/Helper/PrintOptions.pm index 2d842afc0..7569ea687 100644 --- a/SL/Helper/PrintOptions.pm +++ b/SL/Helper/PrintOptions.pm @@ -51,6 +51,7 @@ sub get_print_options { ($form->{type} eq 'sales_order') ? ( opthash("sales_order", $form->{PD}{sales_order}, $locale->text('Confirmation')), opthash("proforma", $form->{PD}{proforma}, $locale->text('Proforma Invoice')), + opthash("ic_supply", $form->{PD}{ic_supply}, $locale->text('Intra-Community supply')), ) : undef, ($form->{type} =~ /sales_quotation$/) ? opthash('sales_quotation', $form->{PD}{sales_quotation}, $locale->text('Quotation')) : undef, @@ -66,6 +67,9 @@ sub get_print_options { ($form->{type} =~ /_delivery_order$/) ? ( opthash($form->{type}, $form->{PD}{$form->{type}}, $locale->text('Delivery Order')), opthash('pick_list', $form->{PD}{pick_list}, $locale->text('Pick List')), + ) : undef, + ($form->{type} =~ /^letter$/) ? ( + opthash('letter', $form->{PD}{letter}, $locale->text('Letter')), ) : undef; push @SENDMODE, @@ -121,7 +125,6 @@ sub get_print_options { my %dont_display_groupitems = ( 'dunning' => 1, - 'letter' => 1, ); my %template_vars = (