@extends('organizations.layouts.default') @section('content')
@if (auth()->user()->memberable->verification_status == 1)

Info: Your account is not verified yet. Please click here to verify your account and get reward.

@endif @if($resCoupons->count() > 0)
Please use the below active and valid coupon code to post your notice.
@foreach ($resCoupons as $rec) @php $status = 'Copy'; if($rec->redeem_date!=""){ $status = 'Used'; }else if($rec->expiry_date->isPast()){ $status = 'Expired'; } @endphp
{{ $rec->remarks }}
Get {{ $rec->coupon_pct }}% OFF !
Use coupon code:
{{ $rec->coupon_code }} @if($status == 'Copy') @else @endif

Valid for one notice. Expire at :{{$rec->expiry_date->format('Y M d')}}

Terms and conditions apply.

@endforeach
@endif
@endsection