@extends("layouts.admin.app") @section("page-title") {{__("Dashboard")}} @endSection @section("page-nav-title")
{{__("All Used Cars Posts")}}
#{{__("ID")}} | {{--{{__("Status")}} | --}}{{__("Control")}} | {{__("Part Image")}} | {{__("Images")}} | {{__("User Name")}} | {{__("User Phone number")}} | {{__("Title Request")}} | {{__("Description")}} | {{__("City")}} | {{__("Vehicle Type")}} | {{__("Car Type")}} | {{__("Car Model Name")}} | {{__("Manufacturing Year")}} | {{__("Color")}} | {{__("Regional Specification")}} | {{__("Vehicle Insurance")}} | {{__("Traveled Distance")}} | {{__("Price")}} | {{__("Post Phone Number")}} | {{__("Vehicle Status")}} | {{__("Mechanical State")}} | {{__("Transport Type")}} | {{__("Engine Power")}} | {{__("Fuel Type")}} | {{__("Driving Side")}} | {{__("Number of Doors")}} | {{__("Created At")}} | {{__("Delete Post")}} | |||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{$post->id}} |
|
@if($post->getFirstMediaFile('default')) |
{{$post->user->full_name}} | {{$post->user->phone_number}} | {{$post->title_request}} | {{$post->description}} | {{$post->city}} | {{$post->vehicle_type}} | {{$post->car_type}} | {{$post->car_model_name}} | {{$post->manufacturing_year}} | {{$post->color}} | {{$post->regional_specifications}} | {{$post->vehicle_insurance == 0? "Yes" : "No"}} | {{$post->traveled_distance}} | {{$post->price}} | {{$post->phone_number}} | {{$post->vehicle_status == 0? "Used" : "New"}} | {{$post->mechanical_state}} | {{$post->transport_type == 0? "Automatic" : "Manual/Normal"}} | {{$post->engine_power}} | @switch($post->fuel_type) @case(0) {{__("Petrol")}} @break @case(1) {{__("Diesel")}} @break @case(2) {{__("Hybrid")}} @break @case(3) {{__("Electrician")}} @break @case(4) {{__("Hybrid-Plug In")}} @break @endswitch | @switch($post->driving_side) @case(0) {{__("Right side")}} @break @case(1) {{__("Left side")}} @break @case(2) {{__("In the middle ")}} @endswitch | {{$post->number_of_doors}} | {{$post->created_at}} |