fix(models): update import path for CompanyVU submodel in models.py

This commit is contained in:
2026-01-21 12:58:40 -06:00
parent 4041a33b69
commit ce8712436e
2 changed files with 2 additions and 42 deletions

View File

@@ -11,7 +11,7 @@ if TYPE_CHECKING:
from .submodels.address import CompanyAddress
from .submodels.certification import CompanyCertification
from .submodels.digital_certificate import CompanyDigitalCertificate
from .submodels.ventanilla_unica import CompanyVU
from .submodels.vu import CompanyVU
from .submodels.electronic_agent import CompanyElectronicAgent
from .submodels.prevalidator import CompanyPrevalidator
from .submodels.cfdi import CompanyCFDI

View File

@@ -5,6 +5,7 @@
import { page } from '$app/stores';
import { clientsProvidersApi, type ClientProvider } from '$lib/api/dashboard/a76/clients-providers';
import { Button } from '$lib/components/ui/button';
import * as Card from '$lib/components/ui/card';
import { Input } from '$lib/components/ui/input';
import { Label } from '$lib/components/ui/label';
import * as Select from '$lib/components/ui/select';
@@ -154,47 +155,6 @@
</Card.Root>
{/if}
<!-- Data Table -->
<Card.Root class="bg-card dark:bg-black text-card-foreground dark:text-white border-border dark:border-gray-800">
<Card.Header>
<div class="flex items-center justify-between">
<div>
<Card.Description>
Mostrando {allItems.length} de {totalItems} registros
{#if companyStore.activeCompany}
- Compañía: {companyStore.activeCompany.name}
{/if}
</Card.Description>
</div>
<div class="flex items-center gap-2">
<Select.Root type="single" value={selectedType} onValueChange={handleTypeChange}>
<Select.Trigger class="w-[180px]">
{selectedType === 'both' ? 'Todos' : selectedType === 'client' ? 'Clientes' : 'Proveedores'}
</Select.Trigger>
<Select.Content>
<Select.Item value="both">Todos</Select.Item>
<Select.Item value="client">Clientes</Select.Item>
<Select.Item value="provider">Proveedores</Select.Item>
</Select.Content>
</Select.Root>
<Button variant="outline" onclick={reloadData}>
<RefreshCw class="mr-2" size={16} />
Actualizar
</Button>
</div>
</div>
</Card.Header>
<Card.Content>
<!-- TanStack DataTable con Infinite Scroll -->
<DataTable
data={allItems}
{columns}
{loading}
{hasMore}
{loadMore}
/>
</Card.Content>
</Card.Root>
<div class="flex-1 flex gap-4 overflow-hidden">
<!-- Left Panel: Table -->
<div class="flex-1 flex flex-col gap-4 overflow-hidden">