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