@extends("layouts.admin.app") @section("page-title") {{__("Dashboard")}} @endSection @section("page-nav-title")

{{__("Replies of Special Request")}}

{{__("All Replies of Special Request")}}

@endsection @section("css-links") getLocale() . "/pages/orders.css")}}"> @endsection @section("content") @include("includes.dialog")
{{-- @include("admin.order.parts.filter")--}}
{{--
--}} {{--
--}} {{-- @csrf--}} {{-- --}} {{-- {{__("Export As Excel")}}--}} {{--
--}} {{--
--}}
@foreach($SpecialRequest as $key => $request) @php $sub_area_name=""; $providedSection=\App\Models\ProvidedSection::where("user_id",$request->vendor->id)->first() ?? null; if ($providedSection){ //dd($providedSection); if ($providedSection->providedSectionSubArea){ $mainArea = $providedSection->providedSectionSubArea->subArea->mainArea; if ($mainArea){ $sub_area_name = $mainArea->area_name ." - " . $providedSection->providedSectionSubArea->subArea->sub_area_name; } } } @endphp @if($providedSection->status == 1) {{-- --}} {{-- --}} {{-- --}} {{-- --}} @endif @endforeach
#{{__("#")}} #{{__("Order Number")}} {{__("Market Name")}} {{__("Location")}} {{__("Market Number")}} {{__("Status")}} {{__("View")}} {{__("Received At")}} {{__("Updated At")}}
{{$request->id}}{{$key+1}} {{$request->special_request_id}} {{$providedSection != null ? $providedSection->getNameAttribute() :"Ss"}}
@if($request->status == 3)

{{__(" => Ordered")}}

@endif
{{$sub_area_name}} {{$providedSection->phone_number}}{{$providedSection->phone_number}} @switch($request->status) @case(0){{__("Not Read")}}@break @case(1){{__("Read")}}@break @case(2) @case(3) {{__("Replied")}}@break {{-- @case(3){{__("Paid")}}@break--}} @case(4){{__("Not Available")}}@break @endswitch @if($request->status == 2 || $request->status == 3) $request->special_request_id,"vendor_replied"=>$request->id ])}}"> {{__('show')}} @else {{__('No Reply')}} @endif {{ $request->created_at }} {{ $request->updated_at }}{{ $request->created_at->diffForHumans() }}{{ $request->updated_at->diffForHumans() }}
@endsection @section("scripts") @endsection