HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/topswtwmobile.komma.pro/app/views/maintenance/book.blade.php
@extends('layouts.master')

@section('background')
    <div class="bg-50"></div>
@stop

@section('headerWhite')
    @include('maintenance.headerWhite')
@stop

@section('sidebar')
    @if(isset($usp))
@section('sellingPoints')
    {{$usp->trans_description}}
@stop
@endif
    @include('partials.sidebar',
        ['customerService' => (object)
            [
                'name'  => 'Gerard',
                'url'   => 'gerard'
            ],
            'phone'=> Config::get('komma/tops.maintenance_telephone.'.\Shop::getDomainCountry('iso_2') ),
            'telLink'=> Config::get('komma/tops.maintenance_telephone.'.\Shop::getDomainCountry('iso_2').'+' )
        ])
@stop

@section('brandNavigationBar')
    @include('partials.brandNavigationBar')
@stop

@section('content')
    <div class="content-container column fluid-100">
        <!-- Breadcrumb -->

        @include('partials.breadcrumb')

                <!-- Title -->

        <h1 class="page-title">{{ $entity->name }}</h1>

        <article class="maintenance-block content-block column fluid-100">
            {{Form::open()}}
            {{--Choose the type op maintenance--}}
            <div class="maintenance-row maintenance-choice">
                <div class="inner">
                    <div class="number first">1</div>
                    <h2>{{ Lang::get('pages/maintenance.choose_maintenance') }}</h2>
                    @include('partials.maintenance.type')
                </div>
            </div>
            {{--Customer details--}}
            <div class="maintenance-row maintenance-customer" id="maintenance-customer">
                <div class="inner">
                    <div class="number">2</div>
                    <h2>{{ Lang::get('pages/maintenance.customer_details') }}</h2>
                    @if (!\Auth::customer()->check())
                        <div class="accountCheck">
                            <p>@lang('pages/maintenance.gotAnAccount')</p>
                            @include('partials.buttons.default',[
                'route' => '/' . $shop->getPageService()->page('customerLogin')->route ,
                'text' => Lang::get('form.login'),
                'class' => 'activatePopup'
            ])
                        </div>
                    @endif
                    <div class="customer-details">
                        @if (!\Auth::customer()->check())
                            <span class="title fillInHeader">{{ Lang::get('pages/maintenance.no_account') }}</span><br />
                            <span class="title">{{ Lang::get('pages/maintenance.or_fill_in') }}</span>
                        @else
                            <span class="title">{{ Lang::get('pages/maintenance.check_data') }}</span>
                        @endif
                        @include('partials.maintenance.customer_details')
                    </div>
                </div>
            </div>
                {{--Remarks--}}
                <div class="maintenance-row remarks">
                    <div class="inner">
                        <div class="number">3</div>
                        <h2>{{ Lang::get('checkout/checkout.remarks.title') }}</h2>
                        {{ Form::textarea('remarks',getFormData('remarks') , null, ['id' => 'remarks']) }}
                    </div>
                </div>
                {{--//Submit--}}
                <div class="maintenance-row maintenance-submit">
                    <div class="inner last">
                        <div class="top-border"></div>
                        <div class="number last">4</div>
                        <h2>{{ Lang::get('pages/maintenance.book_maintenance') }}</h2>

                        {{ $errors->first('agree', '<span class="message error">:message</span><br />'); }}
                        {{ Form::checkbox('agree', 1, null, ['id' => 'agree','placeholder'=>Lang::get('checkout/checkout.proceed.placeholder')  ]) }}
                        <label for="agree" class="description">
                            {{ Lang::get('pages/maintenance.agree_to_terms',['link'=> '/' . $shop->getPageService()->page('maintenance_terms')->route ]) }}
                        </label>


                        <div class="pay-holder">
                            <div class="btn-holder pay">
                                @include('partials.buttons.input',[
                                    'input' => Form::submit(''),
                                    'text' => Lang::get('pages/maintenance.send_book_request'),
                                    'class' => 'green-btn'
                                ])
                            </div>
                        </div>
                    </div>
                </div>


                @if( ! empty($images))
                    @foreach($images as $image)
                        <figure>
                            <img src="{{ $image->large_image_url }}" alt="{{ $entity->name }}"/>
                        </figure>
            @endforeach
            @endif
            {{Form::close()}}
        </article>
    </div>

@stop


@if (!\Auth::customer()->check() )
@section('loginPopup')
    @include('partials/loginPopup', ['targetPageSlug'=> $entity->code_name, 'targetAnchor'=>  'maintenance-customer'])
@stop
@endif

@section('benefits')
@stop