mirror of
https://github.com/itflow-org/itflow
synced 2026-03-07 22:34:52 +00:00
Merge pull request #296 from wrongecho/email-redirect
Quote/Invoice redirect
This commit is contained in:
4
post.php
4
post.php
@@ -3031,7 +3031,7 @@ if(isset($_GET['email_quote'])){
|
|||||||
|
|
||||||
$_SESSION['alert_message'] = "Quote has been sent";
|
$_SESSION['alert_message'] = "Quote has been sent";
|
||||||
|
|
||||||
header("Location: " . $_SERVER["HTTP_REFERER"]);
|
header("Location: quotes.php");
|
||||||
|
|
||||||
|
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
@@ -3716,7 +3716,7 @@ if(isset($_GET['email_invoice'])){
|
|||||||
|
|
||||||
$_SESSION['alert_message'] = "Invoice has been sent";
|
$_SESSION['alert_message'] = "Invoice has been sent";
|
||||||
|
|
||||||
header("Location: " . $_SERVER["HTTP_REFERER"]);
|
header("Location: invoices.php");
|
||||||
|
|
||||||
|
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user