CMXX - ServiceReport email in user language
This commit is contained in:
@@ -344,7 +344,7 @@ if (!empty($post_content['sn']) && !empty($post_content['testdetails'])) {
|
||||
|
||||
foreach ($results as $result){
|
||||
$result = json_decode(json_encode($result));
|
||||
$servicereport = serviceReport($result, 'email');
|
||||
$servicereport = serviceReport($result, 'email', $language);
|
||||
generatedPDF($servicereport,$last_id,$useremail);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -329,7 +329,7 @@ if (isset($post_content['sn']) && isset($post_content['payload'])){
|
||||
|
||||
foreach ($results as $result){
|
||||
$result = json_decode(json_encode($result));
|
||||
$servicereport = serviceReport($result, 'email');
|
||||
$servicereport = serviceReport($result, 'email', $language);
|
||||
generatedPDF($servicereport,$last_id,$useremail);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user