@extends('layouts.webshop') @section('main-content') @php $user = auth()->guard('customer')->user() ?? null; @endphp
@if (session('success_profile_update'))
@endif
@csrf
Személyes adatok:
is_company ) checked @endif/>
is_company) checked @endif/>
@if($errors->updateprofile->any() && $errors->updateprofile->has('company_name')) {{ $errors->updateprofile->get('company_name')[0] }} @endif
@if($errors->updateprofile->any() && $errors->updateprofile->has('tax_number')) {{ $errors->updateprofile->get('tax_number')[0] }} @endif
@if($errors->updateprofile->any() && $errors->updateprofile->has('last_name')) {{ $errors->updateprofile->get('last_name')[0] }} @endif
@if($errors->updateprofile->any() && $errors->updateprofile->has('first_name')) {{ $errors->updateprofile->get('first_name')[0] }} @endif
@if (!auth()->guard('customer')->user())
@if($errors->updateprofile->any() && $errors->updateprofile->has('email')) {{ $errors->updateprofile->get('email')[0] }} @endif
@endif
@if($errors->updateprofile->any() && $errors->updateprofile->has('phone')) {{ $errors->updateprofile->get('phone')[0] }} @endif
Számlázási cím:
@php 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 {{-- Számlázási cím --}}
@if($errors->updateprofile->any() && $errors->updateprofile->has('billing_zip')) {{ $errors->updateprofile->get('billing_zip')[0] }} @endif
@if($errors->updateprofile->any() && $errors->updateprofile->has('billing_city')) {{ $errors->updateprofile->get('billing_city')[0] }} @endif
@if($errors->updateprofile->any() && $errors->updateprofile->has('billing_address')) {{ $errors->updateprofile->get('billing_address')[0] }} @endif
{{-- Szállítási cím --}}
Szállítási cím:
@if($errors->updateprofile->any() && $errors->updateprofile->has('shipping_zip')) {{ $errors->updateprofile->get('shipping_zip')[0] }} @endif
@if($errors->updateprofile->any() && $errors->updateprofile->has('shipping_city')) {{ $errors->updateprofile->get('shipping_city')[0] }} @endif
@if($errors->updateprofile->any() && $errors->updateprofile->has('shipping_address')) {{ $errors->updateprofile->get('shipping_address')[0] }} @endif
@if (session('success_password_change'))
@endif
@csrf
Jelszó módosítás:
{{--
@if($errors->updatepassword->any() && $errors->updatepassword->has('current_password')) {{ $errors->updatepassword->get('current_password')[0] }} @endif
--}}
@if($errors->updatepassword->any() && $errors->updatepassword->has('new_password')) {{ $errors->updatepassword->get('new_password')[0] }} @endif
@if($errors->updatepassword->any() && $errors->updatepassword->has('password_confirmation')) {{ $errors->updatepassword->get('password_confirmation')[0] }} @endif
@push('scripts') @endpush @endsection