<?php $__env->startSection('main-container'); ?>
<main id="main" class="main">
<?php echo $__env->make('cdn', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

<div class="row page-titles mx-0">

    <div class="col-sm-6 p-md-0">

        <div class="breadcrumb-range-picker">

            <h4>Add New Diesel Price</h4>

        </div>

    </div>

     <div class="col-sm-6 p-md-0 justify-content-sm-end mt-2 mt-sm-0 d-flex">

        <a href="<?php echo e(route('diesels')); ?>">

            <button type="button" class="btns success-btn btn-sm">

                <i class="fas fa-arrow-left"></i> Back

            </button>

        </a>

    </div>

</div>

<div class="content-wrapper mt-4">

    <?php echo $__env->make('flash_msg', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

    <div class="row">

        <div class="col-12">

            <div class="card">

                <div class="card-body">

                    <form action="<?php echo e(route('diesel.store')); ?>" method="POST" class="form-sample" enctype="multipart/form-data">
                            <?php echo e(csrf_field()); ?>


                        <div class="row">

                            <div class="form-group col-lg-6">
                                <label>Pump Name<span class="text-danger">*</span></label>
                                <input type="text" class="form-control" name="description" value="<?php echo e(old('description')); ?>" placeholder="Pump Name" required>
                                <span class="text-danger"> <?php $__errorArgs = ['description'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><?php echo e($message); ?><?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?> </span>
                            </div>

                            <div class="form-group col-lg-6">
                                <label>Price<span class="text-danger">*</span></label>
                                <input type="text" class="form-control" name="price" value="<?php echo e(old('price')); ?>" placeholder="Price" required>
                                <span class="text-danger"> <?php $__errorArgs = ['price'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><?php echo e($message); ?><?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?> </span>
                            </div>

                            <div class="form-group col-lg-6">
                                <label>Valid From Date<span class="text-danger">*</span></label>
                                <input type="date" class="form-control" name="valid_from" value="<?php echo e(old('valid_from')); ?>" placeholder="Valid From Date" required>
                                <span class="text-danger"> <?php $__errorArgs = ['valid_from'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><?php echo e($message); ?><?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?> </span>
                            </div>

                            <div class="form-group col-lg-6">
                                <label>Valid Up To Date<span class="text-danger">*</span></label>
                                <input type="date" class="form-control" name="valid_up_to" value="<?php echo e(old('valid_up_to')); ?>" placeholder="Valid Up To Date" required>
                                <span class="text-danger"> <?php $__errorArgs = ['valid_up_to'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><?php echo e($message); ?><?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?> </span>
                            </div>

                            <div class="text-center">
                                <button type="submit" class="btns primary-btn btn-sm">Submit</button>
                            </div>

                        </div>

                    </form>

                </div>

            </div>

        </div>

    </div>

    

</div>

</main><!-- End #main -->

<?php $__env->stopSection(); ?>
<?php echo $__env->make('backend.company.layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/vinecork/public_html/webdev/logisticcrm/resources/views/seller/diesel/create.blade.php ENDPATH**/ ?>