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

Employee List

Here you can see the list of existing Employees.

@forelse ($employee as $emp) @php $balance=App\Models\ChartOfAccount::where('ref_id',$emp->id)->first(); @endphp @empty @endforelse
Serial # Name Email Phone Address CNIC Balance Actions
{{$emp->id}} {{$emp->emp_name}} {{$emp->emp_email}} {{$emp->emp_phone}} {{$emp->emp_address}} {{$emp->cnic}} PKR {{$balance!=null ? $balance->balance : 0}}
No record Found
{{-- Modal --}} @endsection @section('afterScript') @endsection