<?php echo $__env->make('layout.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<div class="recharge">
    <!-- HEADER -->
    <nav class="top_nav">
        <div class="left">
            <a href="<?php echo e(url('/user/bankCard')); ?>"><img src="<?php echo e(asset('assets/img/back_arrow.png')); ?>" alt="" />
            </a>
            <span>Edit Bank Card</span>
        </div>
    </nav>
    <!-- HEADER -->

    <form action="<?php echo e(url('/user/update/bankCard')); ?>" method="post">
        <?php echo csrf_field(); ?>
        <input type="hidden" name="id" value="<?php echo e($card->id); ?>">
        <div class="input_card">
            <ul class="card_ul list-unstyled">
                <li>
                    <p>Actual Name</p>
                    <input type="text" name="name" required value="<?php echo e($card->name); ?>" />
                </li>
                <li>
                    <p>UPI Id</p>
                    <input type="text" name="upi" required value="<?php echo e($card->upi); ?>" />
                </li>
                <li>
                    <p>IFSC Code</p>
                    <input type="text" name="ifsc" required value="<?php echo e($card->ifsc); ?>" />
                </li>
                <li>
                    <p>Bank Name</p>
                    <input type="text" name="bank_name" required value="<?php echo e($card->bank_name); ?>" />
                </li>
                <li>
                    <p>Bank Account</p>
                    <input type="text" name="account" required value="<?php echo e($card->account); ?>" />
                </li>
                <li>
                    <p>State/Territory</p>
                    <input type="text" name="state" required value="<?php echo e($card->state); ?>" />
                </li>
                <li>
                    <p>City</p>
                    <input type="text" name="city" required value="<?php echo e($card->city); ?>" />
                </li>
                <li>
                    <p>Address</p>
                    <input type="text" name="address" required value="<?php echo e($card->address); ?>" />
                </li>
                <li>
                    <p>Mobile Number</p>
                    <div>
                        <span>+91</span><input type="text" name="mobile_number" required
                            value="<?php echo e($card->mobile); ?>" />
                    </div>
                </li>
                <li>
                    <p>Email</p>
                    <input type="text" name="email" required value="<?php echo e($card->email); ?>" />
                </li>
                <?php if(env('ENABLE_OTP')): ?>
                    <li>
                        <p>Code</p>
                        <div style="display: flex">
                            <input type="text" id="login_otp" onkeyup="checkBankAccountOtp(this.value)"
                                onchange="checkBankAccountOtp(this.value)" oninput="checkBankAccountOtp(this.value)"
                                disabled placeholder="Verification Code" style="flex: 1 1 0%" />
                            <input class="gocode m-t-12 m-b-12" type="button" onclick="sendBankAccountOtp()"
                                id="reg_otp" value="OTP" />
                        </div>
                        <div>
                            <span id="otp_error" class="error"></span>
                        </div>
                    </li>
                <?php endif; ?>
            </ul>

            <div class="container-fluid pb-5 pt-4">
                <div class="row">
                    <div class="col-10 col-md-8 col-lg-6 mx-auto">
                        <input type="submit" id="submit" class="w-100 btn btn-primary"
                            <?php if(env('ENABLE_OTP')): ?> disabled="disabled" <?php endif; ?> value="Continue" />
                    </div>
                </div>
            </div>
        </div>
    </form>
</div>


<script>
    let mobile = "<?php echo e(Auth::user()->mobile); ?>";
</script>

<?php echo $__env->make('layout.footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php /**PATH /home/shyambabamatka/public_html/zupitogames.com/resources/views/userDashboard/edit-bank-card.blade.php ENDPATH**/ ?>