louie-kyc #1
|
@ -37,6 +37,8 @@ $BearerToken = $_SESSION['token'];
|
|||
$response = get_kyc_info($IDkyc, $BearerToken);
|
||||
$array = json_decode($response, true);
|
||||
|
||||
$CurrentUserAddress = '' . $array['userRef']['address1'] . ', ' . $array['userRef']['city'] . ', ' . $array['userRef']['province'] . ', ' . $array['userRef']['country'] . ' ' . $array['userRef']['zip'];
|
||||
|
||||
// Check if the decoding was successful
|
||||
if ($array !== null) {
|
||||
?>
|
||||
|
@ -61,16 +63,17 @@ $BearerToken = $_SESSION['token'];
|
|||
<div class="form-container">
|
||||
<fieldset disabled>
|
||||
<form>
|
||||
<label for="IdUser">USER ID:</label>
|
||||
<input class="form-control" type="text" id="IdUser" name="UserID" value="<?php echo $array['userRef']['_id']; ?>" readonly>
|
||||
|
||||
<label for="fullName">Full Name:</label>
|
||||
<input class="form-control" type="text" id="fullName" name="fullName" value="<?php echo $array['userRef']['fName'] . ' ' . $array['userRef']['lName']; ?>" readonly>
|
||||
|
||||
<label for="email">Email:</label>
|
||||
<input class="form-control" type="text" id="email" name="email" value="<?php echo $array['userRef']['email']; ?>" readonly>
|
||||
|
||||
<label for="additionalStatus">Status:</label>
|
||||
<label for="address">Address:</label>
|
||||
<input class="form-control" type="text" id="address" name="address" value="<?php echo $CurrentUserAddress; ?>" readonly>
|
||||
|
||||
|
||||
<label for="additionalStatus">KYC Status:</label>
|
||||
<input class="form-control" type="text" id="additionalStatus" name="additionalStatus" value="<?php echo $array['status']; ?>" readonly>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
@ -105,8 +108,6 @@ $BearerToken = $_SESSION['token'];
|
|||
<div class="form-container">
|
||||
<form>
|
||||
<fieldset disabled>
|
||||
<label for="KycIdUser">KYC ID</label>
|
||||
<input class="form-control" type="text" id="KycIdUser" name="kycID" value="<?php echo $array['_id']; ?>" readonly>
|
||||
<label for="additionalFullName">Full Name:</label>
|
||||
<input class="form-control" type="text" id="additionalFullName" name="additionalFullName" value="<?php echo $array['full_name']; ?>" readonly>
|
||||
|
||||
|
@ -116,8 +117,8 @@ $BearerToken = $_SESSION['token'];
|
|||
<label for="dob">Date of Birth:</label>
|
||||
<input class="form-control" type="text" id="dob" name="dob" value="<?php echo $array['date_of_birth']; ?>" readonly>
|
||||
|
||||
<label for="address">Address:</label>
|
||||
<input class="form-control" type="text" id="address" name="address" value="<?php echo $array['address']; ?>" readonly>
|
||||
<label for="address">ID Address:</label>
|
||||
<input class="form-control" type="text" id="kyc_address" name="KycAddress" value="<?php echo $array['address']; ?>" readonly>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue