@extends('layout.master') @section('content')
@include('app.settings.header')

Araç Sınıf Ücretleri & Ekstralar

@foreach($classes as $class)
@if(Auth::user()->company_id == $class->company_id) @endif
@if($class->distance_prices_exists) @foreach($class->vehicleClassDistancePrices as $distancePrice) @endforeach
@if(!($loop->last)) {{ $distancePrice->start }} - {{ $distancePrice->end }} km @else {{ $distancePrice->start }} km'den sonra @endif {{ $distancePrice->price }} {{ $distancePrice->vehicleClassDistancePriceCurrency->symbol }}
@else
{{ $class->name }} sınıfı için henüz fiyatlandırma eklenmedi!
@endif
@if($class->vehicle_class_extras_exists) @foreach($class->vehicleClassExtras as $extra) @endforeach
{{ $extra->name }} @if($extra->price == 0) Ücretsiz @else {{ $extra->price }} {{ $extra->priceCurrency->symbol }} @endif
@else
{{ $class->name }} sınıfı için henüz ekstra eklenmedi!
@endif
@endforeach
@section('css') @endsection @section('js') @endsection @endsection