@extends('layouts.admin-master') @section('title', 'Staff list') @section('css') @endsection @section('content')

Staff List

@foreach($staffs as $index => $staff) @endforeach
# Name Member Since Mobile Email Designation Status Action
{{(($staffs->perPage() * $staffs->currentPage() - $staffs->perPage()) + ($index+1) )}} {{$staff->name}} {{\Carbon\Carbon::parse($staff->created_at)->format(Config::get('siteSetting.date_format'))}} {{$staff->mobile}} {{$staff->email}} {{$staff->designation}}
status == 1) ? 'checked' : ''}} data-on-color="success" data-off-color="danger" data-on-text="Active" data-off-text="Deactive">
{{$staffs->appends(request()->query())->links()}}
Showing {{ $staffs->firstItem() }} to {{ $staffs->lastItem() }} of total {{$staffs->total()}} entries ({{$staffs->lastPage()}} Pages)
@include('admin.modal.delete-modal') @endsection @section('js') @endsection