@extends('backend.layout') @section('content') @if (Session::has('success'))
×

{{ Session::get('success') }}

@endif

Staff List

@if( $Staffs->count()>0) @foreach($Staffs as $new) @endforeach
Staff Name Address Phone Branch Date ACTION
{{\App\Models\User::where(['id' => $new->user_id])->pluck('name')->first()}} {{$new->address}} {{$new->phone}} {{\App\Models\LocalBranch::where(['id' => $new->branch_id])->pluck('branch_name')->first()}} {{date('d-m-Y', strtotime($new->created_at))}}
{{date('h:i A', strtotime($new->created_at))}}
@else
{{"Currently No Records Available"}}
@endif @endsection