
<?php $__env->startSection('title'); ?>
    <?php echo e(__('Add New Customer')); ?>

<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
    <div class="main-content">
        <div class="page-title">
            <div class="container-fluid">
                <div class="row">
                    <div class="col">
                        <div class="title-content">
                            <h2 class="title"><?php echo e(__('Add New Customer')); ?></h2>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="container-fluid">
            <div class="row">

                <div class="col-xl-12">
                    <form action="<?php echo e(route('admin.user.store')); ?>" method="post" enctype="multipart/form-data">
                        <?php echo csrf_field(); ?>
                        <div class="site-card">
                            <div class="site-card-header">
                                <h4 class="title"><?php echo e(__('Basic Info')); ?></h4>
                            </div>
                            <div class="site-card-body">
                                <div class="row">
                                    <div class="col-xl-4 col-lg-6 col-md-6 col-sm-6">
                                        <div class="site-input-groups">
                                            <label for="" class="box-input-label"><?php echo e(__('First Name:')); ?> <span
                                                    class="text-danger">*</span></label>
                                            <input type="text" name="fname" class="box-input mb-0"
                                                value="<?php echo e(old('fname')); ?>" required />
                                        </div>
                                    </div>
                                    <div class="col-xl-4 col-lg-6 col-md-6 col-sm-6">
                                        <div class="site-input-groups">
                                            <label for="" class="box-input-label"><?php echo e(__('Last Name:')); ?> <span
                                                    class="text-danger">*</span></label>
                                            <input type="text" name="lname" class="box-input mb-0"
                                                value="<?php echo e(old('lname')); ?>" required />
                                        </div>
                                    </div>
                                    <div class="col-xl-4 col-lg-6 col-md-6 col-sm-6">
                                        <div class="site-input-groups">
                                            <label for="" class="box-input-label"><?php echo e(__('Gender:')); ?> <span
                                                    class="text-danger">*</span></label>
                                            <select name="gender" class="form-control form-select">
                                                <option value="" selected><?php echo e(__('Select Gender')); ?></option>
                                                <option value="male" <?php if(old('gender') == 'male'): echo 'selected'; endif; ?>><?php echo e(__('Male')); ?>

                                                </option>
                                                <option value="female" <?php if(old('gender') == 'female'): echo 'selected'; endif; ?>><?php echo e(__('Female')); ?>

                                                </option>
                                                <option value="others" <?php if(old('gender') == 'others'): echo 'selected'; endif; ?>><?php echo e(__('Others')); ?>

                                                </option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="col-xl-4 col-lg-6 col-md-6 col-sm-6">
                                        <div class="site-input-groups">
                                            <label for="" class="box-input-label"><?php echo e(__('Email Address:')); ?> <span
                                                    class="text-danger">*</span></label>
                                            <input type="email" name="email" class="box-input mb-0"
                                                value="<?php echo e(old('email')); ?>" required />
                                        </div>
                                    </div>
                                    <div class="col-xl-4 col-lg-6 col-md-6 col-sm-6">
                                        <div class="site-input-groups">
                                            <label for="" class="box-input-label"><?php echo e(__('Country:')); ?></label>
                                            <input type="text" class="box-input" name="country"
                                                value="<?php echo e(old('country')); ?>">
                                        </div>
                                    </div>
                                    <div class="col-xl-4 col-lg-6 col-md-6 col-sm-6">
                                        <div class="site-input-groups">
                                            <label for="" class="box-input-label"><?php echo e(__('City:')); ?></label>
                                            <input type="text" name="city" class="box-input"
                                                value="<?php echo e(old('city')); ?>">
                                        </div>
                                    </div>
                                    <div class="col-xl-4 col-lg-6 col-md-6 col-sm-6">
                                        <div class="site-input-groups">
                                            <label for="" class="box-input-label"><?php echo e(__('Zip Code:')); ?></label>
                                            <input type="text" class="box-input" name="zip_code"
                                                value="<?php echo e(old('zip_code')); ?>">
                                        </div>
                                    </div>
                                    <div class="col-xl-4 col-lg-6 col-md-6 col-sm-6">
                                        <div class="site-input-groups">
                                            <label for="" class="box-input-label"><?php echo e(__('Address:')); ?></label>
                                            <input type="text" class="box-input" name="address"
                                                value="<?php echo e(old('address')); ?>">
                                        </div>
                                    </div>
                                    <div class="col-xl-4 col-lg-6 col-md-6 col-sm-6">
                                        <div class="site-input-groups">
                                            <label for="" class="box-input-label"><?php echo e(__('Company Name:')); ?></label>
                                            <input type="text" class="box-input" name="company_name"
                                                value="<?php echo e(old('company_name')); ?>">
                                        </div>
                                    </div>
                                    <div class="col-xl-4 col-lg-6 col-md-6 col-sm-6">
                                        <div class="site-input-groups">
                                            <label for="" class="box-input-label"><?php echo e(__('Password:')); ?> <span
                                                    class="text-danger">*</span></label>
                                            <input type="password" name="password" class="box-input mb-0"
                                                value="<?php echo e(old('password')); ?>" required />
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="action-btns">
                            <button type="submit" class="site-btn-sm primary-btn me-2">
                                <i data-lucide="user-plus"></i>
                                <?php echo e(__('Add New')); ?>

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

<?php $__env->startSection('script'); ?>
    <script>
        "use strict"

        $('#branch_id').select2();
        $('#country').select2();
    </script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('backend.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /www/wwwroot/mxawfis.atharvatek.com/resources/views/backend/user/create.blade.php ENDPATH**/ ?>