@extends('layouts.app') @section('content')

Spare Parts

Find genuine and quality spare parts for your vehicle

@forelse($spareParts as $part)
{{ $part->name }}
{{ ucfirst($part->condition) }}
@if($part->is_featured)
Featured
@endif @if($part->quantity < 10)
Low Stock
@endif

{{ $part->name }}

{{ $part->part_number }}

@if($part->compatible_vehicles)
{{ $part->compatible_vehicles }}
@endif
KSh {{ number_format($part->price) }} Stock: {{ $part->quantity }}
Verified {{ $part->category->name ?? 'Parts' }}
@empty

No spare parts found

Check back later for new inventory updates.

@endforelse
@if($spareParts->hasPages())
{{ $spareParts->links() }}
@endif
@endsection