minor changes in buttons
This commit is contained in:
parent
4c2a502756
commit
27197918b6
|
@ -100,7 +100,6 @@
|
|||
|
||||
<div class="section form-container">
|
||||
<h2>Confirm KYC Details</h2>
|
||||
<div class="form-container">
|
||||
<div class="checkboxFormContainer">
|
||||
<form id="checkboxForm">
|
||||
<div class="checkbox-container">
|
||||
|
@ -138,17 +137,6 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
var imageContainer = document.getElementById('zoomContainer');
|
||||
var originalTransform = window.getComputedStyle(imageContainer).getPropertyValue('transform');
|
||||
|
||||
imageContainer.addEventListener('mouseenter', function() {
|
||||
imageContainer.style.transform = 'scale(1.5)';
|
||||
});
|
||||
|
||||
imageContainer.addEventListener('mouseleave', function() {
|
||||
imageContainer.style.transform = originalTransform;
|
||||
});
|
||||
|
||||
function handleCheckboxChange() {
|
||||
// Check the status of checkboxes and enable/disable the "Accept" button
|
||||
var areAllChecked = document.querySelectorAll('#checkboxForm input[type="checkbox"]:checked').length === 4;
|
||||
|
|
|
@ -11,10 +11,6 @@ if (isset($_GET['kycID'], $_GET['userID'], $_GET['isAccepted'])) {
|
|||
$isAccepted = ($_GET['isAccepted'] === 'true');
|
||||
$reason = $_GET['reason'];
|
||||
|
||||
// Now you can use the $reason variable as needed in your code
|
||||
|
||||
// echo "KYC ID: $kycID, User ID: $userID, Is Accepted: $isAccepted, Reason: $reason";
|
||||
|
||||
if ($isAccepted) {
|
||||
// If isAccepted is true, call accept_kyc function
|
||||
if (accept_kyc($kycID, $userID)) {
|
||||
|
|
Loading…
Reference in New Issue