<commit_before>@extends('app')

@section('content')
<div class="container">
    <div class="row">
        <div class="col-md-6 col-md-offset-3">
            <div class="panel panel-default">

                <div class="panel-heading">
                        {!! Icon::star() !!}&nbsp;{{ $business->subscriptionsCount }} {{ $business->name }}
                </div>

                    <ul class="list-group">

                        <li class="list-group-item">
                            {!! $business->industryIcon() !!}
                        </li>

                        <li class="list-group-item">
                            <div class="row">
                            <div class="col-md-12">
                                <div class="media">
                                  <div class="media-left media-top hidden-xs hidden-sm">
                                    <a href="#">{!! $business->facebookImg('normal') !!}</a>
                                  </div>
                                  <div class="media-body">
                                    <h4 class="media-heading">{{ $business->name }}</h4>
                                    <blockquote>{!! nl2br(e($business->description)) !!}</blockquote>
                                  </div>
                                </div>
                            </div>
                            </div>
                        </li>

                        @if ($business->pref('show_map') && $business->postal_address)
                        <li class="list-group-item">
                            <div class="row">
                                <div class="col-md-12 text-center">
                                    {!! $business->staticMap(11) !!}
                                </div>
                            </div>
                        </li>
                        @endif

                        <li class="list-group-item">
                                    {!! Button::large()->success(trans('user.appointments.btn.book'))->asLinkTo(route('user.booking.book', $business))->withIcon(Icon::calendar())->block() !!}
                        </li>

                    </ul>
                
            </div>
        </div>
    </div>
</div>
@endsection

@section('footer_scripts')
@parent
<script>
$(document).ready(function(){

    function prepareEvents(){

        console.log('prepareEvents()');

        var form = $('#postAppointmentStatus');
        var button = $('.action');
        var buttons = $('.actiongroup');
        var token = $('input[name=_token]');
<commit_msg>Fix route for guest users<commit_after>@extends('app')

@section('content')
<div class="container">
    <div class="row">
        <div class="col-md-6 col-md-offset-3">
            <div class="panel panel-default">

                <div class="panel-heading">
                        {!! Icon::star() !!}&nbsp;{{ $business->subscriptionsCount }} {{ $business->name }}
                </div>

                    <ul class="list-group">

                        <li class="list-group-item">
                            {!! $business->industryIcon() !!}
                        </li>

                        <li class="list-group-item">
                            <div class="row">
                            <div class="col-md-12">
                                <div class="media">
                                  <div class="media-left media-top hidden-xs hidden-sm">
                                    <a href="#">{!! $business->facebookImg('normal') !!}</a>
                                  </div>
                                  <div class="media-body">
                                    <h4 class="media-heading">{{ $business->name }}</h4>
                                    <blockquote>{!! nl2br(e($business->description)) !!}</blockquote>
                                  </div>
                                </div>
                            </div>
                            </div>
                        </li>

                        @if ($business->pref('show_map') && $business->postal_address)
                        <li class="list-group-item">
                            <div class="row">
                                <div class="col-md-12 text-center">
                                    {!! $business->staticMap(11) !!}
                                </div>
                            </div>
                        </li>
                        @endif

                        <li class="list-group-item">
                                    {!! Button::large()->success(trans('user.appointments.btn.book'))->asLinkTo(route('user.businesses.home', $business))->withIcon(Icon::calendar())->block() !!}
                        </li>

                    </ul>
                
            </div>
        </div>
    </div>
</div>
@endsection

@section('footer_scripts')
@parent
<script>
$(document).ready(function(){

    function prepareEvents(){

        console.log('prepareEvents()');

        var form = $('#postAppointmentStatus');
        var button = $('.action');
        var buttons = $('.actiongroup');
        var token = $('input[name=_token]');

{'fraction_non_alphanumeric': 0.15494314896897282, 'fraction_numerical': 0.004239737907111196, 'mean_word_length': 1.0186697782963827, 'pattern_counts': {'":': 0, '<': 85, '<?xml version=': 0, '>': 111, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 18, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6533015', 'n_tokens_mistral': 1293, 'n_tokens_neox': 1208, 'n_words': 208}