feat: Advanced filtering system v1.4.1.2

''
This commit is contained in:
2026-02-10 13:04:46 -07:00
parent 5cff309422
commit 471c263158
10 changed files with 28 additions and 17 deletions

View File

@@ -461,8 +461,9 @@
<h3 class="font-medium text-gray-900 mb-4">Información General</h3>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div>
<label class="form-label">Razón Social</label>
<label class="form-label" for="business_name">Razón Social</label>
<input
id="business_name"
type="text"
class="form-input"
bind:value={businessProfile.business_name}
@@ -471,8 +472,9 @@
</div>
<div>
<label class="form-label">Nombre Comercial</label>
<label class="form-label" for="commercial_name">Nombre Comercial</label>
<input
id="commercial_name"
type="text"
class="form-input"
bind:value={businessProfile.commercial_name}
@@ -481,8 +483,9 @@
</div>
<div>
<label class="form-label">Clave de Cliente</label>
<label class="form-label" for="client_code">Clave de Cliente</label>
<input
id="client_code"
type="text"
class="form-input"
bind:value={businessProfile.client_code}
@@ -491,7 +494,7 @@
</div>
<div>
<label class="form-label">Tipo de Cliente</label>
<label class="form-label" for="client_type">Tipo de Cliente</label>
<select class="form-input" bind:value={businessProfile.client_type}>
<option value="">Seleccionar...</option>
<option value="corporativo">Corporativo</option>
@@ -503,8 +506,9 @@
</div>
<div>
<label class="form-label">RFC</label>
<label class="form-label" for="rfc">RFC</label>
<input
id="rfc"
type="text"
class="form-input {businessProfileErrors.rfc ? 'border-red-300' : ''}"
bind:value={businessProfile.rfc}
@@ -518,8 +522,9 @@
</div>
<div>
<label class="form-label">ID Fiscal (Otros países)</label>
<label class="form-label" for="tax_id">ID Fiscal (Otros países)</label>
<input
id="tax_id"
type="text"
class="form-input"
bind:value={businessProfile.tax_id}
@@ -619,8 +624,9 @@
<h3 class="font-medium text-gray-900 mb-4">Representantes</h3>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div>
<label class="form-label">Encargado/Representante</label>
<label class="form-label" for="company_representative">Encargado/Representante</label>
<input
id="company_representative"
type="text"
class="form-input"
bind:value={businessProfile.company_representative}
@@ -629,8 +635,9 @@
</div>
<div>
<label class="form-label">Representante Legal</label>
<label class="form-label" for="legal_representative">Representante Legal</label>
<input
id="legal_representative"
type="text"
class="form-input"
bind:value={businessProfile.legal_representative}
@@ -645,7 +652,7 @@
<h3 class="font-medium text-gray-900 mb-4">Configuración</h3>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div>
<label class="form-label">Moneda Preferida</label>
<label class="form-label" for="preferred_currency">Moneda Preferida</label>
<select class="form-input" bind:value={businessProfile.preferred_currency}>
<option value="MXN">MXN - Peso Mexicano</option>
<option value="USD">USD - Dólar Americano</option>
@@ -654,12 +661,12 @@
</div>
<div>
<label class="form-label">Nacionalidad</label>
<label class="form-label" for="nationality">Nacionalidad</label>
<input type="text" class="form-input" bind:value={businessProfile.nationality} />
</div>
<div class="md:col-span-2">
<label class="form-label">Notas Adicionales</label>
<label class="form-label" for="notes">Notas Adicionales</label>
<textarea
class="form-input"
rows="3"