@extends('layouts.admin') @section('content')

{{ $client->exists?'Editar cliente':'Nuevo cliente' }}

@if(isset($availability))
Crédito disponible: ${{ $availability['available'] }} de ${{ $availability['limit'] }}
@endif
@csrf @if($client->exists)@method('PUT')@endif

Información comercial

@if($client->exists)
@endif
@foreach(['representative_name'=>'Representante','representative_identification'=>'Cédula representante','email'=>'Correo','whatsapp'=>'WhatsApp','phone'=>'Teléfono'] as $n=>$l)
@endforeach

Información tributaria


Crédito directo

@if($errors->any())
@endif
@endsection