| {{ $i++ }} |
{{$data->serial_number}} |
|
|
@if($data->plan_duration=='YLY') 365 @elseif($data->plan_duration=='QTR') 90 @elseif($data->plan_duration=='MTH') 30 @else 15 @endif Days |
|
{{ $data->start_at }} |
{{ $data->end_at }} |
0 |
@if($data->plan_name=='Free-Trial') Free @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