From: Joe Hunt Date: Wed, 7 Dec 2011 23:46:04 +0000 (+0100) Subject: When sending documents by email, the email address follows the status message. X-Git-Tag: 2.3-final~516 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=c557588f186c83522f5f8d1be3b40c812dc50dcb;p=fa-stable.git When sending documents by email, the email address follows the status message. --- 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