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

Hi {{Auth::guard('admin')->user()->last_name }}

--}}

Requests

{{-- Add Request --}} @if (Session::has('success_message')) @endif @if (in_array(Auth::guard('admin')->user()->type, ["superadmin", "admin"])) @endif @foreach($helps as $help) @if (in_array(Auth::guard('admin')->user()->type, ["superadmin", "admin"])) @endif @endforeach
S/N VendorSub AdminMobile Status Date Action
{{ $loop->iteration }} {{ $help->vendor->last_name ?? "" }} {{ $help->vendor->first_name ?? ""}}{{ $help->admin->last_name ?? "" }} {{ $help->admin->first_name ?? ""}}{{ $help->vendor->mobile ?? "" }} @if ($help->status == 1) @else @endif {{ $help->created_at }} @if (in_array(Auth::guard('admin')->user()->type, ["superadmin", "admin"])) @if($help->reports->count() > 0) View Report @endif @else @if($help->reports->count() < 1) Add Report @else View Report @endif @endif
@endsection