@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') }}
| {{ 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') }} | @foreach($list as $item)
|---|---|---|---|---|---|---|---|
| {{ $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 |