add agent panel
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
<?php
|
||||
|
||||
if(!isset($_SESSION) && empty($_SESSION['user_id'])){
|
||||
echo "<script>window.location.href = '/Agent/agent-login'</script>";
|
||||
exit;
|
||||
}
|
||||
function getTotalAmount(array $rows): float {
|
||||
// array_column diye sudhu AT_AMOUNT gulo niye ashbo
|
||||
$amounts = array_column($rows, 'AT_AMOUNT');
|
||||
|
||||
Reference in New Issue
Block a user