Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 26993da6

Von Bernd Bleßmann vor etwa 3 Jahren hinzugefügt

  • ID 26993da686d851ccaa5201ae6b42eee50166b448
  • Vorgänger 59274d46
  • Nachfolger 5155c356

Kosmetik

Unterschiede anzeigen:

SL/Controller/Order.pm
425 425
  $email_form->{js_send_function}    = 'kivi.Order.send_email()';
426 426

  
427 427
  my %files = $self->get_files_for_email_dialog();
428

  
428 429
  $self->{all_employees} = SL::DB::Manager::Employee->get_all(query => [ deleted => 0 ]);
429 430
  my $dialog_html = $self->render('common/_send_email_dialog', { output => 0 },
430
                                  email_form  => $email_form,
431
                                  show_bcc    => $::auth->assert('email_bcc', 'may fail'),
432
                                  FILES       => \%files,
433
                                  is_customer => $self->cv eq 'customer',
431
                                  email_form    => $email_form,
432
                                  show_bcc      => $::auth->assert('email_bcc', 'may fail'),
433
                                  FILES         => \%files,
434
                                  is_customer   => $self->cv eq 'customer',
434 435
                                  ALL_EMPLOYEES => $self->{all_employees},
435 436
  );
436 437

  
bin/mozilla/io.pl
2114 2114
  }
2115 2115

  
2116 2116
  $::form->{all_employees} = SL::DB::Manager::Employee->get_all(query => [ deleted => 0 ]);
2117

  
2117 2118
  my $email_form = {
2118 2119
    to                  => $email,
2119 2120
    cc                  => $email_cc,
......
2125 2126

  
2126 2127
  my %files = _get_files_for_email_dialog();
2127 2128
  my $html  = $::form->parse_html_template("common/_send_email_dialog", {
2128
    email_form  => $email_form,
2129
    show_bcc    => $::auth->assert('email_bcc', 'may fail'),
2130
    FILES       => \%files,
2131
    is_customer => $::form->{vc} eq 'customer',
2129
    email_form      => $email_form,
2130
    show_bcc        => $::auth->assert('email_bcc', 'may fail'),
2131
    FILES           => \%files,
2132
    is_customer     => $::form->{vc} eq 'customer',
2132 2133
    is_invoice_mail => ($record_email && $::form->{type} eq 'invoice'),
2133 2134
    ALL_EMPLOYEES   => $::form->{all_employees},
2134 2135
  });
templates/webpages/common/_send_email_dialog.html
43 43
 [%- IF ALL_EMPLOYEES.size %]
44 44
  <tr class="hidden" data-toggle-recipients="1">
45 45
   <th align="right" nowrap>[% LxERP.t8("CC to Employee") %]</th>
46
   <td>[% L.select_tag('email_form.cc_employee',  ALL_EMPLOYEES, value_key='login' title_key='safe_name', with_empty=1, style=style) %]</td>
46
   <td>[% L.select_tag('email_form.cc_employee', ALL_EMPLOYEES, value_key='login' title_key='safe_name', with_empty=1, style=style) %]</td>
47 47
  </tr>
48 48
 [%- END %]
49 49

  

Auch abrufbar als: Unified diff