@if (!empty($voucher))
@foreach($voucher as $value) @if (!empty($value['user_redeemption'])) @foreach ($value['user_redeemption'] as $key=> $you) @endforeach @endif @endforeach
Trx Id Phone Name RedeemPoint Bought At Expired At Used At
@if (!empty($you['trx_id'])) {{ $you['trx_id'] }} @else - @endif {{ $you['user']['phone'] }} {{ $you['user']['name'] }} {{ $you['redemption_point'] }} {{ date('Y-m-d', strtotime($you['created_at'])) }} {{ date('Y-m-d', strtotime($you['voucher_expired'])) }} @if (!empty($you['voucher_used'])) {{ date('Y-m-d', strtotime($you['voucher_used'])) }} @else - @endif
@endif