All Motors

Add Car

@foreach($data as $motor) @endforeach
ID Title Category Price User Status Actions
{{ $motor->id }} {{ $motor->title }} @php // Parse the JSON-based category data $category = json_decode(optional($motor->category)->title, true); @endphp

{{ $category['en'] ?? 'N/A' }}

{{ $category['ar'] ?? '' }}

AED {{ number_format($motor->price, 2) }} {{ $motor->client->first_name }} {{ $motor->client->last_name }}
@if($motor->is_published) @else @endif @if($motor->is_active) @else @endif @if($motor->is_featured) @else @endif
@csrf @method('DELETE')