<commit_before>{{-- Appointment Panel Partial --}}

{{--
    [META] Translation keys for potsky/laravel-localization-helpers -dev
    trans('appointments.status.annulated')
    trans('appointments.status.confirmed')
    trans('appointments.status.reserved')
    trans('appointments.status.served')
--}}
<div class='panel panel-{{ $appointment->statusToCssClass }}' id='{{ $appointment->code }}'>
    <div class='panel-heading'>
        <h3 class='panel-title'>{{ $appointment->status }}</h3>
    </div>

    <div class='panel-body'>
        <ul class="list-group appointmentinfo {{ $appointment->statusToCssClass }}">

            <li class="list-group-item">
                <span class='glyphicon glyphicon-user'></span>&nbsp;
                {{ $appointment->contact->firstname }} {{ $appointment->contact->lastname }}
            </li>

            <li class="list-group-item">
                <span class='glyphicon glyphicon-tag'></span>&nbsp;{{ $appointment->service->name }}
            </li>

            <li class="list-group-item">
                <span class='glyphicon glyphicon-home'></span>&nbsp;
                {{ $appointment->business->name }}
            </li>

            @if($appointment->location !== null)
            <li class="list-group-item">
                <span class='glyphicon glyphicon-map-marker'></span>&nbsp;
                {{ $appointment->location }}
            </li>
            @endif

            @if($appointment->phone)
            <li class="list-group-item">
                <span class='glyphicon glyphicon-phone'></span>&nbsp;
                {{ $appointment->phone }}
            </li><commit_msg>Fix condition to disallow empty strings<commit_after>{{-- Appointment Panel Partial --}}

{{--
    [META] Translation keys for potsky/laravel-localization-helpers -dev
    trans('appointments.status.annulated')
    trans('appointments.status.confirmed')
    trans('appointments.status.reserved')
    trans('appointments.status.served')
--}}
<div class='panel panel-{{ $appointment->statusToCssClass }}' id='{{ $appointment->code }}'>
    <div class='panel-heading'>
        <h3 class='panel-title'>{{ $appointment->status }}</h3>
    </div>

    <div class='panel-body'>
        <ul class="list-group appointmentinfo {{ $appointment->statusToCssClass }}">

            <li class="list-group-item">
                <span class='glyphicon glyphicon-user'></span>&nbsp;
                {{ $appointment->contact->firstname }} {{ $appointment->contact->lastname }}
            </li>

            <li class="list-group-item">
                <span class='glyphicon glyphicon-tag'></span>&nbsp;{{ $appointment->service->name }}
            </li>

            <li class="list-group-item">
                <span class='glyphicon glyphicon-home'></span>&nbsp;
                {{ $appointment->business->name }}
            </li>

            @if($appointment->location)
            <li class="list-group-item">
                <span class='glyphicon glyphicon-map-marker'></span>&nbsp;
                {{ $appointment->location }}
            </li>
            @endif

            @if($appointment->phone)
            <li class="list-group-item">
                <span class='glyphicon glyphicon-phone'></span>&nbsp;
                {{ $appointment->phone }}
            </li>
{'fraction_non_alphanumeric': 0.17285067873303167, 'fraction_numerical': 0.0012066365007541479, 'mean_word_length': 2.206963249516441, 'pattern_counts': {'":': 0, '<': 57, '<?xml version=': 0, '>': 89, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6199657', 'n_tokens_mistral': 970, 'n_tokens_neox': 911, 'n_words': 149}