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

{{ trans('Notes List') }} Showing {{($result['notes']->currentPage()-1)* $result['notes']->perPage()+($result['notes']->total() ? 1:0)}} to {{($result['notes']->currentPage()-1)*$result['notes']->perPage()+count($result['notes'])}} of {{$result['notes']->total()}} Results

@php $getUserRoleData = userRoleData(); $Notes = explode(",",$getUserRoleData->Notes); @endphp @if(in_array("View",$Notes))

@if(in_array("View",$Notes )) @endif @if(count($result['notes'])) @foreach ($result['notes'] as $rsVal) {{-- @dd($rsVal->managed_by->teamLeader->first_name); --}} @if(!empty($rsVal->accounts) && !empty($rsVal->accounts->products)) @else @endif @if(in_array("View",$Notes )) @endif @endforeach @else @endif
{{ trans('ID') }} {{ trans('Subject') }} {{ trans('Channel') }} {{ trans('Managed By') }} {{ trans('Team Lead') }} {{ trans('Date') }} {{ trans('Action') }}
{{ $rsVal->id }} {{ $rsVal->subject }} {{$rsVal->accounts->products->name}} {{$rsVal->managed_by->first_name}} {{$rsVal->managed_by->last_name}} {{$rsVal->managed_by->teamLeader->first_name ?? ' '}} {{$rsVal->managed_by->teamLeader->last_name ?? ' '}} {{ date('d-m-Y H:i:s', strtotime($rsVal->created_at))}} @if(in_array("View",$Notes )) @endif
{{ $result['notes']->appends(Request::all())->links() }}
No record found
@endif
@endsection @section('scripts') @endsection