| {{ $i++ }} |
{{$data->serial_number}} |
|
|
|
|
{{$data->plan_duration}} |
|
{{ $data->start_at }} |
{{ $data->end_at }} |
0 |
0 |
0 |
@if($data->plan_name=='Free-Trial') Free Trial @endif
@php $checkStatue=false; $paidDate=''; @endphp
@if(!$data['Transaction']->isEmpty())
@foreach($data['Transaction'] as $item)
@if($item->status=='Success')
@php $checkStatue=true; @endphp
Paid
@if($item->payment_date)
@php $paidDate= date('d-m-Y', strtotime($item->payment_date)); @endphp
@endif
@endif
@endforeach
@endif
@if(!$checkStatue) Unpaid @endif
|
{{ $paidDate }} |
@endforeach
@endif