File: D:/HostingSpaces/SBogers10/zelfverkopen.komma.pro/resources/views/site/pages/startSale.blade.php
@extends('site.base')
@section('title', $page->translation->meta_title)
@section('meta_description', $page->translation->meta_description)
@section('base-content')
@include('site.partials.headerClean')
<section class="full-text-row @if( !( !isset($send) || $send == false )) no-padding-bottom @endif">
<div class="grid-row">
<div class="grid-col kms-content">
<div class="placeholder">
@if( ( !isset($send) || $send == false ) && !isset($payment) && !isset($oldInvoice))
<h1>{{$page->translation->fullTextRow->typeName}}</h1>
<div class="sold-counter">
<p>@lang('site/startSale.alreadySold')</p>
<div class="counter">
@foreach(str_split($housesSold) as $char)
<span>{{$char}}</span>
@endforeach
</div>
</div>
{!! $page->translation->fullTextRow->description !!}
@else
@if(isset($payment))
@if($payment)
<h1>@lang('site/startSale.payment.success.title')</h1>
<p>@lang('site/startSale.payment.success.text')</p>
@else
<h1>@lang('site/startSale.payment.error.title')</h1>
<p>@lang('site/startSale.payment.error.text')</p>
@endif
@elseif(isset($oldInvoice) && $oldInvoice)
<h1>@lang('site/startSale.oldInvoice.title')</h1>
<p>@lang('site/startSale.oldInvoice.text')</p>
@else
<h1>@lang('site/startSale.thanksTitle')</h1>
<p>@lang('site/startSale.thanksText')</p>
<a class="button" href="/{{$links->extraServices->route}}">
@lang('site/startSale.thanksButton')
<span class="double-arrow"></span>
</a>
@endif
@endif
</div>
</div>
</div>
</section>
@if( ( !isset($send) || $send == false ) && !isset($payment) && !isset($oldInvoice))
<div class="grid-row form-row">
<div class="contact-person-model form-wrapper">
<div class="contact-person">
<figure>
<img alt="contact person" src="/img/contact_person_white.jpg"/>
</figure>
<p>
@lang('site/form.willHelpYou', ['name' => \Config::get('site.contact_person.name')])
</p>
</div>
<div class="model-content">
@include('site.forms.startSale')
</div>
</div>
</div>
@endif
@include('site.partials.footerClean')
@endsection