@php
use App\Enums\PriceType;
use App\Enums\PriceTypeLoyer;
use App\Enums\PriceTypeTravaux;
// Récupérer les prix depuis l'option (copiés lors de la création)
$lotPrices = $lotPrices ?? collect();
$prixTTC = $lotPrices->where('type', PriceType::PRIX_TTC->value)->first()?->value ?? 0;
$prixParkingTTC = $lotPrices->where('type', 'prix_parking_ttc')->first()?->value ?? 0;
@endphp
@switch($fiscaliteId)
@case(3) {{-- Pinel --}}
@case(4) {{-- Pinel Intermédié --}}
@php
$prixImmobilierTTC = $lotPrices->where('type', 'prix_immobilier_ttc')->first()?->value ?? 0;
// Le prix foncier est calculé : Prix de vente TTC - Total des travaux en read_only
$prixFoncier = $lot->getPrixFoncier();
$prixGarageTTC = $lotPrices->where('type', 'prix_garage_ttc')->first()?->value ?? 0;
$prixCaveTTC = $lotPrices->where('type', 'prix_cave_ttc')->first()?->value ?? 0;
$prixVenteTTC = $lotPrices->where('type', 'prix_vente_ttc')->first()?->value ?? 0;
$fraisNotaireTTC = $lotPrices->where('type', 'frais_notaire_ttc')->first()?->value ?? 0;
$montantDepotGarantie = $lotPrices->where('type', 'montant_depot_garantie')->first()?->value ?? 0;
$fraisMiseEnCopro = $lotPrices->where('type', 'frais_mise_en_copro')->first()?->value ?? 0;
@endphp
@if($prixImmobilierTTC > 0)
Prix Immo TTC : {{ number_format($prixImmobilierTTC, 0, ',', ' ') }} €
@endif
@if($prixFoncier > 0)
Prix Foncier : {{ number_format($prixFoncier, 0, ',', ' ') }} €
@endif
@if($prixParkingTTC > 0)
Prix parking TTC : {{ number_format($prixParkingTTC, 0, ',', ' ') }} €
@endif
@if($prixGarageTTC > 0)
Prix garage TTC : {{ number_format($prixGarageTTC, 0, ',', ' ') }} €
@endif
@if($prixCaveTTC > 0)
Prix cave TTC : {{ number_format($prixCaveTTC, 0, ',', ' ') }} €
@endif
@if($prixVenteTTC > 0)
Prix vente TTC : {{ number_format($prixVenteTTC, 0, ',', ' ') }} €
@endif
@if($fraisNotaireTTC > 0)
Frais de notaire : {{ number_format($fraisNotaireTTC, 0, ',', ' ') }} €
@endif
@if($montantDepotGarantie > 0)
Dépôt de garantie : {{ number_format($montantDepotGarantie, 0, ',', ' ') }} €
@endif
@if($fraisMiseEnCopro > 0)
Frais de mise en copro : {{ number_format($fraisMiseEnCopro, 0, ',', ' ') }} €
@endif
@break
@case(6) {{-- Pinel Optimisé --}}
@php
$prixImmobilierTTC = $lotPrices->where('type', 'prix_immobilier_ttc')->first()?->value ?? 0;
// Le prix foncier est calculé : Prix de vente TTC - Total des travaux en read_only
$prixFoncier = $lot->getPrixFoncier();
$montantTravauxCommTTC = $lotPrices->where('type', PriceTypeTravaux::PRIX_TRAVAUX_ELIGIBLE->value)->first()?->value ?? 0;
$montantTravauxPrivTTC = $lotPrices->where('type', PriceTypeTravaux::PRIX_TRAVAUX_NON_ELIGIBLE->value)->first()?->value ?? 0;
$prixGarageTTC = $lotPrices->where('type', 'prix_garage_ttc')->first()?->value ?? 0;
$prixCaveTTC = $lotPrices->where('type', 'prix_cave_ttc')->first()?->value ?? 0;
$prixVenteTTC = $lotPrices->where('type', 'prix_vente_ttc')->first()?->value ?? 0;
$fraisNotaireTTC = $lotPrices->where('type', 'frais_notaire_ttc')->first()?->value ?? 0;
$montantDepotGarantie = $lotPrices->where('type', 'montant_depot_garantie')->first()?->value ?? 0;
$fraisMiseEnCopro = $lotPrices->where('type', 'frais_mise_en_copro')->first()?->value ?? 0;
@endphp
@if($prixImmobilierTTC > 0)
Prix Immo TTC : {{ number_format($prixImmobilierTTC, 0, ',', ' ') }} €
@endif
@if($prixFoncier > 0)
Prix Foncier : {{ number_format($prixFoncier, 0, ',', ' ') }} €
@endif
@if($montantTravauxCommTTC > 0)
Travaux DF : {{ number_format($montantTravauxCommTTC, 0, ',', ' ') }} € {{ ($prixTTC - $prixParkingTTC) > 0 ? round(($montantTravauxCommTTC / ($prixTTC - $prixParkingTTC)) * 100) : 0 }} %
@endif
@if($montantTravauxPrivTTC > 0)
Travaux Pinel : {{ number_format($montantTravauxPrivTTC, 0, ',', ' ') }} €
@endif
@if($prixParkingTTC > 0)
Prix parking TTC : {{ number_format($prixParkingTTC, 0, ',', ' ') }} €
@endif
@if($prixGarageTTC > 0)
Prix garage TTC : {{ number_format($prixGarageTTC, 0, ',', ' ') }} €
@endif
@if($prixCaveTTC > 0)
Prix cave TTC : {{ number_format($prixCaveTTC, 0, ',', ' ') }} €
@endif
@if($prixVenteTTC > 0)
Prix vente TTC : {{ number_format($prixVenteTTC, 0, ',', ' ') }} €
@endif
@if($fraisNotaireTTC > 0)
Frais de notaire : {{ number_format($fraisNotaireTTC, 0, ',', ' ') }} €
@endif
@if($montantDepotGarantie > 0)
Dépôt de garantie : {{ number_format($montantDepotGarantie, 0, ',', ' ') }} €
@endif
@if($fraisMiseEnCopro > 0)
Frais de mise en copro : {{ number_format($fraisMiseEnCopro, 0, ',', ' ') }} €
@endif
@break
@case(10) {{-- Déficit Foncier --}}
@php
$prixImmobilierTTC = $lotPrices->where('type', 'prix_immobilier_ttc')->first()?->value ?? 0;
// Le prix foncier est calculé : Prix de vente TTC - Total des travaux en read_only
$prixFoncier = $lot->getPrixFoncier();
$montantTravauxCommTTC = $lotPrices->where('type', PriceTypeTravaux::PRIX_TRAVAUX_ELIGIBLE->value)->first()?->value ?? 0;
$montantTravauxPrivTTC = $lotPrices->where('type', PriceTypeTravaux::PRIX_TRAVAUX_NON_ELIGIBLE->value)->first()?->value ?? 0;
$prixGarageTTC = $lotPrices->where('type', 'prix_garage_ttc')->first()?->value ?? 0;
$prixCaveTTC = $lotPrices->where('type', 'prix_cave_ttc')->first()?->value ?? 0;
$prixVenteTTC = $lotPrices->where('type', 'prix_vente_ttc')->first()?->value ?? 0;
$loyerMensuel = $lotPrices->where('type', 'loyer_mensuel')->first()?->value ?? 0;
$fraisNotaireTTC = $lotPrices->where('type', 'frais_notaire_ttc')->first()?->value ?? 0;
$montantDepotGarantie = $lotPrices->where('type', 'montant_depot_garantie')->first()?->value ?? 0;
$fraisMiseEnCopro = $lotPrices->where('type', 'frais_mise_en_copro')->first()?->value ?? 0;
@endphp
@if($prixImmobilierTTC > 0)
Prix Immo TTC : {{ number_format($prixImmobilierTTC, 0, ',', ' ') }} €
@endif
@if($prixFoncier > 0)
Prix Foncier : {{ number_format($prixFoncier, 0, ',', ' ') }} €
@endif
@if($montantTravauxCommTTC > 0)
Travaux DF : {{ number_format($montantTravauxCommTTC, 0, ',', ' ') }} € {{ ($prixTTC - $prixParkingTTC) > 0 ? round(($montantTravauxCommTTC / ($prixTTC - $prixParkingTTC)) * 100) : 0 }} %
@endif
@if($montantTravauxPrivTTC > 0)
Travaux non DF : {{ number_format($montantTravauxPrivTTC, 0, ',', ' ') }} €
@endif
@if($prixParkingTTC > 0)
Prix parking TTC : {{ number_format($prixParkingTTC, 0, ',', ' ') }} €
@endif
@if($prixGarageTTC > 0)
Prix garage TTC : {{ number_format($prixGarageTTC, 0, ',', ' ') }} €
@endif
@if($prixCaveTTC > 0)
Prix cave TTC : {{ number_format($prixCaveTTC, 0, ',', ' ') }} €
@endif
@if($prixVenteTTC > 0)
Prix vente TTC : {{ number_format($prixVenteTTC, 0, ',', ' ') }} €
@endif
@if($loyerMensuel > 0)
Loyer marché : {{ number_format($loyerMensuel, 0, ',', ' ') }} €
@endif
@if($fraisNotaireTTC > 0)
Frais de notaire : {{ number_format($fraisNotaireTTC, 0, ',', ' ') }} €
@endif
@if($montantDepotGarantie > 0)
Dépôt de garantie : {{ number_format($montantDepotGarantie, 0, ',', ' ') }} €
@endif
@if($fraisMiseEnCopro > 0)
Frais de mise en copro : {{ number_format($fraisMiseEnCopro, 0, ',', ' ') }} €
@endif
@break
@case(8) {{-- Malraux --}}
@php
$prixImmobilierTTC = $lotPrices->where('type', 'prix_immobilier_ttc')->first()?->value ?? 0;
// Le prix foncier est calculé : Prix de vente TTC - Total des travaux en read_only
$prixFoncier = $lot->getPrixFoncier();
$prixTravauxTotal = ($lotPrices->where('type', PriceTypeTravaux::PRIX_TRAVAUX_ELIGIBLE->value)->first()?->value ?? 0) + ($lotPrices->where('type', PriceTypeTravaux::PRIX_TRAVAUX_NON_ELIGIBLE->value)->first()?->value ?? 0);
$prixGarageTTC = $lotPrices->where('type', 'prix_garage_ttc')->first()?->value ?? 0;
$prixCaveTTC = $lotPrices->where('type', 'prix_cave_ttc')->first()?->value ?? 0;
$prixVenteTTC = $lotPrices->where('type', 'prix_vente_ttc')->first()?->value ?? 0;
$loyerMensuel = $lotPrices->where('type', 'loyer_mensuel')->first()?->value ?? 0;
$fraisNotaireTTC = $lotPrices->where('type', 'frais_notaire_ttc')->first()?->value ?? 0;
$montantDepotGarantie = $lotPrices->where('type', 'montant_depot_garantie')->first()?->value ?? 0;
$fraisMiseEnCopro = $lotPrices->where('type', 'frais_mise_en_copro')->first()?->value ?? 0;
@endphp
@if($prixImmobilierTTC > 0)
Prix Immo TTC : {{ number_format($prixImmobilierTTC, 0, ',', ' ') }} €
@endif
@if($prixFoncier > 0)
Prix Foncier : {{ number_format($prixFoncier, 0, ',', ' ') }} €
@endif
@if($prixTravauxTotal > 0)
Travaux : {{ number_format($prixTravauxTotal, 0, ',', ' ') }} € {{ $prixTTC > 0 ? round(($prixTravauxTotal / $prixTTC) * 100) : 0 }} %
@endif
@if($prixParkingTTC > 0)
Prix parking TTC : {{ number_format($prixParkingTTC, 0, ',', ' ') }} €
@endif
@if($prixGarageTTC > 0)
Prix garage TTC : {{ number_format($prixGarageTTC, 0, ',', ' ') }} €
@endif
@if($prixCaveTTC > 0)
Prix cave TTC : {{ number_format($prixCaveTTC, 0, ',', ' ') }} €
@endif
@if($prixVenteTTC > 0)
Prix vente TTC : {{ number_format($prixVenteTTC, 0, ',', ' ') }} €
@endif
@if($loyerMensuel > 0)
Loyer marché : {{ number_format($loyerMensuel, 0, ',', ' ') }} €
@endif
@if($fraisNotaireTTC > 0)
Frais de notaire : {{ number_format($fraisNotaireTTC, 0, ',', ' ') }} €
@endif
@if($montantDepotGarantie > 0)
Dépôt de garantie : {{ number_format($montantDepotGarantie, 0, ',', ' ') }} €
@endif
@if($fraisMiseEnCopro > 0)
Frais de mise en copro : {{ number_format($fraisMiseEnCopro, 0, ',', ' ') }} €
@endif
@break
@case(9) {{-- Monument Historique --}}
@php
$prixImmobilierTTC = $lotPrices->where('type', 'prix_immobilier_ttc')->first()?->value ?? 0;
// Le prix foncier est calculé : Prix de vente TTC - Total des travaux en read_only
$prixFoncier = $lot->getPrixFoncier();
$montantTravauxCommTTC = $lotPrices->where('type', PriceTypeTravaux::PRIX_TRAVAUX_ELIGIBLE->value)->first()?->value ?? 0;
$montantTravauxPrivTTC = $lotPrices->where('type', PriceTypeTravaux::PRIX_TRAVAUX_NON_ELIGIBLE->value)->first()?->value ?? 0;
$prixGarageTTC = $lotPrices->where('type', 'prix_garage_ttc')->first()?->value ?? 0;
$prixCaveTTC = $lotPrices->where('type', 'prix_cave_ttc')->first()?->value ?? 0;
$prixVenteTTC = $lotPrices->where('type', 'prix_vente_ttc')->first()?->value ?? 0;
$loyerMensuel = $lotPrices->where('type', 'loyer_mensuel')->first()?->value ?? 0;
$fraisNotaireTTC = $lotPrices->where('type', 'frais_notaire_ttc')->first()?->value ?? 0;
$montantDepotGarantie = $lotPrices->where('type', 'montant_depot_garantie')->first()?->value ?? 0;
$fraisMiseEnCopro = $lotPrices->where('type', 'frais_mise_en_copro')->first()?->value ?? 0;
@endphp
@if($prixImmobilierTTC > 0)
Prix Immo TTC : {{ number_format($prixImmobilierTTC, 0, ',', ' ') }} €
@endif
@if($prixFoncier > 0)
Prix Foncier : {{ number_format($prixFoncier, 0, ',', ' ') }} €
@endif
@if($montantTravauxCommTTC > 0)
Travaux DF : {{ number_format($montantTravauxCommTTC, 0, ',', ' ') }} € {{ ($prixTTC - $prixParkingTTC) > 0 ? round(($montantTravauxCommTTC / ($prixTTC - $prixParkingTTC)) * 100) : 0 }} %
@endif
@if($montantTravauxPrivTTC > 0)
Travaux Hors DF : {{ number_format($montantTravauxPrivTTC, 0, ',', ' ') }} €
@endif
@if($prixParkingTTC > 0)
Prix parking TTC : {{ number_format($prixParkingTTC, 0, ',', ' ') }} €
@endif
@if($prixGarageTTC > 0)
Prix garage TTC : {{ number_format($prixGarageTTC, 0, ',', ' ') }} €
@endif
@if($prixCaveTTC > 0)
Prix cave TTC : {{ number_format($prixCaveTTC, 0, ',', ' ') }} €
@endif
@if($prixVenteTTC > 0)
Prix vente TTC : {{ number_format($prixVenteTTC, 0, ',', ' ') }} €
@endif
@if($loyerMensuel > 0)
Loyer marché : {{ number_format($loyerMensuel, 0, ',', ' ') }} €
@endif
@if($fraisNotaireTTC > 0)
Frais de notaire : {{ number_format($fraisNotaireTTC, 0, ',', ' ') }} €
@endif
@if($montantDepotGarantie > 0)
Dépôt de garantie : {{ number_format($montantDepotGarantie, 0, ',', ' ') }} €
@endif
@if($fraisMiseEnCopro > 0)
Frais de mise en copro : {{ number_format($fraisMiseEnCopro, 0, ',', ' ') }} €
@endif
@break
@case(11) {{-- Denormandie --}}
@php
$prixImmobilierTTC = $lotPrices->where('type', 'prix_immobilier_ttc')->first()?->value ?? 0;
// Le prix foncier est calculé : Prix de vente TTC - Total des travaux en read_only
$prixFoncier = $lot->getPrixFoncier();
$prixGarageTTC = $lotPrices->where('type', 'prix_garage_ttc')->first()?->value ?? 0;
$prixCaveTTC = $lotPrices->where('type', 'prix_cave_ttc')->first()?->value ?? 0;
$prixVenteTTC = $lotPrices->where('type', 'prix_vente_ttc')->first()?->value ?? 0;
$fraisNotaireTTC = $lotPrices->where('type', 'frais_notaire_ttc')->first()?->value ?? 0;
$montantDepotGarantie = $lotPrices->where('type', 'montant_depot_garantie')->first()?->value ?? 0;
$fraisMiseEnCopro = $lotPrices->where('type', 'frais_mise_en_copro')->first()?->value ?? 0;
@endphp
@if($prixImmobilierTTC > 0)
Prix Immo TTC : {{ number_format($prixImmobilierTTC, 0, ',', ' ') }} €
@endif
@if($prixFoncier > 0)
Prix Foncier : {{ number_format($prixFoncier, 0, ',', ' ') }} €
@endif
@if($prixParkingTTC > 0)
Prix parking TTC : {{ number_format($prixParkingTTC, 0, ',', ' ') }} €
@endif
@if($prixGarageTTC > 0)
Prix garage TTC : {{ number_format($prixGarageTTC, 0, ',', ' ') }} €
@endif
@if($prixCaveTTC > 0)
Prix cave TTC : {{ number_format($prixCaveTTC, 0, ',', ' ') }} €
@endif
@if($prixVenteTTC > 0)
Prix vente TTC : {{ number_format($prixVenteTTC, 0, ',', ' ') }} €
@endif
@if($fraisNotaireTTC > 0)
Frais de notaire : {{ number_format($fraisNotaireTTC, 0, ',', ' ') }} €
@endif
@if($montantDepotGarantie > 0)
Dépôt de garantie : {{ number_format($montantDepotGarantie, 0, ',', ' ') }} €
@endif
@if($fraisMiseEnCopro > 0)
Frais de mise en copro : {{ number_format($fraisMiseEnCopro, 0, ',', ' ') }} €
@endif
@break
@case(13) {{-- Location Meublée Services --}}
@php
$prixImmobilierHT = $lotPrices->where('type', 'prix_immobilier_ht')->first()?->value ?? 0;
$prixMobilierHT = $lotPrices->where('type', 'prix_mobilier_ht')->first()?->value ?? 0;
// Le prix foncier est calculé : Prix de vente TTC - Total des travaux en read_only
$prixFoncier = $lot->getPrixFoncier();
$prixParkingHT = $lotPrices->where('type', 'prix_parking_ht')->first()?->value ?? 0;
$prixGarageHT = $lotPrices->where('type', 'prix_garage_ht')->first()?->value ?? 0;
$prixCaveHT = $lotPrices->where('type', 'prix_cave_ht')->first()?->value ?? 0;
$prixVenteHT = $lotPrices->where('type', 'prix_vente_ht')->first()?->value ?? 0;
$loyerMensuel = $lotPrices->where('type', 'loyer_mensuel')->first()?->value ?? 0;
$fraisNotaireTTC = $lotPrices->where('type', 'frais_notaire_ttc')->first()?->value ?? 0;
$montantDepotGarantie = $lotPrices->where('type', 'montant_depot_garantie')->first()?->value ?? 0;
@endphp
@if($prixImmobilierHT > 0)
Prix Immo HT : {{ number_format($prixImmobilierHT, 0, ',', ' ') }} €
@endif
@if($prixMobilierHT > 0)
Prix Mobilier HT : {{ number_format($prixMobilierHT, 0, ',', ' ') }} €
@endif
@if($prixFoncier > 0)
Prix Foncier : {{ number_format($prixFoncier, 0, ',', ' ') }} €
@endif
@if($prixParkingHT > 0)
Prix parking HT : {{ number_format($prixParkingHT, 0, ',', ' ') }} €
@endif
@if($prixGarageHT > 0)
Prix garage HT : {{ number_format($prixGarageHT, 0, ',', ' ') }} €
@endif
@if($prixCaveHT > 0)
Prix cave HT : {{ number_format($prixCaveHT, 0, ',', ' ') }} €
@endif
@if($prixVenteHT > 0)
Prix vente HT : {{ number_format($prixVenteHT, 0, ',', ' ') }} €
@endif
@if($loyerMensuel > 0)
Loyer marché : {{ number_format($loyerMensuel, 0, ',', ' ') }} €
@endif
@if($fraisNotaireTTC > 0)
Frais de notaire : {{ number_format($fraisNotaireTTC, 0, ',', ' ') }} €
@endif
@if($montantDepotGarantie > 0)
Dépôt de garantie : {{ number_format($montantDepotGarantie, 0, ',', ' ') }} €
@endif
@break
@case(14) {{-- Location Meublée Classique --}}
@php
$prixImmobilierTTC = $lotPrices->where('type', 'prix_immobilier_ttc')->first()?->value ?? 0;
$prixMobilierTTC = $lotPrices->where('type', 'prix_mobilier_ttc')->first()?->value ?? 0;
// Le prix foncier est calculé : Prix de vente TTC - Total des travaux en read_only
$prixFoncier = $lot->getPrixFoncier();
$prixGarageTTC = $lotPrices->where('type', 'prix_garage_ttc')->first()?->value ?? 0;
$prixCaveTTC = $lotPrices->where('type', 'prix_cave_ttc')->first()?->value ?? 0;
$prixVenteTTC = $lotPrices->where('type', 'prix_vente_ttc')->first()?->value ?? 0;
$loyerMensuel = $lotPrices->where('type', 'loyer_mensuel')->first()?->value ?? 0;
$fraisNotaireTTC = $lotPrices->where('type', 'frais_notaire_ttc')->first()?->value ?? 0;
$montantDepotGarantie = $lotPrices->where('type', 'montant_depot_garantie')->first()?->value ?? 0;
@endphp
@if($prixImmobilierTTC > 0)
Prix Immo TTC : {{ number_format($prixImmobilierTTC, 0, ',', ' ') }} €
@endif
@if($prixMobilierTTC > 0)
Prix Mobilier TTC : {{ number_format($prixMobilierTTC, 0, ',', ' ') }} €
@endif
@if($prixFoncier > 0)
Prix Foncier : {{ number_format($prixFoncier, 0, ',', ' ') }} €
@endif
@if($prixParkingTTC > 0)
Prix parking TTC : {{ number_format($prixParkingTTC, 0, ',', ' ') }} €
@endif
@if($prixGarageTTC > 0)
Prix garage TTC : {{ number_format($prixGarageTTC, 0, ',', ' ') }} €
@endif
@if($prixCaveTTC > 0)
Prix cave TTC : {{ number_format($prixCaveTTC, 0, ',', ' ') }} €
@endif
@if($prixVenteTTC > 0)
Prix vente TTC : {{ number_format($prixVenteTTC, 0, ',', ' ') }} €
@endif
@if($loyerMensuel > 0)
Loyer marché : {{ number_format($loyerMensuel, 0, ',', ' ') }} €
@endif
@if($fraisNotaireTTC > 0)
Frais de notaire : {{ number_format($fraisNotaireTTC, 0, ',', ' ') }} €
@endif
@if($montantDepotGarantie > 0)
Dépôt de garantie : {{ number_format($montantDepotGarantie, 0, ',', ' ') }} €
@endif
@break
@case(1) {{-- Classique --}}
@default
@php
$prixGarageTTC = $lotPrices->where('type', 'prix_garage_ttc')->first()?->value ?? 0;
$prixCaveTTC = $lotPrices->where('type', 'prix_cave_ttc')->first()?->value ?? 0;
$montantDepotGarantie = $lotPrices->where('type', 'montant_depot_garantie')->first()?->value ?? 0;
$fraisNotaireTTC = $lotPrices->where('type', 'frais_notaire_ttc')->first()?->value ?? 0;
$fraisMiseEnCopro = $lotPrices->where('type', 'frais_mise_en_copro')->first()?->value ?? 0;
$prixImmobilierTTC = $lotPrices->where('type', 'prix_immobilier_ttc')->first()?->value ?? 0;
// Le prix foncier est calculé : Prix de vente TTC - Total des travaux en read_only
$prixFoncier = $lot->getPrixFoncier();
$prixVenteTTC = $lotPrices->where('type', 'prix_vente_ttc')->first()?->value ?? 0;
@endphp
@if($prixGarageTTC > 0)
Prix garage TTC : {{ number_format($prixGarageTTC, 0, ',', ' ') }} €
@endif
@if($prixCaveTTC > 0)
Prix cave TTC : {{ number_format($prixCaveTTC, 0, ',', ' ') }} €
@endif
@if($montantDepotGarantie > 0)
Dépôt de garantie : {{ number_format($montantDepotGarantie, 0, ',', ' ') }} €
@endif
@if($fraisNotaireTTC > 0)
Frais de notaire : {{ number_format($fraisNotaireTTC, 0, ',', ' ') }} €
@endif
@if($fraisMiseEnCopro > 0)
Frais de mise en copro : {{ number_format($fraisMiseEnCopro, 0, ',', ' ') }} €
@endif
@if($prixImmobilierTTC > 0)
Prix Immo TTC : {{ number_format($prixImmobilierTTC, 0, ',', ' ') }} €
@endif
@if($prixFoncier > 0)
Prix Foncier : {{ number_format($prixFoncier, 0, ',', ' ') }} €
@endif
@if($prixParkingTTC > 0)
Prix parking TTC : {{ number_format($prixParkingTTC, 0, ',', ' ') }} €
@endif
@if($prixVenteTTC > 0)
Prix vente TTC : {{ number_format($prixVenteTTC, 0, ',', ' ') }} €
@endif
@break
@endswitch