changes on kyc table
This commit is contained in:
parent
47d4e50901
commit
6cb4c0b4d2
|
@ -20,7 +20,7 @@ if (isset($_GET['kycID'], $_GET['userID'], $_GET['isAccepted'])) {
|
|||
$BearerToken = $_SESSION['token'];
|
||||
|
||||
if ($isAccepted) {
|
||||
$reason = 'Congratulations, Your KYC got accepted!!';
|
||||
$reason = 'Congratulations, Your KYC got accepted !!';
|
||||
// If isAccepted is true, call accept_kyc function
|
||||
if (accept_kyc($kycID, $userID, $reason, $BearerToken, $user_id)) {
|
||||
// If accept_kyc is successful, redirect to users-kyc.php
|
||||
|
|
|
@ -77,8 +77,6 @@ $BearerToken = $_SESSION['token'];
|
|||
<th width='1'>User ID</th>
|
||||
<th>KYC ID</th>
|
||||
<th>Name</th>
|
||||
<th>Date of Birth</th>
|
||||
<th>ID Number</th>
|
||||
<th>Status</th>
|
||||
<th> Action </th>
|
||||
</tr>
|
||||
|
@ -90,8 +88,6 @@ $BearerToken = $_SESSION['token'];
|
|||
echo "<td>" . $val['userRef'] . "</td>";
|
||||
echo "<td>" . $val['_id'] . "</td>";
|
||||
echo "<td>" . $val['full_name'] . "</td>";
|
||||
echo "<td>" . $val['date_of_birth'] . "</td>";
|
||||
echo "<td>" . $val['id_num'] . "</td>";
|
||||
echo "<td>" . $val['status'] . "</td> ";
|
||||
echo "<td>" .
|
||||
"<button class='btn btn-info' onclick=location.href='edit-kyc.php?kycID=" . $val['_id'] . "'>Edit</button>" .
|
||||
|
|
Loading…
Reference in New Issue