Fix Mail Queue link when sending a test email, updated the quote send email wording to Quote sent

This commit is contained in:
johnnyq 2025-11-12 14:50:05 -05:00
parent 15ed4ef1ce
commit 26ab43c57f
2 changed files with 2 additions and 2 deletions

View File

@ -150,7 +150,7 @@ if (isset($_POST['test_email_smtp'])) {
$mail = addToMailQueue($data);
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 {
flash_alert("Failed to add test mail to queue", 'error');
}

View File

@ -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);
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
if ($quote_status == 'Draft') {