@extends($active_theme) @section('title')
{{__('user.Plan')}} | {{ $history->plan_name }} |
{{__('user.Expiration')}} | {{ $history->expiration }} |
{{__('user.Expirated Date')}} | {{ $history->expiration_date }} |
{{__('user.Remaining day')}} | @if ($history->status == 'active') @if ($history->expiration_date == 'lifetime') {{__('user.Lifetime')}} @else @php $date1 = new DateTime(date('Y-m-d')); $date2 = new DateTime($history->expiration_date); $interval = $date1->diff($date2); $remaining = $interval->days; @endphp @if ($remaining > 0) {{ $remaining }} {{__('user.Days')}} @else {{__('user.Expired')}} @endif @endif @else {{__('user.Expired')}} @endif |
{{__('user.Number of Product')}} | {{$history->maximum_service}} |
{{__('user.Payment Method')}} | {{$history->payment_method}} |
{{__('user.Transaction')}} | {{$history->transaction}} |
{{__('user.Payment')}} | @if ($history->payment_status == 'success') {{__('user.Success')}} @else {{__('user.Pending')}} @endif |
{{__('user.Status')}} | @if ($history->status == 'active') {{__('user.Active')}} @else {{__('user.Expired')}} @endif |