{{ $model['name'] }}
@if ($model['description']){{ $model['description'] }}
@endif{{ $model['price'] !== null ? $formatMoney($model['price'], $model['currency'] ?? 'MXN') : 'Precio por consultar' }}
@extends('layouts.dashboard.inface', ['section' => 'developments']) @section('extra-styles') @endsection @section('content') @php $canManageInventory = (bool) ($development['can_manage_inventory'] ?? false); $salesImportReport = $canManageInventory ? session('salesImportReport') : null; $salesImportWarnings = collect($salesImportReport['warnings'] ?? []); $salesImportErrors = collect($salesImportReport['errors'] ?? []); $formatMoney = static fn ($value, string $currency = 'MXN') => $value !== null && $value !== '' ? '$'.number_format((float) $value, 2).' '.$currency : 'No definido'; $formatBool = static fn ($value) => $value === null ? 'No definido' : ($value ? 'Si' : 'No'); $priceModeLabels = [ 'per_sqm' => 'Por m²', 'fixed' => 'Precio fijo', 'range' => 'Rango', ]; $dateText = static fn ($value) => filled($value) ? (string) $value : 'Sin definir'; $isExternal = ($development['availability_source'] ?? 'internal') === 'external'; $promotionId = data_get($development, 'promotion_contexts.0.promotion_id'); @endphp
{{ $development['address'] }}
Inventario controlado externamente
Los modelos y características son informativos. Confirma precios y disponibilidad con {{ $development['developer']['name'] ?? 'el desarrollador' }} antes de presentar una propuesta.
@if (!empty($development['availability']['url'])) Consultar disponibilidad open_in_new @endifConfiguración independiente
{{ $stage['name'] }}
{{ $stage['models_count'] }} modelos · {{ $stage['availability_label'] }}
@if ($stage['is_active']) @elseImportacion de ventas
Se detectaron {{ $salesImportReport['rows_detected'] ?? 0 }} filas y se prepararon {{ $salesImportReport['rows_prepared'] ?? 0 }} registros para importar.
Ventas
{{ $salesImportReport['created_sales'] ?? 0 }}
Pagos Hist.
{{ $salesImportReport['created_historical_payments'] ?? 0 }}
Omitidas
{{ $salesImportReport['skipped_rows'] ?? 0 }}
Duplicadas
{{ $salesImportReport['duplicate_rows_collapsed'] ?? 0 }}
Advertencias
Filas con error
{{ $development['frontPage']['subtitle'] }}
Disponibilidad
Consultar
Modelos publicados
{{ count($development['unitModels'] ?? []) }}
Fuente
Desarrollador externo
Tipo
{{ $development['developmentType']['name'] ?? 'No definido' }}
Sucursal
{{ $development['branch']['name'] ?? 'No definida' }}
{{ $development['branch']['agency'] ?? '' }}
Inicio
{{ $dateText($development['startDate'] ?? null) }}
Fin
{{ $dateText($development['endDate'] ?? null) }}
Administración
{{ $development['management']['ownershipLabel'] ?? 'Propio' }}
Comisión por lote vendido
{{ $formatMoney( $development['management']['sellerCommissionAmount'] ?? 0, $development['pricing']['currency'] ?? 'MXN', ) }}
Comisiones por periodo
{{ $development['description'] }}
@endif @if (!empty($development['fullDescription'])){{ $development['fullDescription'] }}
@endif{{ collect($development['faqs'] ?? [])->where('is_active', true)->count() }} publicadas de {{ count($development['faqs'] ?? []) }} configuradas
{{ $faq['answer'] }}
No hay preguntas frecuentes configuradas.
@if (!$isExternal && ($development['can_manage_inventory'] ?? false)) Agregar la primera pregunta @endif{{ $model['description'] }}
@endif{{ $model['price'] !== null ? $formatMoney($model['price'], $model['currency'] ?? 'MXN') : 'Precio por consultar' }}
El desarrollador aún no ha publicado modelos.
@endforelse{{ $development['pricing']['pricingNote'] }}
@endif{{ $development['legal']['notes'] }}
@endif{{ $development['locationReferences'] }}