@extends('admin.master_layout') @section('title')
{{ __('translate.Subscriptions and promotions') }} >> {{ __('translate.Purchase History') }}
@endsection @section('body-content')| {{ __('translate.Serial') }} | {{ __('translate.User') }} | {{ __('translate.Purchase type') }} | {{ __('translate.Plan') }} | {{ __('translate.Price') }} | {{ __('translate.Status') }} | {{ __('translate.Payment') }} | {{ __('translate.Action') }} |
|---|---|---|---|---|---|---|---|
{{ ++$index }} |
{{ $history?->user?->name }} |
{{ __('translate.Subscription Plan') }} |
{{ $history->plan_name }} |
{{ currency($history->plan_price) }} |
@if ($history->status == 'active')
@if ($history->expiration_date == 'lifetime' || ($history->expiration_date != 'lifetime' && date('Y-m-d') <= $history->expiration_date))
{{ __('translate.Active') }}
@else
{{ __('translate.Expired') }}
@endif
@elseif ($history->status == 'pending')
{{ __('translate.Pending') }}
@elseif ($history->status == 'expired')
{{ __('translate.Expired') }}
@endif
|
@if ($history->payment_status == 'success')
{{ __('translate.Success') }}
@else
{{ __('translate.Pending') }}
@endif
|
{{ __('translate.Detail') }} {{ __('translate.Delete') }} |
{{ ++$index }} |
{{ $order?->user?->name }} |
{{ __('translate.Individual promotion purchase') }} |
{{ $order->displayTitle() }}@if ($order->listing?->translate?->title) {{ html_decode($order->listing->translate->title) }} @endif |
{{ currency($order->amount) }} |
@if ($order->payment_status === 'success')
{{ __('translate.Success') }}
@else
{{ __('translate.Pending') }}
@endif
|
@if ($order->payment_status === 'success')
{{ __('translate.Success') }}
@else
{{ __('translate.Pending') }}
@endif
|
{{ __('translate.Detail') }} {{ __('translate.Delete') }} |
{{ __('translate.Are you realy want to delete this item?') }}