@extends('backend.layouts.app') @section('content') @php $isEdit = isset($customer); // true if edit, false if create @endphp @if (env('MAIL_USERNAME') == null && env('MAIL_PASSWORD') == null)
{{ translate('You need to configure SMTP correctly to to add Customer by email.') }} {{ translate('Configure Now') }}
@endif
{{ $isEdit ? translate('Edit Customer') : translate('Customer Information') }}
@csrf @if($isEdit) @method('PUT') @endif
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if (addon_is_activated('otp_system'))
@else
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@endif {{-- Optional password fields (commented out, same as original) --}} {{--
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
--}}
@endsection @section('script') @endsection