@extends('layout') @section('title', 'Edit Customer') @section('content')
@if (session()->has('success')) @endif @if (session()->has('error')) @endif

{{ __('text.update') }} {{ __('text.profile') }}

@csrf @method('PUT')
@error('firstname')

{{ $message }}

@enderror
@error('lastname')

{{ $message }}

@enderror
@error('telephone')

{{ $message }}

@enderror
@error('email')

{{ $message }}

@enderror
@php $selectedCountry = $data->where('setting_name', 'country')->first()->setting_value ?? old('country', $customer->country); @endphp
@endsection