Name of the travel reimbursement PDF attachment changed.

This commit is contained in:
2026-07-13 23:44:40 +02:00
parent a7888e1a58
commit 074129d33b

View File

@@ -201,7 +201,7 @@ if ($API_office_travel_reimburse->request_method === 'POST') {
$mail->mailText = 'Your travel reimbursement is attached.';
try {
$mail->addAttachment($pdfFile, 'travel_reimbursement.pdf');
$mail->addAttachment($pdfFile, 'Travel reimbursement ' . $_SESSION['user']['user_full_name'] . ' - ' . $invoiceNumber . '.pdf');
} catch (\PHPMailer\PHPMailer\Exception $e) {
}