@extends('buyers_sellers.layout2.master') @section('title', 'Home') @section('content')
@if (Session::has('message')) @endif
{{-- --}}
@foreach ($assing as $row) @if (isset($row->assing[0]->service[0]) && !empty($row->assing[0]->service[0])) @endif @endforeach
S.No Service Requested View Details Status Action Service Provider Your Rating
{{ $row->id }} {{ $row->title }} view details @if ($row->status == 0) Pending @endif @if ($row->status == 1) Approved @endif @if ($row->status == 2) Decline @endif @if ($row->status == 3) Completed @endif @if ($row->status == 4) IN Process @endif @if ($row->status == 3) @if ($row->assing[0]->feedback) Completed @else @endif @else @endif {{ $row->assing[0]->service[0]->user->full_name }} @if ($row->status == 3) {{-- {{ dd($row) }} --}} {{-- {{ dd($row->rating) }} --}} @if ($row->rating !==null) {{-- {{ $row->rating->rating }} --}} @else Please rate @endif @else none @endif {{-- {{ Illuminate\Support\Str::limit($row->assing[0]->service[0]->userrating->avg('rating'), 4) }} --}} {{-- ({{ count($row->assing[0]->service[0]->reviews) }} reviews) --}}
{{-- BANK MODAL --}} @endsection @section('scripts') @endsection