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

{{__("My Cars")}}

{{__("All Cars")}}

@endsection @section("content") @include("includes.dialog") +Add New Car
@foreach($MyCars as $car) @endforeach
#{{__("ID")}} {{__("Car Image")}} {{__("Vehicle Type")}} {{__("Car Type")}} {{__("Car Model Name")}} {{__("Manufacturing Year")}} {{__("City")}} {{__("Kilometers")}} {{__("monthly_installment")}} {{__("Price")}} {{__("Color")}} {{__("Returned")}} {{__("Status")}} {{__("Created At")}} {{__("Updated At")}} {{__("Control")}}
{{$car->id}} @if($car->getFirstMediaFile("agent_car_photo")) url}}" alt="" width="100px">@endif {{$car->vehicleTypeSpecialist->name}} {{$car->carTypeSpecialist->name}} {{$car->carModelNameSpecialist->name}} {{$car->manufacturing_year}} {{$car->city}} {{$car->kilometers . " km"}} {{$car->monthly_installment . " ".$countryCode}} {{$car->price . " ".$countryCode}}
{{$car->returned == false ? __("No") : __("Yes") }}
{{$car->created_at->diffForHumans()}} {{$car->updated_at->diffForHumans()}} id)}}" class="control-link edit">
id)}}" method="post" style="display: none" id="delete{{$car->id}}" data-swal-title="DELETE PROPERTY" data-swal-text="{{__("Are Your Sure To Delete This Car ?")}}" data-yes ="{{__("Yes")}}" data-no="{{__("No")}}" data-success-msg="{{__("the Car has been deleted successfully")}}"> @csrf @method("delete")
@endsection @section("scripts") @endsection