@extends('layouts.app') @section('content')

Salaries list

Here you can see the list of Payslips.

@forelse ($data as $datas) @empty @endforelse
Name Month Deductions Net Salary Paid Status Actions
{{ $datas->user->name }} {{ Carbon\Carbon::parse($datas->date)->format('M-Y') }} {{ $datas->deduction }} {{ $datas->total_salary }} {{ $datas->is_paid == 1 ? 'Paid' : 'Not Paid' }} @if ($datas->is_paid == 1) {{-- Sent --}} @else Payslip @endif
No record Found
@endsection @section('afterScript') @endsection