@extends('admin.app') @section('content')

{{--@if($groupSubRelations->active == 1) @endif--}} {{----}}
№.: {{__('variables.order_type')}} {{__('variables.delivery_method')}} {{__('variables.pay_method')}} {{__('variables.total_count')}} {{__('variables.total_price')}} {{__('variables.date_table')}}{{__('variables.active_table')}}
{{ $orders->id }} {{$orders->wish_id ? 'Wish' : 'Cart'}} {{$orders->delivery_method ?? ''}} @if($orders->delivery_method == 'delivery') ({{$orders->ordersData->delivery_cost ?? 0}}) @endif {{$orders->pay_method ?? ''}} {{$orders->ordersData->total_count ?? ''}} {{$orders->ordersData->total_price ?? ''}} {{ getDefaultDateFormatAdmin($orders->created_at) }}
active == 1 ? 'checked' : ''}}>
User info

{{----}} @if(!$orders->wish_id) @endif {{----}} @if(!$orders->wish_id) @endif
{{__('variables.name_text')}}{{__('variables.last_name')}} {{__('variables.email_text')}} {{__('variables.phone')}}{{__('variables.country')}} {{__('variables.city')}} {{__('variables.address')}}
{{$user_info->name ?? ''}} {{$user_info->last_name ?? __('variables.do_not_exist')}} {{$user_info->email ?? __('variables.do_not_exist')}} {{$user_info->phone ?? __('variables.do_not_exist')}} {{$user_district->name ?? __('variables.do_not_exist') }} {{$user_info->city ?? __('variables.do_not_exist')}} {{$user_info->address ?? __('variables.do_not_exist')}}
@if(count($products_info))
Ordered items

@foreach($products_info as $product_info) @endforeach
{{__('variables.name_text')}} {{ShowLabelById(95)}} {{__('variables.articol')}} {{ShowLabelById(18)}} {{ShowLabelById(19)}} {{__('variables.price')}} {{__('variables.total_count')}} {{ShowLabelById(73)}}
{{ $loop->iteration }} {{ $product_info['product_name'] }} {{ $product_info['product_name'] }} {{ $product_info['article'] }} {{ $product_info['color'] ?? '-' }} {{ $product_info['size'] ?? '-' }} {{ $product_info['product_price'] }} {{ $product_info['product_quantity'] }} {{ $product_info['product_amount'] }}
@endif @if(!empty($orderedItems) && count($orderedItems))
Ordered items

@foreach($orderedItems as $one_baket_item) @endforeach
{{__('variables.name_text')}} {{__('variables.price')}} {{__('variables.total_count')}} {{__('variables.date_table')}}
{{ $loop->iteration }} {{$one_baket_item->name ?? ''}} {{$one_baket_item->goods_price ?? ''}} {{$one_baket_item->items_count ?? ''}} {{ getDefaultDateFormatAdmin($one_baket_item->created_at) }}
@endif @if($orders->ordersUsers && $orders->ordersUsers->descr)
{{__('variables.comment_table')}}

{{ $orders->ordersUsers->descr ?? '' }}

@endif
@stop