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

{{----}} {{----}} {{--@if($groupSubRelations->active == 1) @endif--}} {{----}} {{----}} {{----}}
№.: {{__('variables.order_type')}} Scenariu{{__('variables.delivery_method')}}{{__('variables.pay_method')}}{{__('variables.total_count')}} {{__('variables.total_price')}} {{__('variables.date_table')}}{{__('variables.active_table')}}
{{ $orders->id }} {{$orders->fast_order == 1 ? 'Fast' : 'Simple'}} @foreach($orders->basket as $item) @php $scenario_value = config('custom.mapping.' . $item->goods_model); @endphp {{ $scenario_value ?? __('variables.do_not_exist') }} @endforeach {{$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

@csrf
{{__('variables.name_text')}} {{__('variables.last_name')}} {{__('variables.email_text')}} {{__('variables.phone')}}
{{__('variables.country')}} Județ {{__('variables.city')}} Cod poștal {{__('variables.address')}}
@if(!empty($orderedItems) && count($orderedItems))
Ordered items

{{--@foreach($basket as $basket_elem)--}} {{-- @endforeach--}}
Video ID Numele copilului {{__('variables.price')}} Video 540p Video 1080p Invoice {{__('variables.date_table')}}
1 {{$orders->video_id ?? ''}} @php $raw = $user_info->child_name ?? ''; $children = is_string($raw) ? json_decode($raw, true) : $raw; if (is_string($children)) { $children = json_decode($children, true); } @endphp @if (is_array($children)) {{ implode(', ', $children) }} @else {{ $raw }} @endif {{$orders->ordersData->total_price ?? ''}} @if($orders->url_540p_mp4) Link @else Încă nu este gata @endif @if($orders->url_1080p_mp4) Link @else Încă nu este gata @endif @if($orders->url_invoice) Link @else {{ __('variables.do_not_exist') }} @endif {{ getDefaultDateFormatAdmin($orders->created_at) }}
@endif @if($orders->ordersUsers && $orders->ordersUsers->descr)
{{__('variables.comment_table')}}

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

@endif
@stop @push('other-scripts') @endpush