@extends($user['vendor'] == 1?'user.layout.videolayout':'user.layout_user.videolayout') @section($user['vendor'] == 1?'tab2':'tab1','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) @if(isset($item->content))
|---|---|---|---|---|---|---|---|
| {{{ $item->id or 0 }}} | {{{ $item->content->title or '' }}} | {{{ $item->content->category->title or '' }}} | {{{ $item->content->user->name or $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 or 0 }}} |
{{{ date('Y/m/d',$item->create_at) }}}
@if($item->type == 'subscribe')
{{{ date('Y/m/d',$item->remain_time) }}} @endif |
@if($item->type == 'subscribe') @endif @if($item->type == 'post') @endif |