<?php if(session()->has('admin_userid')): ?>
   
<?php else: ?> 
 <script>window.location.href="admin";</script>
<?php endif; ?>


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


<div class="container-fluid">
    <div class="row bg-title">
        <div class="col-lg-4 col-md-8 col-sm-4 col-xs-12">
            <h4 class="page-title"><i class="fa fa-plus"></i>&nbsp; Add Manage Parking Providers </h4> </div>
    </div>

    <div class="col-sm-12">
        <div class="white-box">
            <form action="add_provider_submit" method="post"  enctype="multipart/form-data" >
                <?php echo csrf_field(); ?>
                <div class="row">
                    <div class="col-md-6">
                        <div class="form-group">
                            <div class="col-md-3">
                                <label for="location_name">Name</label>
                            </div>
                            <div class="col-md-9">
                                <input type="text" class="form-control" name="provider_name" id="provider_name" required>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-6">
                        <div class="form-group">
                             <div class="col-md-3">
                                <label for="service_type">City</label>
                            </div>
                            <div class="col-md-9">
                                <select class="form-control" id="city_id" name="city_id" required>
                                        <?php 
                                        $get_city = DB::table('city_master')->get();
                                        ?>
                                        <option value="">- Select City -</option>
                                        <?php $__currentLoopData = $get_city; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cate): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($cate->city_id); ?>"><?php echo e($cate->city_name); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                  </select>
                            </div>
                        </div>
                    </div>
                     <div class="clear"></div>
                    <div class="col-md-6">
                        <div class="form-group">
                             <div class="col-md-3">
                                <label for="service_type">Service type</label>
                            </div>
                            <div class="col-md-9">
                                <select class="form-control" id="service_type" name="service_type" required>
                                    <option value="">- Select -</option>
                                    <option value="ParkingService">Parking Service</option>
                                    <option value="RidingService">Riding service</option>
                                    <option value="Park&RidingService">Park & Riding Service</option>
                                    <option value="Meet&GreetService">Meet & Greet Service</option>
                                  </select>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-6">
                        <div class="form-group">
                            <div class="col-md-3">
                                <label for="location_name">Rating</label>
                            </div>
                            <div class="rating col-md-9">
                                <input id="provider_ratings5" name="provider_rating" type="radio" value="5" class="radio-btn hide" />
                                <label for="provider_ratings5" >☆</label>
                                <input id="provider_ratings4" name="provider_rating" type="radio" value="4" class="radio-btn hide" />
                                <label for="provider_ratings4" >☆</label>
                                <input id="provider_ratings3" name="provider_rating" type="radio" value="3" class="radio-btn hide" />
                                <label for="provider_ratings3" >☆</label>
                                <input id="provider_ratings2" name="provider_rating" type="radio" value="2" class="radio-btn hide" />
                                <label for="provider_ratings2" >☆</label>
                                <input id="provider_ratings1" name="provider_rating" type="radio" value="1" class="radio-btn hide" />
                                <label for="provider_ratings1" >☆</label>
                                <div class="clear"></div>
                            </div>
                        </div>
                    </div>
                     <div class="clear"></div>
                    <div class="col-md-6">
                        <div class="form-group">
                            <div class="col-md-3">
                                <label for="logo">Logo</label>
                            </div>
                            <div class="col-md-9">
                                <input type="file" class="form-control" name="logo" id="logo" accept=".jpg,.png,.gif,.jpeg" required>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-6">
                        <div class="form-group">
                            <div class="col-md-3">
                                <label for="description">Description</label>
                            </div>
                            <div class="col-md-9">
                                <input type="text" class="form-control" name="description" id="description" required>
                            </div>
                        </div>
                    </div>
                     <div class="clear"></div>
                    <!-- <div class="col-md-6">
                        <div class="form-group">
                            <div class="col-md-3">
                                <label for="rate">Rate</label>
                            </div>
                            <div class="col-md-9">
                                <input type="text" class="form-control" name="rate" id="rate" required>
                            </div>
                        </div>
                    </div>
                    <div class="clear"></div> -->
                    <div class="col-md-6">
                        <div class="form-group">
                            <div class="col-md-3">
                                <label for="description">No.of Slots</label>
                            </div>
                            <div class="col-md-9">
                                <input type="text" class="form-control" name="noofslots" id="noofslots" required>
                            </div>
                        </div>
                    </div>
                     <div class="col-md-6">
                        <div class="form-group">
                            <div class="col-md-3">
                                <label for="description">Booking Process</label>
                            </div>
                            <div class="radios">
                                <div>
                                    <input type="radio" id="cover" name="available" value="1" required>
                                    <label for="cover">Cover Cancel</label>
                                </div>
                                <div>
                                    <input type="radio" id="booking" name="available" value="2" required>
                                    <label for="booking">Booking Cancel</label>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="clear"></div>
                    <div class="col-md-12">
                    <div class="col-md-2">
                     <label for="description">Price Details</label>
                    </div>
                     <div class="col-md-1">
                        <div class="form-group">
                            <label class="col-md-12">Sunday</label>
                            <div class="col-md-12">
                            <input type="text" placeholder="" class="form-control" id="sunday" name="sunday">
                            </div>
                            <!-- <div class="col-md-3">
                                <label for="description">No.of Slots</label>
                            </div>
                            <div class="col-md-9">
                                <input type="text" class="form-control" name="rate" id="rate" required>
                            </div> -->
                        </div>
                    </div>
                    <div class="col-md-1">
                        <div class="form-group">
                            <label class="col-md-12">Monday</label>
                            <div class="col-md-12">
                            <input type="text" placeholder="" class="form-control" id="monday" name="monday">
                            </div>
                        </div>
                    </div>
                    <div class="col-md-1">
                        <div class="form-group">
                            <label class="col-md-12">Tuesday</label>
                            <div class="col-md-12">
                            <input type="text" placeholder="" class="form-control" id="tuesday" name="tuesday">
                            </div>
                        </div>
                    </div>
                    <div class="col-md-1">
                        <div class="form-group">
                            <label class="col-md-12">Wednesday</label>
                            <div class="col-md-12">
                            <input type="text" placeholder="" class="form-control" id="wednesday" name="wednesday">
                            </div>
                        </div>
                    </div>
                    <div class="col-md-1">
                        <div class="form-group">
                            <label class="col-md-12">Thursday</label>
                            <div class="col-md-12">
                            <input type="text" placeholder="" class="form-control" id="thursday" name="thursday">
                            </div>
                        </div>
                    </div>
                    <div class="col-md-1">
                        <div class="form-group">
                            <label class="col-md-12">Friday</label>
                            <div class="col-md-12">
                            <input type="text" placeholder="" class="form-control" id="friday" name="friday">
                            </div>
                        </div>
                    </div>
                    <div class="col-md-1">
                        <div class="form-group">
                            <label class="col-md-12">Saturday</label>
                            <div class="col-md-12">
                            <input type="text" placeholder="" class="form-control" id="saturday" name="saturday">
                            </div>
                        </div>
                    </div>
                    <div class="col-md-2"></div>
                </div>
                    <div class="clear"></div>
                    <div class="col-md-6">
                       <div class="form-group">
                            <label for="overview">Overview</label>
                            <textarea class="summernote" id="summernote"  name="overview" required></textarea>
                        </div>
                    </div>
                    <div class="col-md-6">
                        <div class="form-group">
                            <label for="returns">Return procedure</label>
                            <textarea class="summernote" id="summernote"  name="returns" required></textarea>
                        </div>
                    </div>
                    <div class="clear"></div>
                    <div class="col-md-6">
                       <div class="form-group">
                            <label for="drop_off">Drop-Off Procedure</label>
                            <textarea class="summernote" id="summernote"  name="drop_off" required></textarea>
                        </div>
                    </div>
                    <div class="col-md-6"></div>
                    <div class="clear"></div>
                    <div class="col-md-12">
                     <div class="text-center">
                            <button type="submit" class="btn btn-success waves-effect waves-light m-r-10">Submit</button>
                            <button type="button" class="btn btn-danger waves-effect waves-light" onclick="window.history.back();">Cancel</button>
                        </div>
                    </div>
                </div>
            </form>
        </div>
    </div>

</div>

<style>
.txt-center {
    text-align: center;
}
.hide {
    display: none;
}

.clear {
    float: none;
    clear: both;
}

.rating {
    width: 140px;
    unicode-bidi: bidi-override;
    direction: rtl;
    text-align: center;
    position: relative;
    font-size: 30px;
}

.rating > label {
    float: right;
    display: inline;
    padding: 0;
    margin: 0;
    position: relative;
    /* width: 1.0em; */
    cursor: pointer;
    color: #ffbe00;
}

.rating > label:hover,
.rating > label:hover ~ label,
.rating > input.radio-btn:checked ~ label {
    color: transparent;
}

.rating > label:hover:before,
.rating > label:hover ~ label:before,
.rating > input.radio-btn:checked ~ label:before,
.rating > input.radio-btn:checked ~ label:before {
    content: "\2605";
    position: absolute;
    left: 0;
    color: #ffbe00;
}

.radios {
    display: flex
}

</style>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('backend.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/chitr171/public_html/indigoparking/resources/views/backend/add-parking-provider.blade.php ENDPATH**/ ?>