mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Per-invoice notifications
Hide per-invoice notif setting if invoice notifications are globally disabled
This commit is contained in:
@@ -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"]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user