@extends($user['vendor'] == 1 ? getTemplate() . '.user.layout.balancelayout' : getTemplate() . '.user.layout_user.videolayout') @section('tab2','active') @section('tab')
@if(count($list) == 0)
{{ trans('main.not_purchased_item') }}
@else
@foreach($list as $item) @endforeach
{{ trans('main.item_no') }} {{ trans('main.title') }} {{ trans('main.category') }} {{ trans('main.vendor') }} {{ trans('main.delivery_type') }} {{ trans('main.price') }} {{ trans('main.pur_date') }} {{ trans('main.controls') }}
{{ $item->id }} {{ $item->content->title }} {{ $item->content->category->title }} {{ !empty($item->content->user->name) ? $item->content->user->name : $item->content->user->username }} @if($item->type == "download") {{ trans('main.download') }} @elseif($item->type == 'subscribe') {{ trans('main.subscribe') }} @else {{ trans('main.postal') }} @endif {{ currencySign() }}{{ $item->transaction->price }} {{ date('Y/m/d',$item->created_at) }} @if($item->type == 'subscribe')
{{ date('Y/m/d',$item->remain_time) }} @endif
@if($item->type == 'subscribe') @endif @if($item->type == 'post') @endif
@if($user['vendor'] == 0 and get_option('default_customer_dashboard_cover') != '') @endif
@endif @endsection @section('script') @endsection