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-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=f4655ada523168a4aa20187af79bb4d01166c3e8;p=textcart.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 91e6437..e4b4c3a 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