<?php $__env->startSection('title', 'Company Profile'); ?>
<?php $__env->startSection('content'); ?>
<div class="card">
    <div class="card-head"><h3 style="margin:0;">Company Profile</h3></div>
    <form method="POST" action="<?php echo e(route('admin.settings.company.save')); ?>" enctype="multipart/form-data">
        <?php echo csrf_field(); ?>
        <div class="grid cols-2">
            <div><label>Company Name</label><input class="input" name="company_name" value="<?php echo e(old('company_name', $settings['company_name'])); ?>" required></div>
            <div><label>Mobile</label><input class="input" name="mobile" value="<?php echo e(old('mobile', $settings['mobile'])); ?>"></div>
            <div><label>Email</label><input class="input" type="email" name="email" value="<?php echo e(old('email', $settings['email'])); ?>"></div>
            <div><label>Website</label><input class="input" name="website" value="<?php echo e(old('website', $settings['website'])); ?>"></div>
            <div><label>Invoice Prefix</label><input class="input" name="invoice_prefix" value="<?php echo e(old('invoice_prefix', $settings['invoice_prefix'])); ?>"></div>
            <div><label>Logo</label><input class="input" type="file" name="logo"></div>
            <div style="grid-column:1/-1;"><label>Address</label><textarea class="input" rows="4" name="address"><?php echo e(old('address', $settings['address'])); ?></textarea></div>
            <?php if(!empty($settings['logo'])): ?>
            <div style="grid-column:1/-1;">
                <div class="muted" style="margin-bottom:8px;">Current Logo</div>
                <img src="<?php echo e(asset('storage/'.$settings['logo'])); ?>" alt="logo" style="max-height:70px;border-radius:10px;background:#fff;padding:8px;">
            </div>
            <?php endif; ?>
        </div>
        <div style="margin-top:14px;"><button class="btn btn-primary">Save Settings</button></div>
    </form>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH J:\xampp\htdocs\pos\resources\views/admin/settings/company.blade.php ENDPATH**/ ?>