@extends('admin.layouts.app') @section('title', get_setting('site_name').' | '.__('Salary Setup Manage')) @section('content') @php $exportQuery = request()->only(\App\Services\SalarySetupManageQuery::filterKeys()); @endphp
{{ __('Salary setup list') }}
{{ __('Search and filter staff compensation records') }}
@can('Salary-export') {{ __('Export Excel') }} @endcan @can('Salary-setup') {{ __('New setup') }} @endcan
{{ __('Reset') }} {{ __('Showing') }} {{ $salary_setup_manages->total() }} {{ __('record(s)') }}
@forelse($salary_setup_manages as $salary_setup_manage) @php $staff = $salary_setup_manage->staff; $user = $staff?->user; @endphp @empty @endforelse
# {{ __('Employee') }} {{ __('Dept / Designation') }} {{ __('Basic') }} {{ __('House') }} {{ __('Medical') }} {{ __('Gross') }} {{ __('Net') }} {{ __('Action') }}
{{ $salary_setup_manages->firstItem() + $loop->index }} {{ $user?->name ?? '—' }}
ID: {{ $user?->id ?? $salary_setup_manage->staff_id }} @if($staff?->staff_sid) · {{ $staff->staff_sid }} @endif
{{ $staff?->department?->name ?? '—' }}
{{ $staff?->designation?->name ?? '—' }}
{{ number_format((float) $salary_setup_manage->basic_salary, 2) }} {{ number_format((float) $salary_setup_manage->house_rent, 2) }} {{ number_format((float) $salary_setup_manage->medical, 2) }} {{ number_format((float) $salary_setup_manage->gross_salary, 2) }} {{ number_format((float) $salary_setup_manage->net_salary, 2) }} @can('Salary-edit') @endcan
{{ __('No salary setup found for the selected filters.') }}
{{ $salary_setup_manages->links() }}
@endsection