<?php $__env->startSection('icon_page', 'plus'); ?>

<?php $__env->startSection('title', 'Add Lead'); ?>

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


<?php $__env->stopSection(); ?>

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

    <div class="box box-primary">
        <div class="box-body">
            <div class="row">
                <div class="col-md-12">
                    <form action="<?php echo e(route('lead.store')); ?>" method="post">
                        <?php echo e(csrf_field()); ?>

                        <div class="row">
                            <div class="col-lg-6">

                                <div class="form-group <?php echo e($errors->has('leadsource') ? 'has-error' : ''); ?>">
                                    <label for="nome">Lead Source</label>
                                    <input type="text" name="leadsource" class="form-control" maxlength="30"
                                        placeholder="Lead Source" required="" value="<?php echo e(old('leadsource')); ?>" autofocus>
                                    <?php if($errors->has('leadsource')): ?>
                                        <span class="help-block">
                                            <strong><?php echo e($errors->first('leadsource')); ?></strong>
                                        </span>
                                    <?php endif; ?>
                                </div>
                            </div>
                            <div class="col-lg-6">
                                <div class="form-group <?php echo e($errors->has('sellertype') ? 'has-error' : ''); ?>">
                                    <label for="nome">Seller Type</label>
                                    <input type="text" name="sellertype" class="form-control" maxlength="30"
                                        placeholder="Buyer / Seller" required="" value="<?php echo e(old('sellertype')); ?>"
                                        autofocus>
                                    <?php if($errors->has('sellertype')): ?>
                                        <span class="help-block">
                                            <strong><?php echo e($errors->first('sellertype')); ?></strong>
                                        </span>
                                    <?php endif; ?>
                                </div>
                            </div>

                        </div>
                        <div class="col-lg-6">
                            <div class="form-group <?php echo e($errors->has('leaddate') ? 'has-error' : ''); ?>">
                                <label for="nome">Lead Date</label>
                                <input type="text" name="leaddate" class="form-control" maxlength="30"
                                    placeholder="Lead Date" required="" value="<?php echo e(old('leaddate')); ?>" autofocus>
                                <?php if($errors->has('leaddate')): ?>
                                    <span class="help-block">
                                        <strong><?php echo e($errors->first('leaddate')); ?></strong>
                                    </span>
                                <?php endif; ?>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <div class="form-group <?php echo e($errors->has('selling_agent') ? 'has-error' : ''); ?>">
                                <label for="nome">Selling Agent</label>
                                <input type="text" name="selling_agent" class="form-control" maxlength="30"
                                    placeholder="Selling Agent" required="" value="<?php echo e(old('selling_agent')); ?>"
                                    autofocus>
                                <?php if($errors->has('selling_agent')): ?>
                                    <span class="help-block">
                                        <strong><?php echo e($errors->first('selling_agent')); ?></strong>
                                    </span>
                                <?php endif; ?>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <div class="form-group <?php echo e($errors->has('status') ? 'has-error' : ''); ?>">
                                <label for="nome">Status</label>
                                <input type="text" name="status" class="form-control" maxlength="30"
                                    placeholder="Selling Agent" required="" value="<?php echo e(old('status')); ?>" autofocus>
                                <?php if($errors->has('status')): ?>
                                    <span class="help-block">
                                        <strong><?php echo e($errors->first('status')); ?></strong>
                                    </span>
                                <?php endif; ?>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <div class="form-group <?php echo e($errors->has('street') ? 'has-error' : ''); ?>">
                                <label for="nome">Street</label>
                                <input type="text" name="street" class="form-control" maxlength="30"
                                    placeholder="Selling Agent" required="" value="<?php echo e(old('street')); ?>" autofocus>
                                <?php if($errors->has('street')): ?>
                                    <span class="help-block">
                                        <strong><?php echo e($errors->first('street')); ?></strong>
                                    </span>
                                <?php endif; ?>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <div class="form-group <?php echo e($errors->has('city') ? 'has-error' : ''); ?>">
                                <label for="nome">city</label>
                                <input type="text" name="city" class="form-control" maxlength="30" placeholder="city"
                                    required="" value="<?php echo e(old('city')); ?>" autofocus>
                                <?php if($errors->has('city')): ?>
                                    <span class="help-block">
                                        <strong><?php echo e($errors->first('city')); ?></strong>
                                    </span>
                                <?php endif; ?>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <div class="form-group <?php echo e($errors->has('zip_code') ? 'has-error' : ''); ?>">
                                <label for="nome">zip_code</label>
                                <input type="text" name="zip_code" class="form-control" maxlength="30"
                                    placeholder="zip_code" required="" value="<?php echo e(old('zip_code')); ?>" autofocus>
                                <?php if($errors->has('zip_code')): ?>
                                    <span class="help-block">
                                        <strong><?php echo e($errors->first('zip_code')); ?></strong>
                                    </span>
                                <?php endif; ?>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <div class="form-group <?php echo e($errors->has('owner') ? 'has-error' : ''); ?>">
                                <label for="nome">owner</label>
                                <input type="text" name="owner" class="form-control" maxlength="30"
                                    placeholder="owner" required="" value="<?php echo e(old('owner')); ?>" autofocus>
                                <?php if($errors->has('owner')): ?>
                                    <span class="help-block">
                                        <strong><?php echo e($errors->first('owner')); ?></strong>
                                    </span>
                                <?php endif; ?>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <div class="form-group <?php echo e($errors->has('cell_phone') ? 'has-error' : ''); ?>">
                                <label for="nome">cell_phone</label>
                                <input type="text" name="cell_phone" class="form-control" maxlength="30"
                                    placeholder="cell_phone" required="" value="<?php echo e(old('cell_phone')); ?>" autofocus>
                                <?php if($errors->has('cell_phone')): ?>
                                    <span class="help-block">
                                        <strong><?php echo e($errors->first('cell_phone')); ?></strong>
                                    </span>
                                <?php endif; ?>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <div class="form-group <?php echo e($errors->has('bedrooms') ? 'has-error' : ''); ?>">
                                <label for="nome">bedrooms</label>
                                <input type="text" name="bedrooms" class="form-control" maxlength="30"
                                    placeholder="bedrooms" required="" value="<?php echo e(old('bedrooms')); ?>" autofocus>
                                <?php if($errors->has('bedrooms')): ?>
                                    <span class="help-block">
                                        <strong><?php echo e($errors->first('bedrooms')); ?></strong>
                                    </span>
                                <?php endif; ?>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <div class="form-group <?php echo e($errors->has('baths') ? 'has-error' : ''); ?>">
                                <label for="nome">baths</label>
                                <input type="text" name="baths" class="form-control" maxlength="30"
                                    placeholder="baths" required="" value="<?php echo e(old('baths')); ?>" autofocus>
                                <?php if($errors->has('baths')): ?>
                                    <span class="help-block">
                                        <strong><?php echo e($errors->first('baths')); ?></strong>
                                    </span>
                                <?php endif; ?>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <div class="form-group <?php echo e($errors->has('basement') ? 'has-error' : ''); ?>">
                                <label for="nome">basement</label>
                                <input type="text" name="basement" class="form-control" maxlength="30"
                                    placeholder="basement" required="" value="<?php echo e(old('basement')); ?>" autofocus>
                                <?php if($errors->has('basement')): ?>
                                    <span class="help-block">
                                        <strong><?php echo e($errors->first('basement')); ?></strong>
                                    </span>
                                <?php endif; ?>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <div class="form-group <?php echo e($errors->has('garage') ? 'has-error' : ''); ?>">
                                <label for="nome">garage</label>
                                <input type="text" name="garage" class="form-control" maxlength="30"
                                    placeholder="garage" required="" value="<?php echo e(old('garage')); ?>" autofocus>
                                <?php if($errors->has('garage')): ?>
                                    <span class="help-block">
                                        <strong><?php echo e($errors->first('garage')); ?></strong>
                                    </span>
                                <?php endif; ?>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <div class="form-group <?php echo e($errors->has('occupancy') ? 'has-error' : ''); ?>">
                                <label for="nome">occupancy</label>
                                <input type="text" name="occupancy" class="form-control" maxlength="30"
                                    placeholder="occupancy" required="" value="<?php echo e(old('occupancy')); ?>" autofocus>
                                <?php if($errors->has('occupancy')): ?>
                                    <span class="help-block">
                                        <strong><?php echo e($errors->first('occupancy')); ?></strong>
                                    </span>
                                <?php endif; ?>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <div class="form-group <?php echo e($errors->has('rent') ? 'has-error' : ''); ?>">
                                <label for="nome">rent</label>
                                <input type="text" name="rent" class="form-control" maxlength="30"
                                    placeholder="rent" required="" value="<?php echo e(old('rent')); ?>" autofocus>
                                <?php if($errors->has('rent')): ?>
                                    <span class="help-block">
                                        <strong><?php echo e($errors->first('rent')); ?></strong>
                                    </span>
                                <?php endif; ?>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <div class="form-group <?php echo e($errors->has('mort_bal') ? 'has-error' : ''); ?>">
                                <label for="nome">mort_bal</label>
                                <input type="text" name="mort_bal" class="form-control" maxlength="30"
                                    placeholder="mort_bal" required="" value="<?php echo e(old('mort_bal')); ?>" autofocus>
                                <?php if($errors->has('mort_bal')): ?>
                                    <span class="help-block">
                                        <strong><?php echo e($errors->first('mort_bal')); ?></strong>
                                    </span>
                                <?php endif; ?>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <div class="form-group <?php echo e($errors->has('prop_taxes') ? 'has-error' : ''); ?>">
                                <label for="nome">prop_taxes</label>
                                <input type="text" name="prop_taxes" class="form-control" maxlength="30"
                                    placeholder="prop_taxes" required="" value="<?php echo e(old('prop_taxes')); ?>" autofocus>
                                <?php if($errors->has('prop_taxes')): ?>
                                    <span class="help-block">
                                        <strong><?php echo e($errors->first('prop_taxes')); ?></strong>
                                    </span>
                                <?php endif; ?>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <div class="form-group <?php echo e($errors->has('asking_price') ? 'has-error' : ''); ?>">
                                <label for="nome">asking_price</label>
                                <input type="text" name="asking_price" class="form-control" maxlength="30"
                                    placeholder="asking_price" required="" value="<?php echo e(old('asking_price')); ?>"
                                    autofocus>
                                <?php if($errors->has('asking_price')): ?>
                                    <span class="help-block">
                                        <strong><?php echo e($errors->first('asking_price')); ?></strong>
                                    </span>
                                <?php endif; ?>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <div class="form-group <?php echo e($errors->has('mls_comps') ? 'has-error' : ''); ?>">
                                <label for="nome">mls_comps</label>
                                <input type="text" name="mls_comps" class="form-control" maxlength="30"
                                    placeholder="mls_comps" required="" value="<?php echo e(old('mls_comps')); ?>" autofocus>
                                <?php if($errors->has('mls_comps')): ?>
                                    <span class="help-block">
                                        <strong><?php echo e($errors->first('mls_comps')); ?></strong>
                                    </span>
                                <?php endif; ?>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <div class="form-group <?php echo e($errors->has('zillow') ? 'has-error' : ''); ?>">
                                <label for="nome">zillow</label>
                                <input type="text" name="zillow" class="form-control" maxlength="30"
                                    placeholder="zillow" required="" value="<?php echo e(old('zillow')); ?>" autofocus>
                                <?php if($errors->has('zillow')): ?>
                                    <span class="help-block">
                                        <strong><?php echo e($errors->first('zillow')); ?></strong>
                                    </span>
                                <?php endif; ?>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <div class="form-group <?php echo e($errors->has('comments') ? 'has-error' : ''); ?>">
                                <label for="nome">comments</label>
                                <input type="text" name="comments" class="form-control" maxlength="30"
                                    placeholder="comments" required="" value="<?php echo e(old('comments')); ?>" autofocus>
                                <?php if($errors->has('comments')): ?>
                                    <span class="help-block">
                                        <strong><?php echo e($errors->first('comments')); ?></strong>
                                    </span>
                                <?php endif; ?>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <div class="form-group <?php echo e($errors->has('notes') ? 'has-error' : ''); ?>">
                                <label for="nome">notes</label>
                                <input type="text" name="notes" class="form-control" maxlength="30"
                                    placeholder="notes" required="" value="<?php echo e(old('notes')); ?>" autofocus>
                                <?php if($errors->has('notes')): ?>
                                    <span class="help-block">
                                        <strong><?php echo e($errors->first('notes')); ?></strong>
                                    </span>
                                <?php endif; ?>
                            </div>
                        </div>



                        
                        <div class="col-lg-6"></div>
                        <div class="col-lg-6">
                            <input type="submit" class="btn btn-primary pull-right">
                        </div>

                    </form>
                </div>
            </div>
        </div>
    </div>

<?php $__env->stopSection(); ?>

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

    

<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.AdminLTE.index', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/roy/Laravel-AdminLTE/resources/views/leads/create.blade.php ENDPATH**/ ?>