
<?php $__env->startSection('content'); ?>
<div class="container">
    <div class="justify-content-center">
        <div class="">
            <div class="card">
                <div class="card-header">Create Agent</div>
                <div class="card-body">
                    <?php if($errors->any()): ?>
                    <div class="alert alert-danger">
                        <ul>
                            <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <li><?php echo e($error); ?></li>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </ul>
                    </div>
                    <?php endif; ?>
                    <form role="form" method="post" onsubmit="return validateForm('addsstatus')" class="addsstatus" action="<?php echo e(url('admin/agent')); ?>" autocomplete="off" enctype="multipart/form-data">
                        <?php echo csrf_field(); ?>

                        <div class="form-group">
                            <label for="name">Name <span class="require label-mandatory">*</span></label>
                            <input type="text" class="form-control input-mandatory" name="name" id="name" value="">
                        </div>

                        <!--<div class="form-group">-->
                        <!--    <label for="email">Email <span class="require label-mandatory">*</span></label>-->
                        <!--    <input type="text" class="form-control input-mandatory" name="email" id="email" value="">-->
                        <!--</div>-->

                        <div class="form-group">
                            <label for="mobile_number">Mobile Number <span class="require label-mandatory">*</span></label>
                            <input type="text"
                                class="form-control input-mandatory"
                                name="mobile_number"
                                id="mobile_number"
                                value=""
                                maxlength="10"
                                pattern="\d{10}">
                        </div>

                        <div class="form-group">
                            <label for="commission">Commission Percent % <span class="require label-mandatory">*</span></label>
                            <input type="number" step="0.01" class="form-control input-mandatory" name="commission" id="commission" value="0">
                        </div>


                        <!--<div class="form-group">-->
                        <!--    <label for="password">Password <span class="require label-mandatory">*</span></label>-->
                        <!--    <input type="password" class="form-control input-mandatory" name="password" id="password" value="">-->
                        <!--</div>-->

                        <!--<div class="form-group">-->
                        <!--    <label for="password_confirmation">Confirm Password <span class="require label-mandatory">*</span></label>-->
                        <!--    <input type="password" class="form-control input-mandatory" name="password_confirmation" id="password_confirmation" value="">-->
                        <!--</div>-->

                        <br>

                        <div class="form-group">
                            <button type="submit" class="btn btn-primary">Submit</button>
                        </div>

                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layouts.main-layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/profcymadev/public_html/whatsappmatka.profcymadev.in/resources/views/admin/agent/create.blade.php ENDPATH**/ ?>