@extends('layouts/layoutMaster') @section('title', 'Add Vehicle Trim') @section('vendor-style') @vite([ 'resources/assets/vendor/libs/datatables-bs5/datatables.bootstrap5.scss', 'resources/assets/vendor/libs/datatables-responsive-bs5/responsive.bootstrap5.scss', 'resources/assets/vendor/libs/datatables-buttons-bs5/buttons.bootstrap5.scss', 'resources/assets/vendor/libs/select2/select2.scss', 'resources/assets/vendor/libs/@form-validation/form-validation.scss', 'resources/assets/vendor/libs/animate-css/animate.scss', 'resources/assets/vendor/libs/sweetalert2/sweetalert2.scss' ]) @endsection @section('vendor-script') @vite([ 'resources/assets/vendor/libs/moment/moment.js', 'resources/assets/vendor/libs/datatables-bs5/datatables-bootstrap5.js', 'resources/assets/vendor/libs/select2/select2.js', 'resources/assets/vendor/libs/@form-validation/popular.js', 'resources/assets/vendor/libs/@form-validation/bootstrap5.js', 'resources/assets/vendor/libs/@form-validation/auto-focus.js', 'resources/assets/vendor/libs/cleavejs/cleave.js', 'resources/assets/vendor/libs/cleavejs/cleave-phone.js', 'resources/assets/vendor/libs/sweetalert2/sweetalert2.js' ]) @endsection @section('page-script') @vite(['resources/js/vehicle_trim.js']) @endsection @section('content')
@if(count($errors)>0) @foreach($errors->all() as $error)
{{$error}}
@endforeach @endif @if(session('success'))
{{session('success')}}
@endif @if(session('error'))
{{session('error')}}
@endif
@csrf

Add Vehicle Trim

{{__('Vehicle Manufacturer')}}
{{__('Vehicle Model')}}
{{__('Vehicle from Year')}}
{{__('Vehicle to Year')}}
{{__('Trim Name')}}
{{__('Trim Name(Arabic)')}}
{{__('Trim Name(Tags)')}}
{{__('FaceLift')}}
{{__('New Model')}}
{{__('Market Demand')}}
{{ __('Base Price') }}
{{__('New Vehicle Image')}}
{{ __('Manufacturer/Series') }}
{{ __('Generation Name') }}
{{ __('Generation start Year') }}
{{ __('Generation End Year') }}

Trim Specification
{{__('Engine Type')}}
{{__('Fuel Type')}}
{{__('Engine Cylinders')}}
{{__('Engine Turbine')}}
{{__('Gearbox Type')}}
{{__('Number Of Gears')}}
{{__('Drive')}}
{{__('Vehicle Type')}}
{{__('Body Type')}}
{{__('Axel')}}
{{__('Liter (Engine Capacity)')}}
{{__('Engine Power (HP)')}}
{{__('Fuel Consumption (km/1L)')}}
{{__('Power-Torque')}}
{{__('Number of Doors')}}
{{__('Fuel Capacity (l)')}}
{{__('Length (mm)')}}
{{__('Number of Passengers')}}
{{__('Height (mm)')}}
{{__('Width (mm)')}}
{{__('Trunk Capacity (liters)')}}
{{__('Wheelbase (mm)')}}
{{__('Acceleration 0-100 Km/h (sec)')}}
{{__('Top Speed (Km/h)')}}
{{__('Weight (kg)')}}
@foreach ($safetyFeatures as $category => $features)

{{$category}}


@foreach ($features as $feature)
{{ $feature->title }}
@php $status = old('safety_features.'.$feature->id); if ($status === 1) { $initialState = 'yes'; $value = '1'; } elseif ($status === 0) { $initialState = 'no'; $value = '0'; } else { $initialState = 'neutral'; $value = ''; } @endphp
{{--
id) ? 'checked' : '' }} value="1" id="{{ $feature->slug }}">
--}}
@endforeach
@endforeach
{{__('Reliability Index Score')}}
{{__('Financial Risk Index')}}
{{__('Cancel & Back')}}
@endsection