@extends('dashboard.body.main') @section('container')
@if (session()->has('success')) @endif

Advance Salary List

Add Advance Salary
@forelse ($advance_salaries as $advance) @empty @endforelse
No. Status Action
{{ (($advance_salaries->currentPage() * 10) - 10) + $loop->iteration }}
@if($advance->employee->photo) profile @else profile @endif
{{ $advance->employee->name }}
{{ $advance->employee->email }}
{{ \Carbon\Carbon::parse($advance->date)->format('d F Y') }} {{ number_format($advance->advance_salary, 2) }} @if ($advance->is_deducted) Deducted @else Available @endif
@method('delete') @csrf
No advance salary records found.
{{ $advance_salaries->links() }}
@endsection