@extends('layouts.app') @section('content')

{{trans('lang.subscription_history')}}

@foreach ($history as $value ) @endforeach
{{trans('lang.driver')}} {{trans('lang.plan_name')}} {{trans('lang.plan_type')}} {{trans('lang.plan_expires_at')}} {{trans('lang.purchase_date')}}
{{$value->prenom.' '.$value->nom}} {{$value->subscription_plan['name']}} @if($value->subscription_plan['type']=='free') {{$value->subscription_plan['type']}} @else {{$value->subscription_plan['type']}} @endif @if($value->expiry_date==null) {{trans("lang.unlimited")}} @else {{ date('d F Y',strtotime($value->expiry_date))}} {{ date('h:i A',strtotime($value->expiry_date))}} @endif {{ date('d F Y',strtotime($value->created_at))}} {{ date('h:i A',strtotime($value->created_at))}}
{{ $history->Links('pagination.pagination') }}
@endsection @section('scripts') @endsection