ok
Direktori : /home2/selectio/www/a1tex.in/storage/framework/views/ |
Current File : /home2/selectio/www/a1tex.in/storage/framework/views/6f833c17edb3c948a51ddd636f94f599595fe90e.php |
<?php $__env->startSection('title', \App\CPU\translate('Employee Add')); ?> <?php $__env->startPush('css_or_js'); ?> <link href="<?php echo e(asset('public/assets/back-end')); ?>/css/select2.min.css" rel="stylesheet"/> <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>"> <?php $__env->stopPush(); ?> <?php $__env->startSection('content'); ?> <div class="content container-fluid"> <!-- Page Title --> <div class="mb-3"> <h2 class="h1 mb-0 text-capitalize d-flex align-items-center gap-2"> <img src="<?php echo e(asset('/public/assets/back-end/img/add-new-employee.png')); ?>" alt=""> <?php echo e(\App\CPU\translate('Add_New_Employee')); ?> </h2> </div> <!-- End Page Title --> <!-- Content Row --> <div class="row"> <div class="col-md-12"> <form action="<?php echo e(route('admin.employee.add-new')); ?>" method="post" enctype="multipart/form-data" style="text-align: <?php echo e(Session::get('direction') === "rtl" ? 'right' : 'left'); ?>;"> <?php echo csrf_field(); ?> <div class="card"> <div class="card-body"> <h5 class="mb-0 page-header-title d-flex align-items-center gap-2 border-bottom pb-3 mb-3"> <i class="tio-user"></i> <?php echo e(\App\CPU\translate('General_Information')); ?> </h5> <div class="row"> <div class="col-md-6"> <div class="form-group"> <label for="name" class="title-color"><?php echo e(\App\CPU\translate('Full Name')); ?></label> <input type="text" name="name" class="form-control" id="name" placeholder="<?php echo e(\App\CPU\translate('Ex')); ?> : Jhon Doe" value="<?php echo e(old('name')); ?>" required> </div> <div class="form-group"> <label for="name" class="title-color"><?php echo e(\App\CPU\translate('Phone')); ?></label> <input type="number" name="phone" value="<?php echo e(old('phone')); ?>" class="form-control" id="phone" placeholder="<?php echo e(\App\CPU\translate('Ex')); ?> : +88017********" required> </div> <div class="form-group"> <label for="name" class="title-color"><?php echo e(\App\CPU\translate('Role')); ?></label> <select class="form-control" name="role_id"> <option value="0" selected disabled>---<?php echo e(\App\CPU\translate('select')); ?>--- </option> <?php $__currentLoopData = $rls; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $r): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($r->id); ?>" <?php echo e(old('role_id')==$r->id?'selected':''); ?>><?php echo e($r->name); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label for="name" class="title-color"><?php echo e(\App\CPU\translate('employee_image')); ?></label> <span class="text-info">( <?php echo e(\App\CPU\translate('ratio')); ?> 1:1 )</span> <div class="form-group"> <div class="custom-file text-left"> <input type="file" name="image" id="customFileUpload" class="custom-file-input" accept=".jpg, .png, .jpeg, .gif, .bmp, .tif, .tiff|image/*" required> <label class="custom-file-label" for="customFileUpload"><?php echo e(\App\CPU\translate('choose')); ?> <?php echo e(\App\CPU\translate('file')); ?></label> </div> </div> </div> <div class="text-center"> <img class="upload-img-view" id="viewer" src="<?php echo e(asset('public\assets\back-end\img\400x400\img2.jpg')); ?>" alt="Product thumbnail"/> </div> </div> </div> </div> </div> <div class="card mt-3"> <div class="card-body"> <h5 class="mb-0 page-header-title d-flex align-items-center gap-2 border-bottom pb-3 mb-3"> <i class="tio-user"></i> <?php echo e(\App\CPU\translate('General_Information')); ?> </h5> <div class="row"> <div class="col-md-4"> <div class="form-group"> <label for="name" class="title-color"><?php echo e(\App\CPU\translate('Email')); ?></label> <input type="email" name="email" value="<?php echo e(old('email')); ?>" class="form-control" id="email" placeholder="<?php echo e(\App\CPU\translate('Ex')); ?> : ex@gmail.com" required> </div> </div> <div class="col-md-4"> <div class="form-group"> <label for="password" class="title-color"><?php echo e(\App\CPU\translate('password')); ?></label> <input type="text" name="password" class="form-control" id="password" placeholder="<?php echo e(\App\CPU\translate('Password')); ?>" required> </div> </div> <div class="col-md-4"> <div class="form-group"> <label for="confirm_password" class="title-color"><?php echo e(\App\CPU\translate('confirm_password')); ?></label> <input type="text" name="confirm_password" class="form-control" id="confirm_password" placeholder="<?php echo e(\App\CPU\translate('Confirm Password')); ?>" required> </div> </div> </div> <div class="d-flex justify-content-end gap-3"> <button type="reset" id="reset" class="btn btn-secondary px-4"><?php echo e(\App\CPU\translate('reset')); ?></button> <button type="submit" class="btn btn--primary px-4"><?php echo e(\App\CPU\translate('submit')); ?></button> </div> </div> </div> </form> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startPush('script'); ?> <script src="<?php echo e(asset('public/assets/back-end')); ?>/js/select2.min.js"></script> <script> function readURL(input) { if (input.files && input.files[0]) { var reader = new FileReader(); reader.onload = function (e) { $('#viewer').attr('src', e.target.result); } reader.readAsDataURL(input.files[0]); } } $("#customFileUpload").change(function () { readURL(this); }); $(".js-example-theme-single").select2({ theme: "classic" }); $(".js-example-responsive").select2({ width: 'resolve' }); </script> <script src="<?php echo e(asset('public/assets/back-end/js/spartan-multi-image-picker.js')); ?>"></script> <script type="text/javascript"> $(function () { $("#coba").spartanMultiImagePicker({ fieldName: 'identity_image[]', maxCount: 5, rowHeight: 'auto', groupClassName: 'col-6 col-lg-4', maxFileSize: '', placeholderImage: { image: '<?php echo e(asset('public/assets/back-end/img/400x400/img2.jpg')); ?>', width: '100%' }, dropFileLabel: "Drop Here", onAddRow: function (index, file) { }, onRenderedPreview: function (index) { }, onRemoveRow: function (index) { }, onExtensionErr: function (index, file) { toastr.error('Please only input png or jpg type file', { CloseButton: true, ProgressBar: true }); }, onSizeErr: function (index, file) { toastr.error('File size too big', { CloseButton: true, ProgressBar: true }); } }); }); </script> <?php $__env->stopPush(); ?> <?php echo $__env->make('layouts.back-end.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home2/selectio/public_html/a1tex.in/resources/views/admin-views/employee/add-new.blade.php ENDPATH**/ ?>