@extends($user['vendor'] == 1 ? getTemplate() . '.user.layout.videolayout' : getTemplate() . '.user.layout_user.videolayout') @section($user['vendor'] == 1?'tab2':'tab1','active') @section('tab')
@if(count($list) == 0)
{{ trans('main.not_purchased_item') }}
| {{ trans('main.title') }} | {{ trans('main.price') }} | {{ trans('main.pur_date') }} | {{ trans('main.controls') }} | @foreach($list as $item) @if(isset($item->content))
|---|---|---|---|
|
{{ $item->content->title ?? '' }} @if(!empty($item->content->user) && !empty($item->content->user->id)) by {{ $item->content->user->name ?? $item->content->user->username ?? '' }} @else by {{ $item->content->user->name ?? $item->content->user->username ?? '' }} @endif |
{{ currencySign() }}{{ number_format($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 == 'post') @endif |