← Retour aux baux

État des lieux

{{ type === 'ENTRY' ? 'Entrée' : 'Sortie' }}

Constat contradictoire, photos de preuve et remise aux parties.

@if (loading() && !report()) {

Chargement de l’état des lieux…

} @else if (error() && !report()) { } @else if (report(); as value) { @if (loading()) {

Mise à jour de l’état des lieux…

} @if (error()) { } @if (success() && !error()) {

{{ success() }}

} @if (value.leaseRevisionNumber !== null) {

Révision de bail source {{ value.leaseRevisionNumber }} @if (value.leaseRevisionFingerprint) { · empreinte {{ value.leaseRevisionFingerprint }} }

}

Révision et finalisation

@if (value.status === 'DRAFT') { @if (revisionDownloadError()) { } @if (signedScan(); as scan) {

{{ scan.name }} · attestation de correspondance incluse à la finalisation.

} } @else if (value.status === 'FINALIZED') {

État des lieux finalisé.

@if (bundleDownloadError()) { }

Attestations de remise

@for (participant of value.participants; track participant.partyId) { @if (hasAttested(participant.partyId)) {

{{ participant.name }} : remise attestée.

} @else { } } @if (type === 'ENTRY') { @if (supplementType() === 'HEATING') { } @if (supplementIsLate()) {

La demande dépasse le délai indicatif (échéance : {{ supplementDeadline() }}). L’ajout reste possible avec une confirmation auditée.

} @for (photo of supplementPhotos(); track $index; let index = $index) {

{{ photo.file.name }} — {{ photo.zoneId }}

} @if (supplementSignedPdf(); as pdf) {

{{ pdf.name }} · {{ supplementPhotos().length }} photo(s).

} } } @else {

Ce brouillon est obsolète car la révision du bail a changé.

}
@if (type === 'EXIT') {

Comparaison structurée

Les constats sont alignés sans responsabilité ni montant.

@for (section of comparisonSections(); track section.title) {

{{ section.title }}

@for (line of section.lines; track line.reference) { }
Référence Entrée Sortie Changement Motif d’absence
{{ line.reference }} {{ line.entry }} {{ line.exit }} {{ line.changed ? 'Oui' : 'Non' }} {{ line.absence }}
} @if (comparison(); as compared) {

Photos

@for (line of compared.photos; track line.reference) {

Entrée

@if (line.entry) { Photo d’entrée } @else {

Aucune photo d’entrée.

}

Sortie

@if (line.exit) { Photo de sortie } @else {

Aucune photo de sortie.

}
@if (line.absence) {

Motif d’absence : {{ line.absence.reason }}

}
} }
} }