diff --git a/post/invoice.php b/post/invoice.php index c93191f6..eeade755 100644 --- a/post/invoice.php +++ b/post/invoice.php @@ -1414,14 +1414,12 @@ if (isset($_GET['recurring_invoice_email_notify'])) { mysqli_query($mysqli,"UPDATE recurring SET recurring_invoice_email_notify = $recurring_invoice_email_notify WHERE recurring_id = $recurring_id"); if ($recurring_invoice_email_notify) { - $_SESSION['alert_message'] = "EMail Notifications On"; + $_SESSION['alert_message'] = "Email Notifications On"; } else { $_SESSION['alert_type'] = "error"; - $_SESSION['alert_message'] = "EMail Notifications Off"; + $_SESSION['alert_message'] = "Email Notifications Off"; } - - header("Location: " . $_SERVER["HTTP_REFERER"]); } diff --git a/recurring_invoice.php b/recurring_invoice.php index 39ccbf94..697219f2 100644 --- a/recurring_invoice.php +++ b/recurring_invoice.php @@ -98,13 +98,17 @@ if (isset($_GET['recurring_id'])) {
+ +
@@ -224,7 +228,7 @@ if (isset($_GET['recurring_id'])) { $total_tax = $item_tax + $total_tax; $sub_total = $item_price * $item_quantity + $sub_total; $item_order = intval($row['item_order']); - + // Logic to check if top or bottom arrow should be hidden by looking at max and min of item_order $sql = mysqli_query($mysqli, "SELECT MAX(item_order) AS item_order FROM invoice_items WHERE item_recurring_id = $recurring_id"); $row = mysqli_fetch_array($sql); @@ -266,10 +270,10 @@ if (isset($_GET['recurring_id'])) { Edit Delete - - + +
-
+ @@ -291,7 +295,7 @@ if (isset($_GET['recurring_id'])) {
-