{{--@if($email_message && $email_message->itemByLang && $email_message->itemByLang->body) @endif--}} @if($orders->pay_method == 'bank_transfer') @endif {{----}} @if($orders_user->descr) @endif {{-- @if($email_message && $email_message->itemByLang && $email_message->itemByLang->h1_title) @endif--}}
{{ env('APP_NAME') }}
{!! $email_message->itemByLang->body ?? '' !!}
{{ ShowLabelById(8) }}

{{ ShowLabelById(9) }}: {{ $orders->id ?? '' }}

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

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

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

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

{{ ShowLabelById(39) }}: {{ $orders->shopId ? $orders->shopId->address : __('variables.do_not_exist')}}

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

{{ ShowLabelById(14) }}: {{ $orders_user->ordersCity ? $orders_user->ordersCity->name .', '. $orders_user->address : __('variables.do_not_exist')}}

@endif @if($orders_user->sector_id)

{{ ShowLabelById(14) }}: {{ ShowLabelById(156) }}, {{ $orders_user->ordersSector ? $orders_user->ordersSector->name .', '. $orders_user->address : __('variables.do_not_exist')}}

@endif @endif

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

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

{{ ShowLabelById(18) }}: {{ $orders_user->email ?? '' }}

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

{{ ShowLabelById(13) }}: {{ $orders_user->user_ip ?? '' }}

{{ ShowLabelById(172) }}

{{ ShowLabelById(170) }}: {{ $orders_user->cod_fiscal ?? '' }}

{{ ShowLabelById(171) }}: {!! nl2br($orders_user->bank_transfer_info) ?? '' !!}

{{ ShowLabelById(14) }} {{ ShowLabelById(15) }}

{{ $orders_user->last_name ?? '' }} {{ $orders_user->name ?? '' }}

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

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

{{ $orders_user->last_name ?? '' }} {{ $orders_user->name ?? '' }}

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

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

@if(!empty($basket) && count($basket)) @foreach($basket as $one_item) @endforeach
{{ ShowLabelById(112) }} {{ ShowLabelById(22) }} {{ ShowLabelById(23) }} {{ ShowLabelById(24) }} {{ ShowLabelById(25) }}

{{ $loop->iteration ?? '' }}

{{ $one_item->goodsItemId && $one_item->goodsItemId->one_c_code ? $one_item->goodsItemId->one_c_code : ShowLabelById(144) }}

@if(!$if_admin)

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

@else

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

@endif

{{ getDefaultPriceFormat($one_item->goods_price) }} {{ ShowLabelById(26) }}

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

{{ getDefaultPriceFormat($one_item->goods_price * $one_item->items_count) }} {{ ShowLabelById(26) }}

@if(!$if_admin)

{{ ShowLabelById(25) }} ({{ $orders_data->total_count }} {{ Str::lower(trans_choice('variables.goods', $orders_data->total_count))}}):

@else

{{ ShowLabelById(25) }} ({{ $orders_data->total_count }}):

@endif

{{ getDefaultPriceFormat($orders_data->total_price) }} {{ ShowLabelById(26) }}

{{ ShowLabelById(30) }}:

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

{{ ShowLabelById(25) }}:

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

@endif
{{ ShowLabelById(28) }}

{{ $orders_user->descr }}

{!! $email_message->itemByLang->h1_title ?? '' !!}