diff --git a/CONTENT/ROOT_URI/Agent/Dashboard.php b/CONTENT/ROOT_URI/Agent/Dashboard.php index ea68ef6..ceef194 100644 --- a/CONTENT/ROOT_URI/Agent/Dashboard.php +++ b/CONTENT/ROOT_URI/Agent/Dashboard.php @@ -1,5 +1,8 @@ window.location.href = '/Agent/agent-login'"; + exit; +} function getTotalAmount(array $rows): float { // array_column diye sudhu AT_AMOUNT gulo niye ashbo $amounts = array_column($rows, 'AT_AMOUNT'); diff --git a/CONTENT/ROOT_URI/Agent/Receive.php b/CONTENT/ROOT_URI/Agent/Receive.php index 1bce834..247fd8b 100644 --- a/CONTENT/ROOT_URI/Agent/Receive.php +++ b/CONTENT/ROOT_URI/Agent/Receive.php @@ -1,3 +1,9 @@ +window.location.href = '/Agent/agent-login'"; + exit; + } +?>

New Payment

diff --git a/CONTENT/ROOT_URI/Agent/report.php b/CONTENT/ROOT_URI/Agent/report.php index f1213e6..b1921a9 100644 --- a/CONTENT/ROOT_URI/Agent/report.php +++ b/CONTENT/ROOT_URI/Agent/report.php @@ -1,3 +1,9 @@ +window.location.href = '/Agent/agent-login'"; + exit; + } +?>

Generate Report

diff --git a/CONTENT/ROOT_URI/Agent/transaction.php b/CONTENT/ROOT_URI/Agent/transaction.php index 55812ca..1bd6d0b 100644 --- a/CONTENT/ROOT_URI/Agent/transaction.php +++ b/CONTENT/ROOT_URI/Agent/transaction.php @@ -1,4 +1,8 @@ window.location.href = '/Agent/agent-login'"; + exit; +} $conn = new mysqli($GLOBALS['host'], $GLOBALS['user'], $GLOBALS['pass'], $GLOBALS['db']); if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error);