<!-- Modal Form -->
<div class="modal fade" tabindex="-1" id="add-user">
    <div class="modal-dialog modal-xl" role="document">
        <div class="modal-content">
                <a href="#" class="close" data-dismiss="modal" aria-label="Close">
                    <em class="icon ni ni-cross"></em>
                </a>
            <div class="modal-body">
                <form class="form-submit form-validate is-alter" id="add-user-formData">
                    <?php echo csrf_field(); ?>
                    <div class="row g-gs">
                        <div class="col-md-4">
                            <div class="form-group">
                                <label class="form-label" for="role">Role</label>
                                <div class="form-control-wrap ">
                                    <select class="form-select" name="role">
                                        <option value="0">User</option>
                                        <option value="1">Admin</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4">
                            <div class="form-group">
                                <label class="form-label" for="au-email">Email Address</label>
                                <div class="form-control-wrap">
                                    <input type="email" class="form-control" name="email" required>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4">
                            <div class="form-group">
                                <label class="form-label" for="au-firstname">First Name</small></label>
                                <div class="form-control-wrap">
                                    <input type="text" class="form-control" name="firstname" required>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4">
                            <div class="form-group">
                                <label class="form-label" for="au-lastname">Last Name</small></label>
                                <div class="form-control-wrap">
                                    <input type="text" class="form-control" name="lastname" required>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4">
                            <div class="form-group">
                                <label class="form-label" for="au-middlename">Middle Name</small></label>
                                <div class="form-control-wrap">
                                    <input type="text" class="form-control" name="middlename">
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4">
                            <div class="form-group">
                                <label class="form-label" for="au-username">Username</label>
                                <div class="form-control-wrap">
                                    <input type="text" class="form-control" name="username" required>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4">
                            <div class="form-group">
                                <label class="form-label" for="au-password">Password</label>
                                <div class="form-control-wrap">
                                    <input type="password" class="form-control" name="password" required>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4">
                            <div class="form-group">
                                <label class="form-label" for="au-phone">Phone Number</label>
                                <div class="form-control-wrap">
                                    <input type="text" class="form-control" name="phone_number" required>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4">
                            <div class="form-group">
                                <label class="form-label" for="au-dob">Date of Birth</label>
                                <div class="form-control-wrap">
                                    <input type="text" class="form-control date-picker-alt" name="date_of_birth" data-date-format="yyyy-mm-dd" required>
                                </div>
                                <div class="form-note">Date format <code>yyyy-mm-dd</code></div>
                            </div>
                        </div>
                        <div class="col-md-4">
                            <div class="form-group">
                                <label class="form-label" for="au-occupation">Occupationr</label>
                                <div class="form-control-wrap">
                                    <input type="text" class="form-control" name="occupation" required>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4">
                            <div class="form-group">
                                <label class="form-label" for="au-gender">Gender</label>
                                <div class="form-control-wrap">
                                    <select name="gender" id="" class="form-select" required>
                                        <option>Male</option>
                                        <option>Female</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4">
                            <div class="form-group">
                                <label class="form-label" for="au-country">Country</label>
                                <div class="form-control-wrap">
                                    <select name="country" class="form-control" required>
                                        <?php $__currentLoopData = all_countries(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $country): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <option value="<?php echo e(strtoupper($key)); ?>"><?php echo e($country); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4">
                            <div class="form-group">
                                <label class="form-label" for="au-state">State</label>
                                <div class="form-control-wrap">
                                    <input type="text" class="form-control" name="state" required>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4">
                            <div class="form-group">
                                <label class="form-label" for="au-address">Address</label>
                                <div class="form-control-wrap">
                                    <input type="text" class="form-control" name="address" required>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4">
                            <div class="form-group">
                                <label class="form-label" for="au-zip">Zip Code</label>
                                <div class="form-control-wrap">
                                    <input type="text" class="form-control" name="zip" required>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4">
                            <div class="form-group">
                                <label class="form-label">Currency</label>
                                <div class="form-control-wrap">
                                    <select name="account_currency" class="form-select" data-placeholder="--Please Select--" required>
                                        <?php $__currentLoopData = all_currencies(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $currency): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <option value="<?php echo e($currency->symbol); ?>"><?php echo e($currency->name); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4">
                            <div class="form-group">
                                <label class="form-label">Account Type</label>
                                <div class="form-control-wrap">
                                    <select name="account_type" class="form-select" data-placeholder="--Please Select--" required>
                                        <?php $__currentLoopData = account_types(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $account_type): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <option value="<?php echo e($account_type->name); ?>"><?php echo e($account_type->name); ?></option>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </select>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4">
                            <div class="form-group">
                                <label class="form-label" for="abalance">Account Balance</label>
                                <div class="form-control-wrap">
                                    <input type="number" step="0.01" min=0 class="form-control" name="balance" required>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-12">
                            <div class="form-group">
                                <button type="submit" class="btn btn-primary btn-add-user"> Create User</button>
                                <button class="btn btn-primary btn-adding-user" style="display: none" type="button" disabled>
                                    <span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
                                    <span> Creating... </span>
                                </button>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<?php /**PATH /home2/fivemill/secure.fivemillionmiles.net/resources/views/admin/modals/add-user.blade.php ENDPATH**/ ?>