@include('front.pages.cabinet.menu', ['user' => $user, 'childrenList' => $childrenList])
@if(!empty($goods_items_list) && $goods_items_list->count() > 0)
@endif
{{ShowLabelById(209)}}, {{$user->name}}
{{ShowLabelById(209)}}, {{$user->name}}
{{ShowLabelById(211)}}:
{{ number_format($totalPoints, 0) }} {{ ShowLabelById(217) }}
-
@if($ordersWithPoints->isNotEmpty())
@foreach($ordersWithPoints as $order)
@php
$points = $order->ordersData->gift_card_sum;
$expireDate = \Carbon\Carbon::parse($order->updated_at)
->addMonths(3)
->format('d.m.Y');
@endphp
-
{{ number_format($points, 0) }} {{ShowLabelById(217)}}{{ ShowLabelById(212) }} {{ $expireDate }}
@endforeach
@else
-
{{ ShowLabelById(213) }}
@endif
{{ShowLabelById(214)}}:
-
@if(!empty($user_orders) && $user_orders->count()>0)
@foreach($user_orders as $order)
-
{{ShowLabelById(218)}} #{{$order->id}}@if($order->ordersStatus->id == 6 || $order->ordersStatus->id == 3 || $order->ordersStatus->id == 8 )
{{ app()->getLocale() == 'ro' ? $order->ordersStatus->name_ro : $order->ordersStatus->name_ru }}
{{$order->ordersUsers->address ?? null}}@elseif(in_array($order->ordersStatus->id, [2,4,5])){{ShowLabelById(219)}}@else {{ShowLabelById(220)}} @endif
@endforeach
@else
-
{{ShowLabelById(205)}}
@endif