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/partials/maintenance/type.blade.php
{{--Loop maintenances--}}
{{ $errors->first('maintenance_type','<span class="message error">:message</span>'); }}
@foreach($maintenances as $key => $maintenance )
    @if($key % 2 == 0)
        <div class="maintenance-choices-group">
            @endif
            <div class="maintenance-choices line-{{$key % 2}} {{ (getFormData('maintenance_type') == $maintenance->id ? 'chosen' : (getFormData('maintenance_type') == ''?'':'inactive')) }}">

                <div class="title-box">
                    {{Form::radio('maintenance_type', $maintenance->id,getFormData('maintenance_type'),['id'=>"maintenance-type-".$maintenance->id])}}

                    <h3 class="title">{{$maintenance->name}}</h3>
                </div>
                <div class="price info">
                    <span class="icon">&nbsp;</span>
                    {{ Format::asPrice($maintenance->price) }} {{Lang::get('pages/maintenance.per_unit')}}
                </div>
                <div class="duration info">
                    <span class="icon">&nbsp;</span>
                    +/- {{$maintenance->duration_time}} @lang('pages/maintenance.minutes')

                </div>
                <div class="clear-box"></div>
                <label for="maintenance-type-{{$maintenance->id}}" >

                    <div class="decription-decription">
                        {{$maintenance->description}}
                    </div>
                </label>
            </div>
            @if($key % 2 == 1)
        </div>
    @endif
@endforeach