@if($if_admin == 1) @else @endif @if($orders->pay_method == 'card_online') @endif @if((($current_time >= $start_time_no_work && $current_time <= $end_time_no_work) && $current_day_of_week <= 6) || $is_now_weekend) @if($email_message_outside_working_hours && $email_message_outside_working_hours->body && $if_admin == 0) @endif @else @if($email_message && $email_message->body && $if_admin == 0) @endif @endif @if(!empty($basket) && count($basket)) @endif
Logo

{{ str_replace('{order_id}', $orders->id, ShowLabelById(122)) }}

{{ ShowLabelById(55) }}

{{ \Carbon\Carbon::parse($orders->created_at)->format('d.m.Y - H:i') }}

 

{!! ShowLabelById(143) !!}

{!! str_replace('{user_name}', $orders_user->name, $email_message_outside_working_hours->body) !!}
{!! str_replace('{user_name}', $orders_user->name, $email_message->body) !!}
@foreach($basket as $one_item) @endforeach
{{ ShowLabelById(61) }} {{ ShowLabelById(116) }} {{ ShowLabelById(58) }} {{ ShowLabelById(56) }} {{ ShowLabelById(57) }}
{{ $one_item->name }} {{ $one_item->goods_price_old > 0 ? getDefaultPriceFormat($one_item->goods_price_old) : getDefaultPriceFormat($one_item->goods_price) }} {{ ShowLabelById(10) }} {{ getDefaultPriceFormat($one_item->goods_price) }} {{ ShowLabelById(10) }} x{{ $one_item->items_count ?? '' }} {{ getDefaultPriceFormat($one_item->goods_price * $one_item->items_count) }} {{ ShowLabelById(10) }}
{{ ShowLabelById(29) }}: {{ getDefaultPriceFormat($orders_data->total_price) }} {{ ShowLabelById(10) }}
{{ ShowLabelById(42) }}: {{ getDefaultPriceFormat($orders_data->delivery_cost) }} {{ ShowLabelById(10) }}
{{ ShowLabelById(59) }}: {{ getDefaultPriceFormat($orders_data->total_price + $orders_data->delivery_cost) }} {{ ShowLabelById(10) }}
{{ ShowLabelById(60) }}: {{ getDefaultPriceFormat($orders_data->total_discount) }} {{ ShowLabelById(10) }}

{{ ShowLabelById(62) }}

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

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

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

@if(!$orders->fast_order) @switch($orders->delivery_method) @case('delivery') @if($orders_user->districtId && $orders_user->districtId->name)

{{ ShowLabelById(43) }}: {{ $orders_user->districtId->name }}

@endif

{{ ShowLabelById(44) }}: {{ $orders_user->city ?? '' }}

{{ ShowLabelById(45) }}: {{ $orders_user->address ?? '' }}

@break @case('pickup') @if($orders_user->shopsId && $orders_user->shopsId->name)

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

@endif @break @default @break @endswitch @if($orders->pay_method != 'iute_credit')

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

@endif

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

@if($orders->pay_method == 'iute_credit')

{{ ShowLabelById(168) }}: {{ $orders_data->credit_months }} @if($orders_data->credit_zero) - (0%) @endif

{{ ShowLabelById(169) }}: {{ getDefaultPriceFormat($orders_data->credit_month_price) }} {{ ShowLabelById(161) }}

@endif @endif

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