[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: 05bf282aaf2f5898770f42817178502f.php
<?php $__env->startSection('content'); ?> <form method="post" class="validate" autocomplete="off" action="<?php echo e(route('staffs.store')); ?>" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <div class="row"> <div class="col-lg-10 offset-lg-1"> <div class="row"> <div class="col-lg-12"> <div class="card"> <div class="card-header"> <span class="panel-title"><?php echo e(_lang('Personal Details')); ?></span> </div> <div class="card-body"> <div class="row"> <div class="col-lg-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('First Name')); ?></label> <input type="text" class="form-control" name="first_name" value="<?php echo e(old('first_name')); ?>" required> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Last Name')); ?></label> <input type="text" class="form-control" name="last_name" value="<?php echo e(old('last_name')); ?>" required> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Fathers Name')); ?></label> <input type="text" class="form-control" name="fathers_name" value="<?php echo e(old('fathers_name')); ?>"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Mothers Name')); ?></label> <input type="text" class="form-control" name="mothers_name" value="<?php echo e(old('mothers_name')); ?>"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Date Of Birth')); ?></label> <input type="text" class="form-control datepicker" name="date_of_birth" value="<?php echo e(old('date_of_birth')); ?>" required> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Email')); ?></label> <input type="text" class="form-control" name="email" value="<?php echo e(old('email')); ?>"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Phone')); ?></label> <input type="text" class="form-control" name="phone" value="<?php echo e(old('phone')); ?>"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('City')); ?></label> <input type="text" class="form-control" name="city" value="<?php echo e(old('city')); ?>"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('State')); ?></label> <input type="text" class="form-control" name="state" value="<?php echo e(old('state')); ?>"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Zip')); ?></label> <input type="text" class="form-control" name="zip" value="<?php echo e(old('zip')); ?>"> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Country')); ?></label> <select class="form-control auto-select select2" data-selected="<?php echo e(old('country')); ?>" name="country"> <option value=""><?php echo e(_lang('Select One')); ?></option> <?php echo e(get_country_list(old('country'))); ?> </select> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Remarks')); ?></label> <textarea class="form-control" name="remarks"><?php echo e(old('remarks')); ?></textarea> </div> </div> </div> </div> </div> </div> <div class="col-lg-6"> <div class="card"> <div class="card-header"> <span class="panel-title"><?php echo e(_lang('Company Details')); ?></span> </div> <div class="card-body"> <div class="row"> <div class="col-lg-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Employee ID')); ?></label> <input type="text" class="form-control" name="employee_id" value="<?php echo e(old('employee_id')); ?>" required> </div> </div> <div class="col-lg-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Department')); ?></label> <select class="form-control auto-select" data-selected="<?php echo e(old('department_id')); ?>" name="department_id" id="department_id" required> <option value=""><?php echo e(_lang('Select One')); ?></option> <?php $__currentLoopData = App\Models\Department::all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $department): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($department->id); ?>"><?php echo e($department->name); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> </div> <div class="col-lg-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Designation')); ?></label> <select class="form-control auto-select" data-selected="<?php echo e(old('designation_id')); ?>" name="designation_id" id="designation_id" required> <option value=""><?php echo e(_lang('Select One')); ?></option> </select> </div> </div> <div class="col-lg-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Salary Scale')); ?></label> <select class="form-control auto-select" data-selected="<?php echo e(old('salary_scale_id')); ?>" name="salary_scale_id" id="salary_scale_id" required> <option value=""><?php echo e(_lang('Select One')); ?></option> </select> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Joining Date')); ?></label> <input type="text" class="form-control datepicker" name="joining_date" value="<?php echo e(old('joining_date')); ?>" required> </div> </div> <div class="col-lg-6"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('End Date')); ?></label> <input type="date" class="form-control" name="end_date" value="<?php echo e(old('end_date')); ?>"> </div> </div> </div> </div> </div> </div> <div class="col-lg-6"> <div class="card"> <div class="card-header"> <span class="panel-title"><?php echo e(_lang('Bank Details')); ?></span> </div> <div class="card-body"> <div class="row"> <div class="col-lg-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Bank Name')); ?></label> <input type="text" class="form-control" name="bank_name" value="<?php echo e(old('bank_name')); ?>"> </div> </div> <div class="col-lg-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Branch Name')); ?></label> <input type="text" class="form-control" name="branch_name" value="<?php echo e(old('branch_name')); ?>"> </div> </div> <div class="col-lg-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Account Name')); ?></label> <input type="text" class="form-control" name="account_name" value="<?php echo e(old('account_name')); ?>"> </div> </div> <div class="col-lg-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Account Number')); ?></label> <input type="text" class="form-control" name="account_number" value="<?php echo e(old('account_number')); ?>"> </div> </div> <div class="col-lg-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Swift Code')); ?></label> <input type="text" class="form-control" name="swift_code" value="<?php echo e(old('swift_code')); ?>"> </div> </div> </div> </div> </div> </div> <div class="col-lg-12 mt-2"> <div class="form-group"> <button type="submit" class="btn btn-primary"><i class="ti-check-box mr-2"></i> <?php echo e(_lang('Save Changes')); ?></button> </div> </div> </div> </div> </div> </form> <?php $__env->stopSection(); ?> <?php $__env->startSection('js-script'); ?> <script> (function($) { "use strict"; $(document).on('change','#department_id', function(){ var department_id = $(this).val(); $.ajax({ url: _url + "/user/designations/get_designations/" + department_id, beforeSend: function(){ $("#preloader").fadeIn(); },success: function(data){ var json = JSON.parse(JSON.stringify(data)); $('#designation_id option:not(:first)').remove(); $('#salary_scale_id option:not(:first)').remove(); $(json).each(function( index, element ) { $('#designation_id').append(new Option(element['name'], element['id'])); }); $("#preloader").fadeOut(); } }); }); $(document).on('change','#designation_id', function(){ var designation_id = $(this).val(); $.ajax({ url: _url + "/user/salary_scales/get_salary_scales/" + designation_id, beforeSend: function(){ $("#preloader").fadeIn(); },success: function(data){ var json = JSON.parse(JSON.stringify(data)); $('#salary_scale_id option:not(:first)').remove(); $(json).each(function( index, element ) { $('#salary_scale_id').append(new Option(element['salary_grade'] + ' (' + _currency_symbol + element['basic_salary'] + ')', element['id'])); }); $("#preloader").fadeOut(); } }); }); })(jQuery); </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/eliosofonline/acc.eliosof.com/resources/views/backend/user/staff/create.blade.php ENDPATH**/ ?>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.97 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002