Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 6a751412

Von Moritz Bunkus vor fast 18 Jahren hinzugefügt

  • ID 6a751412f2815f29cc8c7a1143197beb0f7c8dc3
  • Vorgänger 238afb7a
  • Nachfolger adee4277

Beim Versenden per Email eine anständige Überschrift anzeigen und nicht "email oe".

Unterschiede anzeigen:

SL/Form.pm
$main::lxdebug->leave_sub();
}
sub generate_attachment_filename {
my ($self) = @_;
sub get_formname_translation {
my ($self, $formname) = @_;
$formname ||= $self->{formname};
my %formname_translations = (
bin_list => $main::locale->text('Bin List'),
......
storno_packing_list => $main::locale->text('Storno Packing List'),
);
my $attachment_filename = $formname_translations{$self->{"formname"}};
return $formname_translations{$formname}
}
sub generate_attachment_filename {
my ($self) = @_;
my $attachment_filename = $self->get_formname_translation();
my $prefix =
(grep { $self->{"type"} eq $_ } qw(invoice credit_note)) ? "inv"
: ($self->{"type"} =~ /_quotation$/) ? "quo"
bin/mozilla/io.pl
$form->{"email"} = $form->{"cp_email"};
}
$form->{ $form->{vc} } =~ /--/;
$title = $locale->text('E-mail') . " $`";
$title = $locale->text('E-mail') . " " . $form->get_formname_translation();
$form->{oldmedia} = $form->{media};
$form->{media} = "email";

Auch abrufbar als: Unified diff