From e9a6fa443656f2f6076272f3164399e46a522063 Mon Sep 17 00:00:00 2001 From: Marcus Hill Date: Mon, 17 Jan 2022 20:17:38 +0000 Subject: [PATCH 1/2] Redirect back to main quote/invoice page after emailing a quote / invoice. #275 --- post.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/post.php b/post.php index 17da2fc5..062c6d9f 100644 --- a/post.php +++ b/post.php @@ -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) { From 9b7b0adcf3a301b34c912e3444f844548d7c2c4c Mon Sep 17 00:00:00 2001 From: Marcus Hill Date: Mon, 17 Jan 2022 20:27:00 +0000 Subject: [PATCH 2/2] Add currency to price --- add_product_modal.php | 2 +- invoice.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/add_product_modal.php b/add_product_modal.php index eaceb3f7..a5f80fa2 100644 --- a/add_product_modal.php +++ b/add_product_modal.php @@ -48,7 +48,7 @@
- +
diff --git a/invoice.php b/invoice.php index 2d312c4b..5567a367 100644 --- a/invoice.php +++ b/invoice.php @@ -300,7 +300,7 @@ if(isset($_GET['invoice_id'])){ - +