@extends('layouts.app') @section('head') @endsection @section('content') @include('components.breadcrumbs')
@if ($errors->any())
@endif @if (Session::has('success'))

{{ Session::get('success') }}

@endif
{{-- @if (Session::has('success'))


{{ Session::get('success') }}


@endif --}}
@csrf

{{__('site.calculate_price')}}

{{__('site.plans')}}
{{__('site.no_selected')}}

{{__('site.equips')}}
{{__('site.no_selected')}}

{{__('site.other_services')}}
{{__('site.no_selected')}} @foreach($services as $service) @endforeach

{{__('site.period')}}

{{(__('site.name'))}}*


{{(__('site.phone_number'))}}*

Cформированная цена при расчёте стоимости может меняться в зависимости от необходимого оборудования и дополнительных материалов при подключении

{{(__('site.plans'))}}

@foreach ($plans as $p)
  {{$p->getTitleAttribute()}} {{count($p->channels)}} {{(__('site.channels'))}} @if($p->services()->exists()) {{count($p->services)}} {{(__('site.services'))}} @endif {{$p->corporate_price}} {{__('site.sum')}}
{{__('site.choose')}}
@foreach ($p->channels as $ch)
@php $image = explode(':', $ch->image) @endphp @if($image[0]=='http' || $image[0]=='https') @else @endif {{$ch->title_ru}}
@endforeach

@foreach ($p->services as $service)
{{$service->getTitleAttribute()}}
@endforeach
@endforeach

{{__('site.equipment_and_others')}}
{{__('site.other_services')}}
@foreach($services as $s)

{{$s->corporate_price}} {{__('site.sum')}}

@endforeach


{!!$setting->getPlanAttribute()!!}
@endsection @section('foot') @include('include.connection_legal') @endsection