

<?php $__env->startSection('content'); ?>

<div class="card p-4">

    <div class="d-flex justify-content-between align-items-center mb-3">
        <h4>Register as Partner</h4>

        <a href="/zoho/auth" class="btn btn-primary btn-sm">
            Connect Zoho
        </a>
    </div>

    
    <?php if($errors->any()): ?>
        <div class="alert alert-danger">
            <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div><?php echo e($error); ?></div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
    <?php endif; ?>

    
    <?php if(session('success')): ?>
        <div class="alert alert-success">
            <?php echo e(session('success')); ?>

        </div>
    <?php endif; ?>

    
    <?php if(session('whatsapp_link')): ?>
        <a href="<?php echo e(session('whatsapp_link')); ?>" target="_blank" class="btn btn-success mb-3">
            Send WhatsApp
        </a>
    <?php endif; ?>

    <form method="POST" action="/zoho/partner/register">
        <?php echo csrf_field(); ?>

        <div class="row">
            <div class="col-md-6 mb-3">
                <input type="text" name="full_name" class="form-control" placeholder="Full Name" required>
            </div>

            <div class="col-md-6 mb-3">
                <input type="text" name="mobile" class="form-control" placeholder="Mobile" required>
            </div>

            <div class="col-md-6 mb-3">
                <input type="email" name="email" class="form-control" placeholder="Email" required>
            </div>

            <div class="col-md-6 mb-3">
                <input type="text" name="city" class="form-control" placeholder="City">
            </div>

            <div class="col-md-6 mb-3">
                <input type="text" name="occupation" class="form-control" placeholder="Occupation">
            </div>

            <div class="col-md-6 mb-3">
                <input type="text" name="aadhaar_pan" class="form-control" placeholder="Aadhaar / PAN">
            </div>

            <div class="col-md-12 mb-3">
                <textarea name="bank_details" class="form-control" placeholder="Bank Details"></textarea>
            </div>

            <div class="col-md-12 mb-3">
                <input type="text" name="social_link" class="form-control" placeholder="Instagram/Facebook Link">
            </div>
        </div>

        <button type="submit" class="btn btn-primary w-100">
            Register
        </button>
    </form>

</div>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home2/jitrealx/public_html/zoho/resources/views/partner/register.blade.php ENDPATH**/ ?>