@extends('layouts.app') @section('content')
@include('users.includes.sidebar')
@include('users.includes.header')

Home / Subscription History

Subscription List
{{-- --}} {{-- --}} @if(!empty($subscribes) && $subscribes->count()) @php $sn=1; @endphp @foreach($subscribes as $key => $value) {{-- --}} @php $sn++; @endphp @endforeach @else @endif
List of Projects
S/N Description Amount Start EndStatusPayment Status Date Subscribed
{{$sn}} {{$value->subscription->description}} {{$value->subscription->price}} {{date('M-Y', strtotime($value->start_date))}} {{date('M-Y', strtotime($value->end_date))}} @if(strtotime($value->end_date) <= time()) Active @else Expired @endif @if($value->payment_status == 1) Payment Recieved @else Payment Pending @endif {{date('d M Y', strtotime($value->created_at))}}
No data yet
{!! $subscribes->links() !!}
@include('users.includes.footer')
@if (isset($subscription)) @else no show @endif @endsection