<?php $__env->startSection('content'); ?>
    <div class="content-wrapper">
        <!-- Content -->

        <div class="container-xxl flex-grow-1 container-p-y">
            <h4 class="fw-bold py-3 mb-4"><span class="text-muted fw-light">Site /</span> Settings </h4>

            <div class="row">
                <!-- Form controls -->
                <div class="col-md-3"></div>
                <div class="col-md-6">
                    <div class="card mb-4">
                        <?php if(session('success')): ?>
                            <div class="alert alert-success">
                                <?php echo e(session('success')); ?>

                            </div>
                        <?php endif; ?>
                        <h5 class="card-header">Site Settings</h5>
                        <div class="card-body">
                            <form action="<?php echo e(route('admin.changesetting', $setting->id)); ?>" method="POST" enctype="multipart/form-data">
                                <?php echo csrf_field(); ?>
                                <div class="mb-3">
                                    <label class="form-label" for="unit_price">Unit Price ( Default $9.90 )</label>
                                    <input type="text" class="form-control" name="unit_price"
                                        value="<?php echo e(old('unit_price', $setting->unit_price)); ?>" placeholder="Unit Price" />
                                    <?php if($errors->has('unit_price')): ?>
                                        <span class="text-danger"><?php echo e($errors->first('unit_price')); ?></span>
                                    <?php endif; ?>
                                </div>

                                <div class="mb-3">
                                    <label class="form-label">Persentage ( Default 4.5%)</label>
                                    <input type="text" class="form-control" name="persentage"
                                        placeholder="Enter Persentage" value="<?php echo e(old('persentage', $setting->persentage)); ?>" />
                                    <?php if($errors->has('persentage')): ?>
                                        <span class="text-danger"><?php echo e($errors->first('persentage')); ?></span>
                                    <?php endif; ?>
                                </div>

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

                    </div>
                </div>

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

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/netmente/Desktop/Alefi/resources/views/admin/settings.blade.php ENDPATH**/ ?>