@extends('member.layouts.default') @section('page_title', $reward->title . config('default.page_title_delimiter') . $card->head . config('default.page_title_delimiter') . config('default.app_name')) @section('content')
@if ($reward->images) @if (count($reward->images) == 1) {{ parse_attr($reward->title) }} @else
@foreach ($reward->images as $image) @endforeach
@foreach ($reward->images as $image) @endforeach
@endif @endif
{{ $reward->title }}
@if($reward->description)

{!! $reward->description !!}

@endif @if(auth('member')->check())

{!! trans('common.you_have_amount_points', ['points' => '' . $balance . '']) !!}

@endif
{{ $reward->points }}
@if($card->isExpired)
{{ trans('common.expired') }}
@else @if(auth('member')->check()) {{ trans('common.claim_reward') }} @else {{ trans('common.log_in_to_claim_reward') }} @endif @endif
@stop