diff --git a/app/Controllers/Member_controller.php b/app/Controllers/Member_controller.php index 849e958..67ddaa5 100644 --- a/app/Controllers/Member_controller.php +++ b/app/Controllers/Member_controller.php @@ -1259,7 +1259,7 @@ class Member_controller extends BaseController - $TransactionData = $this->TransactionModel->where('member_id', session()->get('logged_user'))->where('status', 'success')->findAll(); + $TransactionData = $this->TransactionModel->where('member_id', session()->get('logged_user'))->where('status', 'success')->orderBy('id' , 'DESC')->findAll(); $data['TransactionData'] = []; diff --git a/app/Views/memberaccess.php b/app/Views/memberaccess.php index 3ed57d8..b9d45e7 100644 --- a/app/Views/memberaccess.php +++ b/app/Views/memberaccess.php @@ -113,7 +113,8 @@ else echo '

'.$credit_data[$i]['package_name'].'

'; ?> -

Expiry Date : format('M-d-Y'); ?>

+

Expiry Date : format('M-d-Y'); ?>

+

Order Id :

0) echo '
'.$credit_data[$i]['running_balance'].'
'; @@ -304,7 +305,8 @@ pattern="(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[^a-zA-Z0-9])(?!.*\s).{8,}" title="Must contain at least one number and one uppercase and lowercase letter, and at least 8 or more characters" required> - + +
@@ -379,6 +381,17 @@ $(document).ready(function(){ input.attr("type", "password"); } }); + + $("#toggle-password1").click(function() { + $(this).toggleClass("fa-eye fa-eye-slash"); + var input = $($(this).attr("toggle")); + if (input.attr("type") == "password") { + input.attr("type", "text"); + } + else { + input.attr("type", "password"); + } + }); \ No newline at end of file diff --git a/app/Views/myaccount.php b/app/Views/myaccount.php index 8a13250..d674202 100644 --- a/app/Views/myaccount.php +++ b/app/Views/myaccount.php @@ -58,7 +58,7 @@ { - $('#already_err').html("This mail id already exists"); + $('#already_err').html("An account with this mail id already exist, please use signin to login or forgot password to reset password"); $("#email").val('');