@if ($type == "staff_base") @if(isset($salaryDetails) && $salaryDetails->isNotEmpty()) @foreach($salaryDetails as $i => $salary) @endforeach
S.no Staff Name Staff ID Gross Salary Employee EPF Employee ESI CTC Action
{{ $i + 1 }} {{ $salary->staff->staff_name }} {{ $salary->staff->staff_id }} {{ $salary->gross_salary }} {{ $salary->employee_epf }} {{ $salary->employee_esi }} {{ $salary->ctc }} View
@else

No records found.

@endif @endif @if ($type == "company_based") @if(isset($salaryDetails) && $salaryDetails->isNotEmpty()) @foreach($salaryDetails as $i => $salaryDetail) @endforeach
S.no Company Name From Date To Date Action
{{ $i + 1 }} {{ $salaryDetail->project?->project_name ?? $salaryDetail->client?->company_name }} {{ date('d-m-Y', strtotime($salaryDetail->from_date)) }} {{ date('d-m-Y', strtotime($salaryDetail->to_date)) }} View
  • @else

    No records found.

    @endif @endif