Revision fc4cdd9b
Von Jan Büren vor fast 2 Jahren hinzugefügt
SL/Form.pm | ||
---|---|---|
902 | 902 |
my $file_obj = $self->store_pdf($self); |
903 | 903 |
$self->{print_file_id} = $file_obj->id if $file_obj; |
904 | 904 |
} |
905 |
if ($self->{media} eq 'email') { |
|
905 |
# dn has its own send email method, but sets media for print templates |
|
906 |
if ($self->{media} eq 'email' && !$self->{dunning_id}) { |
|
906 | 907 |
if ( getcwd() eq $self->{"tmpdir"} ) { |
907 | 908 |
# in the case of generating pdf we are in the tmpdir, but WHY ??? |
908 | 909 |
$self->{tmpfile} = $userspath."/".$self->{tmpfile}; |
Auch abrufbar als: Unified diff
Falls Mahnung per E-Mail media 'email', aber nicht zweimal senden