MT#5879 Default content on template creation and x- mimetype.

Store default template content on template creation.
Replace image/x-mimetype with image/mimetype to fix PDF generation.
gjungwirth/voicemail_number
Irina Peshinskaya 12 years ago committed by Irka
parent 7f14a3efd6
commit 95bfec3796

@ -131,7 +131,6 @@ sub process_invoices{
), { Slice => {} }, @{$opt->{client_contract_id}}, v2a($client_contract->{id}), v2a($stime->ymd),v2a($etime->ymd) );
}
if($opt->{send} || $opt->{sendonly}){
my $email_template = get_email_template($provider_contract,$client_contract);
my $email_template = get_email_template($provider_contract,$client_contract);
email($email_template, $provider_contact, $client_contact, $invoices->{$client_contract->{id}} );
}

Loading…
Cancel
Save