<?php $__env->startSection('content'); ?>
<section class="forms">
    <div class="container-fluid">
        <div class="card">
            <div class="card-header"><h4><?php echo e(trans('file.Add Supplier')); ?></h4></div>
            <div class="card-body">
                <?php if($errors->any()): ?><div class="alert alert-danger"><?php echo e($errors->first()); ?></div><?php endif; ?>
                <?php echo Form::open(['route' => 'supplier.store', 'method' => 'post', 'files' => true]); ?>

                <div class="row">
                    <div class="col-md-6 form-group">
                        <label><?php echo e(trans('file.name')); ?> *</label>
                        <input type="text" name="name" value="<?php echo e(old('name')); ?>" required class="form-control">
                    </div>
                    <div class="col-md-6 form-group">
                        <label><?php echo e(trans('file.Company Name')); ?> *</label>
                        <input type="text" name="company_name" value="<?php echo e(old('company_name')); ?>" required class="form-control">
                    </div>
                    <div class="col-md-6 form-group">
                        <label><?php echo e(trans('file.Phone Number')); ?> *</label>
                        <input type="text" name="phone_number" value="<?php echo e(old('phone_number')); ?>" required class="form-control">
                    </div>
                    <div class="col-md-6 form-group">
                        <label><?php echo e(trans('file.Address')); ?> *</label>
                        <input type="text" name="address" value="<?php echo e(old('address')); ?>" required class="form-control">
                    </div>
                    <div class="col-md-12 form-group">
                        <label><?php echo e(trans('file.Note')); ?></label>
                        <textarea name="note" rows="4" class="form-control"><?php echo e(old('note')); ?></textarea>
                    </div>
                    <div class="col-md-6 form-group">
                        <label><?php echo e(trans('file.Image')); ?></label>
                        <input type="file" name="image" accept=".jpg,.jpeg,.png,.webp" class="form-control">
                        <small class="form-text text-muted"><?php echo e(trans('file.Maximum image size is 2 MB')); ?></small>
                    </div>
                    <div class="col-md-12">
                        <button type="submit" class="btn btn-primary"><?php echo e(trans('file.submit')); ?></button>
                    </div>
                </div>
                <?php echo Form::close(); ?>

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

<?php $__env->startPush('scripts'); ?>
<script>
    $("ul#people").siblings('a').attr('aria-expanded', 'true');
    $("ul#people").addClass('show');
    $("ul#people #supplier-create-menu").addClass('active');
</script>
<?php $__env->stopPush(); ?>

<?php echo $__env->make('backend.layout.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\Users\MHNazary\Pictures\sellbox\resources\views\backend\supplier\create.blade.php ENDPATH**/ ?>