{{-- New-Unity ERP | Modules/Sales/Resources/Views/customers/create.blade.php | v4.9 | 12/08/2026 --}} {{-- v4.9 — FIX1: "Sin crédito" como primera opción en status. Campo límite visible solo si Aceptado. --}} {{-- v4.8 — Security: dispatchEvent({ bubbles: true }) para activar uppercase-input.js desde XML import. --}} {{-- v4.7 — JS: validación de contactos antes de submit (mínimo 1 con nombre+email); showFormNotification(); fix tipo TI en select. --}} {{-- v4.6 — novalidate en
: formularios multi-tab no deben usar validación HTML5 nativa. --}} {{-- v4.5 — Fix: campos de dirección renombrados a addresses[0][...] para cumplir validación store(). country → hidden int 142. --}} {{-- v4.4 — → clase uppercase-input (JS global convierte el valor real). --}} {{-- v4.3 — Restauración limpia desde Part 6 v4.2. --}} {{-- v4.2 — Tabs: General Info | Contacts | Banking & Credit. Addresses card separado. --}} @extends('layouts.vertical', ['pageTitle' => __('customers.newcustomer')]) @section('content')

{{ __('customers.newcustomer') }}

{{ __('customers.subtitle') }}

@can('customers.create') @endcan {{ __('customers.back') }}
@if ($errors->any())
    @foreach($errors->all() as $e)
  • {{ $e }}
  • @endforeach
@endif @csrf {{-- ── Main Card ── --}}
{{ __('customers.customer_information') }}
{{-- Tabs --}}
{{-- ── Tab: General Info ── --}}
{{ __('customers.generalinfo') }} {{ __('customers.auto_generated') }}
@error('type')
{{ $message }}
@enderror
@error('rfc')
{{ $message }}
@enderror
@error('name')
{{ $message }}
@enderror
@error('commercial_name')
{{ $message }}
@enderror
{{ __('customers.fiscal_information') }}
@error('cfdi_id')
{{ $message }}
@enderror
@error('fiscal_regime_id')
{{ $message }}
@enderror
@error('payment_way_id')
{{ $message }}
@enderror
{{ __('customers.addresses') }}
{{-- ── Tab: Contacts ── --}}
{{ __('customers.tab_contacts') }}
{{ __('customers.type') }} {{ __('customers.name') }} {{ __('customers.email') }} {{ __('customers.ext') }}
{{ __('customers.no_contacts') }}
{{-- ── Tab: Banking & Credit ── --}}
{{ __('customers.banking_information') }}
{{ __('customers.credit_conditions') }}
@php $creditStatusCreate = old('credit.status', 'Sin crédito'); @endphp
$ MXN
{{-- end tab-content --}}
{{-- Modal: Importar desde CFDI XML --}} @endsection