Fix Mail Queue link when sending a test email, updated the quote send email wording to Quote sent
This commit is contained in:
@@ -150,7 +150,7 @@ if (isset($_POST['test_email_smtp'])) {
|
|||||||
$mail = addToMailQueue($data);
|
$mail = addToMailQueue($data);
|
||||||
|
|
||||||
if ($mail === true) {
|
if ($mail === true) {
|
||||||
flash_alert("Test email queued! <a class='text-bold text-light' href='admin_mail_queue.php'>Check Admin > Mail queue</a>");
|
flash_alert("Test email queued! <a class='text-bold text-light' href='mail_queue.php'>Check Admin > Mail queue</a>");
|
||||||
} else {
|
} else {
|
||||||
flash_alert("Failed to add test mail to queue", 'error');
|
flash_alert("Failed to add test mail to queue", 'error');
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -497,7 +497,7 @@ if (isset($_GET['email_quote'])) {
|
|||||||
|
|
||||||
logAction("Quote", "Email", "$session_name emailed quote $quote_prefix$quote_number to $contact_email", $client_id, $quote_id);
|
logAction("Quote", "Email", "$session_name emailed quote $quote_prefix$quote_number to $contact_email", $client_id, $quote_id);
|
||||||
|
|
||||||
flash_alert("Quote has been queued successfully! <a class='text-bold text-light' href='admin_mail_queue.php'>See Mail Queue</a>");
|
flash_alert("Quote sent!");
|
||||||
|
|
||||||
//Don't change the status to sent if the status is anything but draft
|
//Don't change the status to sent if the status is anything but draft
|
||||||
if ($quote_status == 'Draft') {
|
if ($quote_status == 'Draft') {
|
||||||
|
|||||||
Reference in New Issue
Block a user