@extends('layouts.webshop') @section('main-content') {{-- --}} @php $user = auth()->guard('customer')->user() ?? null; if($user) { $billing_address = $user->address ?? null; $shipping_address = $user->shipping_address ?? null; if (isset($billing_address) && isset($shipping_address) && $billing_address->id == $shipping_address->id) { $shipping_address = null; $different_shipping_address = false; } } @endphp
@if(isset($status)) @if($status === 'ok')
Köszönjük a megrendelést.
@endif @if($status === 'session_timeout')
Lejárt a munkamenet, kezd újra.
@endif @elseif(empty(session('cart')))
A kosár üres.
@else @foreach ( $products as $product ) @include('webshop.list_card', ['product' => $product, 'cart' => true]) @endforeach
@csrf

@if($closing_hours) A szállítás várható időpontja: {{$closing_hours->to}}
{{$closing_hours->title}} ({{$closing_hours->description}}) @else A szállítás várható időpontja: {{ date('Y.m.d.', strtotime("+7 day")) }} @endif

Szállítási mód:
Összes tétel:

Áru értéke: {{ number_format($total, 0, '', ' ') }} Ft

Szállítási díj: @if(!old('shipping') || old('shipping') == 'személyes átvétel') 0 @else {{ number_format($postalFee, 0, '', ' ') }} @endif Ft

Összérték: @if(!old('shipping') || old('shipping') == 'személyes átvétel') 0 @else {{ number_format($total + $postalFee, 0, '', ' ') }} @endif Ft
Személyes adatok:
is_company) && !$user->is_company) ) checked @endif/>
is_company) && $user->is_company)) checked @endif/>
@if($errors->registerwithorder->any() && $errors->registerwithorder->has('company_name')) {{ $errors->registerwithorder->get('company_name')[0] }} @endif
@if($errors->registerwithorder->any() && $errors->registerwithorder->has('tax_number')) {{ $errors->registerwithorder->get('tax_number')[0] }} @endif
@if($errors->registerwithorder->any() && $errors->registerwithorder->has('last_name')) {{ $errors->registerwithorder->get('last_name')[0] }} @endif
@if($errors->registerwithorder->any() && $errors->registerwithorder->has('first_name')) {{ $errors->registerwithorder->get('first_name')[0] }} @endif
@if (!auth()->guard('customer')->user())
@if($errors->registerwithorder->any() && $errors->registerwithorder->has('email')) {{ $errors->registerwithorder->get('email')[0] }} @endif
@endif
@if($errors->registerwithorder->any() && $errors->registerwithorder->has('phone')) {{ $errors->registerwithorder->get('phone')[0] }} @endif
{{-- Számlázási cím --}}
Számlázási cím:
@if($errors->registerwithorder->any() && $errors->registerwithorder->has('billing_zip')) {{ $errors->registerwithorder->get('billing_zip')[0] }} @endif
@if($errors->registerwithorder->any() && $errors->registerwithorder->has('billing_city')) {{ $errors->registerwithorder->get('billing_city')[0] }} @endif
@if($errors->registerwithorder->any() && $errors->registerwithorder->has('billing_address')) {{ $errors->registerwithorder->get('billing_address')[0] }} @endif
{{-- Szállítási cím --}}
Szállítási cím:
@if($errors->registerwithorder->any() && $errors->registerwithorder->has('shipping_zip')) {{ $errors->registerwithorder->get('shipping_zip')[0] }} @endif
@if($errors->registerwithorder->any() && $errors->registerwithorder->has('shipping_city')) {{ $errors->registerwithorder->get('shipping_city')[0] }} @endif
@if($errors->registerwithorder->any() && $errors->registerwithorder->has('shipping_address')) {{ $errors->registerwithorder->get('shipping_address')[0] }} @endif
{{-- START Regisztráció --}} @if(!auth()->guard('customer')->user())
Regisztráció:
@if($errors->registerwithorder->any() && $errors->registerwithorder->has('password')) {{ $errors->registerwithorder->get('password')[0] }} @endif
@if($errors->registerwithorder->any() && $errors->registerwithorder->has('password_confirmation')) {{ $errors->registerwithorder->get('password_confirmation')[0] }} @enderror
@endif {{-- END Regisztráció --}}
Fizetési mód:
{{--
--}}
@if($errors->registerwithorder->any() && $errors->registerwithorder->has('privacy')) {{ $errors->registerwithorder->get('privacy')[0] }} @endif
@endif
@push('scripts') @endpush @endsection