@if ($membership->hasInsurance()) @php $insurance = $membership->getInsurance(); @endphp @php $status = ($membership->status == 'member') ? __('labels.generic.running') : __('labels.generic.expired'); @endphp
{{ __('labels.generic.name') }} {{ __('labels.generic.amount') }} {{ __('labels.membership.coverage') }} {{ __('labels.generic.status') }}
{{ $insurance->name }} {{ $insurance->price }} {{ $insurance->coverage }} {{ $status }}
@else @endif