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

{{__("Car Type")}}

@include('admin.message')
@if (isset($CarTypeFind->id))
{{__("Edit Car Type")}}
@else
{{__("Add Car Type")}}
@endif
@csrf @include('Car::admin.car.form',['parents'=>$rows,'CarSeat'=>$CarSeat])
@if(!empty($rows))
{{csrf_field()}}
@endif
@if( count($CarType) > 0) @foreach ($CarType as $row) @endforeach @else @endif
{{__("Name")}} {{__("Type Classes")}} {{__("Car Seats")}} {{__("Date")}}
{{$row->name}} {{$row->TypeClass->name ?? ''}} {{$row->carSeat->seat ?? ''}} {{display_date($row->updated_at)}} {{__('Edit')}}
{{__("No data")}}
@endsection @push('js') @endpush