@extends('admin.layout.layout') @section('content')

{{ $title }}

@foreach ($admins as $admin) @endforeach
Admin ID Name Type Mobile Email Image Status Actions
{{ $admin['id'] }} {{ $admin['name'] }} {{ $admin['type'] }} {{ $admin['mobile'] }} {{ $admin['email'] }} @if ($admin['image'] != '') @else @endif @if ($admin['status'] == 1) {{-- Using HTML Custom Attributes. Check admin/js/custom.js --}} {{-- Icons from Skydash Admin Panel Template --}} @else {{-- if the admin status is inactive --}} {{-- Using HTML Custom Attributes. Check admin/js/custom.js --}} {{-- Icons from Skydash Admin Panel Template --}} @endif @if ($admin['type'] == 'vendor') {{-- if the admin `type` is vendor, show their further details --}} {{-- Icons from Skydash Admin Panel Template --}} @endif
@endsection