<?php $__env->startSection('title', 'POS Settings'); ?>

<?php $__env->startSection('page-header'); ?>
    <header class="header bg-ui-general">
        <div class="header-info">
            <h1 class="header-title">
                <strong>Settings</strong>
            </h1>
        </div>

        <div class="header-action">
            <nav class="nav">
                <a class="nav-link active" href="<?php echo e(route('pos.pos_setting')); ?>">
                    <i class="fa fa-cogs"></i>
                    Settings
                </a>
            </nav>
        </div>
    </header>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
    <div class="col-lg-12 col-md-12">
        <form class="form-type-material" action="<?php echo e(route('pos.pos_setting_update')); ?>" method="POST"
            enctype="multipart/form-data">
            <?php echo csrf_field(); ?>

        <div class="card">
            <h4 class="card-title fw-400 bg-secondary">Company Details</h4>

            <div class="card-body">
                <div class="flexbox gap-items-4">
                    <img class="avater img-thumbnail" width="200" src="<?php echo e(asset($pos_setting->logo)); ?>" alt="Large Logo">

                    <div class="flex-grow">
                        <h5><?php echo e($pos_setting->name); ?></h5>
                        <div class="d-flex flex-column flex-sm-row gap-y gap-items-2 mt-16">
                            <div class="file-group file-group-inline">
                                <button class="btn btn-sm btn-w-lg btn-bold btn-secondary file-browser" type="button">Change
                                    Logo</button>
                                <input type="file" name="logo">
                                <?php if($errors->has('logo')): ?>
                                    <div class="invalid-feedback"><?php echo e($errors->first('logo')); ?></div>
                                <?php endif; ?>
                            </div>
                        </div>
                    </div>
                </div>

                <hr>

                <div class="row">
                    <div class="col-md-6">
                            <input class="form-control <?php echo e($errors->has('company') ? 'is-invalid' : ''); ?>" type="text"
                                name="company" value="<?php echo e($pos_setting->company); ?>">
                            <label>Company</label>
                            <?php if($errors->has('company')): ?>
                                <div class="invalid-feedback"><?php echo e($errors->first('company')); ?></div>
                            <?php endif; ?>
                    </div>

                    <div class="col-md-6">
                        <div class="">
                            <input class="form-control <?php echo e($errors->has('email') ? 'is-invalid' : ''); ?>" type="email"
                                name="email" value="<?php echo e($pos_setting->email); ?>">
                            <label>Email Address</label>
                            <?php if($errors->has('email')): ?>
                                <div class="invalid-feedback"><?php echo e($errors->first('email')); ?></div>
                            <?php endif; ?>
                        </div>
                    </div>

                    <div class="col-md-6">
                        <div class="">
                            <input class="form-control <?php echo e($errors->has('phone') ? 'is-invalid' : ''); ?>" type="text"
                                value="<?php echo e($pos_setting->phone); ?>" name="phone">
                            <label>Phone</label>
                            <?php if($errors->has('phone')): ?>
                                <div class="invalid-feedback"><?php echo e($errors->first('phone')); ?></div>
                            <?php endif; ?>
                        </div>
                    </div>

                    <div class=" col-md-6">
                        <input class="form-control <?php echo e($errors->has('address') ? 'is-invalid' : ''); ?>" type="text"
                            value="<?php echo e($pos_setting->address); ?>" name="address">
                        <label>Address</label>
                        <?php if($errors->has('address')): ?>
                            <div class="invalid-feedback"><?php echo e($errors->first('address')); ?></div>
                        <?php endif; ?>
                    </div>

                    <div class="col-12 mt-3">
                        <button class="btn btn-primary" type="submit">Save Changes</button>
                    </div>
                </div>
            </div>
        </div>

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

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

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

<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/demosoftghor/sm.demo.softghor.com/resources/views/pages/settings/pos_setting.blade.php ENDPATH**/ ?>