mirror of https://github.com/itflow-org/itflow
Remove redundant closing PHP tags
This commit is contained in:
parent
bae0814827
commit
a270e3a42c
|
|
@ -89,4 +89,4 @@ $num_notifications = $row['num'];
|
|||
//Set Currency Format
|
||||
$currency_format = numfmt_create($session_company_locale, NumberFormatter::CURRENCY);
|
||||
|
||||
?>
|
||||
|
||||
|
|
|
|||
|
|
@ -535,4 +535,4 @@ function sendSingleEmail($config_smtp_host, $config_smtp_username, $config_smtp_
|
|||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ $net_terms_array = array(
|
|||
'0'=>'On Reciept',
|
||||
'7'=>'7 Days',
|
||||
'14'=>'14 Days',
|
||||
'30'=>'30 Days'
|
||||
'30'=>'30 Days'
|
||||
);
|
||||
|
||||
$records_per_page_array = array('5','10','15','20','30','50','100');
|
||||
|
|
@ -926,4 +926,3 @@ $asset_status_array = array(
|
|||
'Retired'
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
@ -14,13 +14,13 @@ if (isset($_GET['accept_quote'], $_GET['company_id'], $_GET['url_key'])) {
|
|||
$sql = mysqli_query($mysqli,"SELECT * FROM quotes WHERE quote_id = $quote_id AND quote_url_key = '$url_key' AND company_id = $company_id");
|
||||
|
||||
if (mysqli_num_rows($sql) == 1) {
|
||||
|
||||
|
||||
mysqli_query($mysqli,"UPDATE quotes SET quote_status = 'Accepted' WHERE quote_id = $quote_id");
|
||||
|
||||
mysqli_query($mysqli,"INSERT INTO history SET history_status = 'Accepted', history_description = 'Client accepted Quote!', history_created_at = NOW(), history_quote_id = $quote_id, company_id = $company_id");
|
||||
|
||||
$_SESSION['alert_message'] = "Quote Accepted";
|
||||
|
||||
|
||||
header("Location: " . $_SERVER["HTTP_REFERER"]);
|
||||
}else{
|
||||
echo "GTFO!!";
|
||||
|
|
@ -44,12 +44,11 @@ if (isset($_GET['decline_quote'], $_GET['company_id'], $_GET['url_key'])) {
|
|||
|
||||
$_SESSION['alert_type'] = "danger";
|
||||
$_SESSION['alert_message'] = "Quote Declined";
|
||||
|
||||
|
||||
header("Location: " . $_SERVER["HTTP_REFERER"]);
|
||||
}else{
|
||||
echo "GTFO!!";
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
<?php
|
||||
<?php
|
||||
|
||||
include("config.php");
|
||||
include_once("functions.php");
|
||||
|
|
@ -10,4 +10,3 @@ include("inc_wrapper.php");
|
|||
include("inc_alert_feedback.php");
|
||||
include("pagination_head.php");
|
||||
|
||||
?>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
<?php
|
||||
<?php
|
||||
|
||||
include("config.php");
|
||||
include_once("functions.php");
|
||||
|
|
@ -9,4 +9,3 @@ include("reports_side_nav.php");
|
|||
include("inc_wrapper.php");
|
||||
include("inc_alert_feedback.php");
|
||||
|
||||
?>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
<?php
|
||||
<?php
|
||||
|
||||
include("config.php");
|
||||
include_once("functions.php");
|
||||
|
|
@ -13,4 +13,3 @@ include("inc_wrapper.php");
|
|||
include("inc_alert_feedback.php");
|
||||
include("pagination_head.php");
|
||||
|
||||
?>
|
||||
Loading…
Reference in New Issue