@extends('admin.layouts.layouts') @section('title', 'Details | Employee Salary Entry') @section('content')
Salary Entry Details
Salary Month:
{{ date('F Y', strtotime($entryDetails->salary_month)) ?? '-' }}
Total Net Salary:
{{ number_format($entryDetails->total_net_salary, 2) }}
Created At:
{{ $entryDetails->created_at->format('d-m-Y h:i:s A') }}
Location:
{{ $entryDetails->location?->name }}
Payment Mode:
{{ $entryDetails->payment_mode ?? '-' }}
Created By:
{{ $entryDetails->createdBy?->name }}
Employees Salary
@if (!isset($entryDetails->salaries) || $entryDetails->salaries->isEmpty())

Records not found!

@else
@foreach ($entryDetails->salaries as $salary) @endforeach
Sr. Employee Code Days Gross Salary Net Deduction Net Salary
{{ $loop->iteration }} {{ $salary->employee->employee_name ?? '-' }} ({{ $salary->employee->employeeDesignation->name ?? '' }}) {{ $salary->employee->employee_code ?? '-' }} {{ $salary->days ?? 0 }} {{ number_format($salary->gross_salary ?? 0, 2) }} {{ number_format($salary->net_deduction ?? 0, 2) }} {{ number_format($salary->net_salary ?? 0, 2) }}
@endif
@endsection @section('page-js') @endsection