@if($orders_user->descr) @endif
{{ env('APP_NAME') }}
{{ShowLabelById(58)}}

№.: {{ $orders->id ?? '' }}

{{ShowLabelById(59)}}: {{ getDefaultDateFormat($orders->created_at) }}

{{ ShowLabelById(42) }}: {{ getEnumValueName($orders->pay_method) }}

@if($orders->delivery_method == 'pickup' && $orders_user && $orders_user->locationMenuId)

{{ ShowLabelById(27) }}: {{ getEnumValueName($orders->delivery_method) }} - {{ $orders_user->locationMenuId->name }}

@else

{{ ShowLabelById(27) }}: {{ getEnumValueName($orders->delivery_method) }}

@endif
{{ShowLabelById(60)}}:

{{ShowLabelById(24)}}: {{ $orders_user->name ?? '' }}

{{ShowLabelById(25)}}: {{ $orders_user->last_name ?? '' }}

Email: {{ $orders_user->email ?? '' }}

{{ShowLabelById(26)}}: {{ $orders_user->phone ?? '' }}

IP: {{ $orders_user->user_ip ?? '' }}

@if($orders->delivery_method == 'delivery')

{{ShowLabelById(30)}}: {{ $orders_user->areaName->name ?? '' }}

{{ShowLabelById(32)}}: {{ $orders_user->street ?? '' }}

{{ShowLabelById(33)}}: {{ $orders_user->home ?? '' }}

{{ShowLabelById(34)}}: {{ $orders_user->apartment ?? '' }}

{{ShowLabelById(35)}}: {{ $orders_user->entrance ?? '' }}

{{ShowLabelById(36)}}: {{ $orders_user->floor ?? '' }}

@endif
@if(!empty($basket) && count($basket)) {{----}} @foreach($basket as $one_item) @endforeach
{{ShowLabelById(61)}} {{ShowLabelById(62)}} {{ShowLabelById(63)}} {{ShowLabelById(64)}}{{ShowLabelById(71)}} {{ShowLabelById(72)}}

{{ $one_item->goods_name ?? '' }}

@if(isset($goods_params_name[$one_item->id]) && !empty($goods_params_name[$one_item->id]) && count($goods_params_name[$one_item->id]))

{{ShowLabelById(90)}}: @foreach($goods_params_name[$one_item->id] as $one_param_name) {{ $one_param_name ?? '' }}{{ !$loop->last ? ',' : '' }} @endforeach

@endif

{{ getDefaultPriceFormat($one_item->goods_price) ?? '' }} {{ShowLabelById(16)}}

{{ $one_item->items_count ?? '' }}

{{ getDefaultPriceFormat($one_item->goods_price * $one_item->items_count) ?? '' }} {{ShowLabelById(16)}}

{{ShowLabelById(65)}}

{{ getDefaultPriceFormat($total_price) }} {{ShowLabelById(16)}}

{{ShowLabelById(66)}}

{{ getDefaultPriceFormat($orders_data->delivery_cost) }} {{ShowLabelById(16)}}

{{ShowLabelById(67)}}

{{ getDefaultPriceFormat($total_price + $orders_data->delivery_cost) }} {{ShowLabelById(16)}}

@endif
{{ShowLabelById(68)}}

{{ $orders_user->descr ?? '' }}