@extends('app') @include('nav-bar') @include('left-menu') @section('content') @include('speedbar') @include('list-elements', [ 'actions' => [ trans('variables.elements_list') => urlForFunctionLanguage($lang, ''), trans('variables.elements_basket') => urlForFunctionLanguage($lang, 'ordersCart/ordersCart') ] ]) @if(!$orders->isEmpty()) @if($groupSubRelations->active == 1) @endif @if($groupSubRelations->del_to_rec == 1 || $groupSubRelations->del_from_rec == 1) @endif @foreach($orders as $one_order) @if($groupSubRelations->active == 1) @endif @if($groupSubRelations->del_to_rec == 1 || $groupSubRelations->del_from_rec == 1) @endif @endforeach @if($groupSubRelations->del_to_rec == 1 || $groupSubRelations->del_from_rec == 1) @else @endif
{{trans('variables.name_text')}} {{trans('variables.email_text')}} {{trans('variables.phone')}} {{trans('variables.date_table')}} {{trans('variables.total_count')}} {{trans('variables.total_price')}} {{trans('variables.delivery_method')}} {{trans('variables.pay_method')}}{{trans('variables.active_table')}} {{trans('variables.edit_table')}}{{trans('variables.delete_table')}}
{{$one_order->ordersUsers->name or ''}} {{$one_order->ordersUsers->email or ''}} {{ mb_substr($one_order->ordersUsers->phone,0,20) }} {{$one_order->created_at or ''}} {{$one_order->ordersData->total_count or ''}} {{$one_order->ordersData->total_price or ''}} {{$one_order->delivery_method or ''}} pay_method == 'online' ? 'style=background-color:#e8e8e8' : '' }}>{{$one_order->pay_method or ''}}{{$one_order->active == 1 ? '+' : '-'}} {{trans('variables.edit_table')}}
{!! $orders->links() !!}
@else
{{trans('variables.list_is_empty')}}
@endif @stop @section('footer') @stop