@extends('end-user.layouts.app') @section('content')
banner

Description

{{ $showroom->description }}

@if(count($showroom->getNewCars())) @foreach ($showroom->getNewCars() as $newCar)
New
  • {{ $newCar->drive_type }}
  • Model: {{ $newCar->year }}
@endforeach @else

There is no new cars

@endif
@if($showroom->type != 'agency')
@if(count($showroom->getUsedCars())) @foreach ($showroom->getUsedCars() as $usedCar)
Used
  • {{ $usedCar->drive_type }}
  • Model: {{ $usedCar->year }}
@endforeach @else

There is no used cars

@endif
@endif
@if(count($showroom->branches)) @foreach ($showroom->branches as $branch)

{{ $branch->name }}

{{ $branch->address }}

{{ $branch->city->name }} , {{ $branch->district->name }}

@endforeach @else

there is no branches

@endif
@endsection