@extends($user['vendor'] == 1 ? getTemplate() . '.user.layout.balancelayout' : getTemplate() . '.user.layout_user.balancelayout') @section('tab2','active') @section('tab')
@if(count($lists) == 0)
{{ trans('main.not_found') }}
@else
@foreach($lists as $item) @endforeach
{{ trans('main.title') }} {{ trans('main.customer') }} {{ trans('main.address') }} {{ trans('main.tracking_code') }} {{ trans('main.date') }} {{ trans('main.income') }} {{ trans('main.status') }} {{ trans('main.controls') }}
{{ $item->content->title }} {{ !empty($item->buyer->name) ? $item->buyer->name : $item->buyer->username }} @if($item->type == 'post') {{ trans('main.view') }} @endif @if($item->type == 'post')
{{ csrf_field() }} @endif
{{ date('d F Y | H:i',$item->created_at) }} {{ currencySign() }}{{ $item->transaction->income }} @if($item->post_feedback == null) {{ trans('main.waiting') }} @elseif($item->post_feedback == 1) {{ trans('main.successful') }} @elseif($item->post_feedback == 2 or $item->post_feedback == 3) {{ trans('main.failed') }} @endif @if($item->type == 'post') @endif
@if(empty(request()->get('p')) and $count > 20) @endif @if(!empty(request()->get('p')) and $count > (request()->get('p')+1) * 20) @endif @if(!empty(request()->get('p')) and request()->get('p') > 0) @endif
@endif @endsection