Redirect back to main quote/invoice page after emailing a quote / invoice. #275

This commit is contained in:
Marcus Hill 2022-01-17 20:17:38 +00:00
parent 43791435bc
commit e9a6fa4436
1 changed files with 2 additions and 2 deletions

View File

@ -3031,7 +3031,7 @@ if(isset($_GET['email_quote'])){
$_SESSION['alert_message'] = "Quote has been sent";
header("Location: " . $_SERVER["HTTP_REFERER"]);
header("Location: quotes.php");
} catch (Exception $e) {
@ -3716,7 +3716,7 @@ if(isset($_GET['email_invoice'])){
$_SESSION['alert_message'] = "Invoice has been sent";
header("Location: " . $_SERVER["HTTP_REFERER"]);
header("Location: invoices.php");
} catch (Exception $e) {