minor changes on notif msg
This commit is contained in:
parent
6f81ba765a
commit
d0f77db87f
|
@ -336,7 +336,7 @@ function accept_kyc($IDkyc, $IDuser, $reason, $bToken, $Admin_UserId)
|
||||||
"from_id":"' . $Admin_UserId . '",
|
"from_id":"' . $Admin_UserId . '",
|
||||||
"to_id":"' . $IDuser . '",
|
"to_id":"' . $IDuser . '",
|
||||||
"title":"KYC Application Accepted.",
|
"title":"KYC Application Accepted.",
|
||||||
"message":"Greetings! ' . $reason . '.",
|
"message":"Congratulations! ' . $reason . '.",
|
||||||
"status":"new"
|
"status":"new"
|
||||||
}';
|
}';
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ if (isset($_GET['kycID'], $_GET['userID'], $_GET['isAccepted'])) {
|
||||||
$BearerToken = $_SESSION['token'];
|
$BearerToken = $_SESSION['token'];
|
||||||
|
|
||||||
if ($isAccepted) {
|
if ($isAccepted) {
|
||||||
$reason = 'Congratulations, Your KYC Application got approved';
|
$reason = 'Your KYC Application got approved';
|
||||||
// If isAccepted is true, call accept_kyc function
|
// If isAccepted is true, call accept_kyc function
|
||||||
if (accept_kyc($kycID, $userID, $reason, $BearerToken, $user_id)) {
|
if (accept_kyc($kycID, $userID, $reason, $BearerToken, $user_id)) {
|
||||||
// If accept_kyc is successful, redirect to users-kyc.php
|
// If accept_kyc is successful, redirect to users-kyc.php
|
||||||
|
|
Loading…
Reference in New Issue