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/ste.komma.pro/resources/views/components/rating.blade.php
@if(isset($feedbackCompany))
    <div class="c-rating @modifiers('c-rating')">
        <a class="c-rating__link" target="_blank" href="{{ config('services.feedback_company.url') }}">
            <span class="c-rating__stars">

                {{-- Full Stars --}}
                @for ($i = 0; $i < $feedbackCompany->stars->full; $i++)
                    @include('components.star', ['modifiers' => ['full']])
                @endfor

                {{-- Possible Half Star(s) (should max be 1 but why not looping) --}}
                @for ($i = 0; $i < $feedbackCompany->stars->half; $i++)
                    @include('components.star', ['modifiers' => ['half']])
                @endfor

                {{-- Empty Stars --}}
                @for ($i = 0; $i < $feedbackCompany->stars->empty; $i++)
                    @include('components.star')
                @endfor

            </span>
            <span class="c-rating__score">{{ $feedbackCompany->value }}</span>
        </a>
    </div>
@endif