From c557588f186c83522f5f8d1be3b40c812dc50dcb Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Thu, 8 Dec 2011 00:46:04 +0100 Subject: [PATCH] When sending documents by email, the email address follows the status message. --- reporting/includes/pdf_report.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/reporting/includes/pdf_report.inc b/reporting/includes/pdf_report.inc index 91e6437c..e4b4c3a6 100644 --- a/reporting/includes/pdf_report.inc +++ b/reporting/includes/pdf_report.inc @@ -1025,10 +1025,11 @@ class FrontReport extends Cpdf if (!$try) { display_error(_("There is no contact email set for this document type.")); } elseif (!$sent) - display_error(_("Sending document by email failed")); + display_error($this->title . " " . $this->formData['document_number'] . ". " + . _("Sending document by email failed") . ". " . _("Email:") . " " . $contact['email']); else display_notification($this->title . " " . $this->formData['document_number'] . " " - . _("has been sent by email to destination.")); + . _("has been sent by email to destination.") . " " . _("Email:") . " " . $contact['email']); } } else -- 2.30.2