@extends('chat.layout') @section('title',"VIN Decoder") @section('page-name',"VIN Decoder") @section('page-detail',"Decode Vehicle Information from VIN Number") @section('body')
VIN Number Decoder
@csrf
@error('vin_number')
{{ $message }}
@enderror
VIN must be exactly 17 characters long and contain only letters and numbers.
@if(session('error')) @endif @if(isset($success) && $success && isset($vinData))
Vehicle Information
@if(isset($vinData['Results']) && count($vinData['Results']) > 0)
@foreach($vinData['Results'] as $result) @if(!empty($result['Value']) && $result['Value'] !== 'Not Applicable' && $result['Value'] !== '')
{{ $result['Variable'] }}:
{{ $result['Value'] }} @if(!empty($result['ValueId'])) ID: {{ $result['ValueId'] }} @endif
@endif @endforeach
@else @endif
{{ json_encode($vinData, JSON_PRETTY_PRINT) }}
@endif @if(!isset($success))
Enter a VIN number above to decode vehicle information

The Vehicle Identification Number (VIN) is a unique 17-character code that provides detailed information about your vehicle including make, model, year, and specifications.

@endif
@endsection @section('custom-scripts') @endsection