317 lines
18 KiB
XML
317 lines
18 KiB
XML
<metal:block use-macro="main_template">
|
|
<div metal:fill-slot="content">
|
|
<br />
|
|
<!-- ENTETE -->
|
|
<div class="row">
|
|
<h4>ADRESSE d'INTERVENTION</h4>
|
|
<table class="table table-condensed ">
|
|
<tr>
|
|
<td>
|
|
<p>
|
|
<h4>${rapport.C_QUALITE} ${rapport.C_NOM}</h4>
|
|
${rapport.C_ADR}<br />
|
|
<span tal:condition="rapport.C_ADR2">${rapport.C_ADR2}<br /></span>
|
|
${rapport.C_CP} ${rapport.C_VILLE}<br />
|
|
</p>
|
|
</td>
|
|
<td>
|
|
<p>
|
|
Assureur : <b>${rapport.NOMCLI}</b><br />
|
|
No Sinistre : ${rapport.NOSIN}
|
|
<br />
|
|
Téléphone : ${rapport.C_TEL1}<br />
|
|
Mobile: ${rapport.C_TELP}<br />
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div> <!-- row -->
|
|
|
|
<div class="row">
|
|
<form id="rdv_edit-form" action="${url}" method="post"
|
|
data-fv-framework="bootstrap"
|
|
data-fv-icon-valid="glyphicon glyphicon-ok"
|
|
data-fv-icon-invalid="glyphicon glyphicon-remove"
|
|
data-fv-icon-validating="glyphicon glyphicon-refresh">
|
|
|
|
<div class="form-group">
|
|
<label class="control-label" for="rapport">Compte-rendu : </label>
|
|
<label class="radio-inline">
|
|
<input type="radio" name="rapport" value="Définitif" disabled="disabled"
|
|
tal:attributes="checked rapport.rapport=='Définitif'">Définitif
|
|
</label>
|
|
<label class="radio-inline">
|
|
<input type="radio" name="rapport" value="Provisoire" disabled="disabled"
|
|
tal:attributes="checked rapport.rapport=='Provisoire'">Provisoire
|
|
</label>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label" for="statut_proprio">Statut : </label>
|
|
<label class="radio-inline">
|
|
<input type="radio" name="statut_proprio" value="Propriétaire" disabled="disabled"
|
|
tal:attributes="checked rapport.statut_proprio=='Propriétaire'">Propriétaire
|
|
</label>
|
|
<label class="radio-inline">
|
|
<input type="radio" name="statut_proprio" value="Non propriétaire" disabled="disabled"
|
|
tal:attributes="checked rapport.statut_proprio=='Non propriétaire'">Non propriétaire
|
|
</label>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label" for="comment">Caractéristique du risque sinistré :</label>
|
|
<br /> ${rapport.caracteristique}
|
|
</div>
|
|
|
|
<br />
|
|
<h4 class="text-center text-primary">ANALYSE</h4>
|
|
<div class="form-group">
|
|
<label class="control-label" for="equipement">Les dommages sont-ils causés par un bien d'équipement ?</label>
|
|
<br /> ${rapport.equipement}
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label" for="reseau_int">Les dommages sont-ils causés par un réseau intérieur au bâtiment ?</label>
|
|
<br /> ${rapport.reseau_int}
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label" for="reseau_ext">Les dommages sont-ils causés par un réseau extérieur au bâtiment ?</label>
|
|
<br /> ${rapport.reseau_ext}
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label" for="anti_retour">Le bien sinistré est-il protégé par un dispositif anti-retour ? </label>
|
|
<label class="radio-inline">
|
|
<input type="radio" name="anti_retour" value="NON" disabled="disabled"
|
|
tal:attributes="checked rapport.anti_retour=='NON'">NON
|
|
</label>
|
|
<label class="radio-inline">
|
|
<input type="radio" name="anti_retour" value="OUI" disabled="disabled"
|
|
tal:attributes="checked rapport.anti_retour=='OUI'">OUI
|
|
</label>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label" for="reseau_local">Localisation de ces réseaux intérieurs ou extérieurs</label>
|
|
<br /> ${rapport.reseau_local}
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label" for="element_clos">Les dommages sont-ils causés par un élément de clos du bâtiment ?</label>
|
|
<br /> ${rapport.element_clos}
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label" for="element_couvert">Les dommages sont-ils causés par un élément couvert du bâtiment ?</label>
|
|
<br /> ${rapport.element_couvert}
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label" for="voisin">Les dommages sont-ils causés par un bâtiment voisin ? </label>
|
|
<label class="radio-inline">
|
|
<input type="radio" name="voisin" value="NON" disabled="disabled"
|
|
tal:attributes="checked rapport.voisin=='NON'">NON
|
|
</label>
|
|
<label class="radio-inline">
|
|
<input type="radio" name="voisin" value="OUI" disabled="disabled"
|
|
tal:attributes="checked rapport.voisin=='OUI'">OUI
|
|
</label>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label" for="voisin_adresse">Adresse du bâtiment</label>
|
|
<br /> ${rapport.voisin_adresse}
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label" for="voisin_coordonnees">Coordonnées propriétaire ou syndic</label>
|
|
<br /> ${rapport.voisin_coordonnees}
|
|
</div>
|
|
|
|
<br />
|
|
<h4 class="text-center text-primary">RAPPORT</h4>
|
|
<div class="form-group">
|
|
<label class="control-label" for="degats">Constatation des dégâts occasionnés :</label>
|
|
<br /> ${rapport.degats}
|
|
</div>
|
|
|
|
<br />
|
|
<h4 class="text-center text-primary">TRAVAUX relatifs à la DETECTION de la fuite</h4>
|
|
<div class="form-group">
|
|
<label class="control-label" for="detection_fuite">Détection de la fuite : </label>
|
|
<label class="radio-inline">
|
|
<input type="radio" name="detection_fuite" value="Destructif" disabled="disabled"
|
|
tal:attributes="checked rapport.detection_fuite=='Destructif'">Destructif
|
|
</label>
|
|
<label class="radio-inline">
|
|
<input type="radio" name="detection_fuite" value="Non destructif" disabled="disabled"
|
|
tal:attributes="checked rapport.detection_fuite=='Non destructif'">Non destructif
|
|
</label>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label">Mesures d'humidité : </label>
|
|
<label class="checkbox-inline" disabled><input type="checkbox" name="sonde_capa" value="${rapport.sonde_capa}" disabled
|
|
tal:attributes="checked rapport.sonde_capa != 0 and 'checked' or None">Sonde capacitive</label>
|
|
<label class="checkbox-inline" disabled><input type="checkbox" name="sonde_cond" value="${rapport.sonde_cond}" disabled
|
|
tal:attributes="checked rapport.sonde_cond != 0 and 'checked' or None">Sonde à conductivité électrique</label>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label">Test de réseaux : </label>
|
|
<label class="checkbox-inline" disabled><input type="checkbox" name="test_mano" value="${rapport.test_mano}" disabled
|
|
tal:attributes="checked rapport.test_mano != 0 and 'checked' or None">Système manométrique</label>
|
|
<label class="checkbox-inline" disabled><input type="checkbox" name="test_gaz" value="${rapport.test_gaz}" disabled
|
|
tal:attributes="checked rapport.test_gaz != 0 and 'checked' or None">Gaz traceur</label>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label">Visualisation : </label>
|
|
<label class="checkbox-inline" disabled><input type="checkbox" name="visu_camera" value="${rapport.visu_camera}" disabled
|
|
tal:attributes="checked rapport.visu_camera != 0 and 'checked' or None">Caméra infrarouge</label>
|
|
<label class="checkbox-inline" disabled><input type="checkbox" name="visu_endoscope" value="${rapport.visu_endoscope}" disabled
|
|
tal:attributes="checked rapport.visu_endoscope != 0 and 'checked' or None">Endoscope à fibre optique</label>
|
|
<label class="checkbox-inline" disabled><input type="checkbox" name="visu_tele" value="${rapport.visu_tele}" disabled
|
|
tal:attributes="checked rapport.visu_tele != 0 and 'checked' or None">Endoscope à fibre optique</label>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label">Recherche de réseaux : </label>
|
|
<label class="checkbox-inline" disabled><input type="checkbox" name="rech_magnetique" value="${rapport.rech_magnetique}" disabled
|
|
tal:attributes="checked rapport.rech_magnetique != 0 and 'checked' or None">Système électro magnétique</label>
|
|
<label class="checkbox-inline" disabled><input type="checkbox" name="rech_accoustique" value="${rapport.rech_accoustique}" disabled
|
|
tal:attributes="checked rapport.rech_accoustique != 0 and 'checked' or None">Système électro accoustique</label>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label">Tests d'étanchéité : </label>
|
|
<label class="checkbox-inline" disabled><input type="checkbox" name="test_accoustique" value="${rapport.test_accoustique}" disabled
|
|
tal:attributes="checked rapport.test_accoustique != 0 and 'checked' or None">Ecoute électro accoustique</label>
|
|
<label class="checkbox-inline" disabled><input type="checkbox" name="test_mise_en_eau" value="${rapport.test_mise_en_eau}" disabled
|
|
tal:attributes="checked rapport.test_mise_en_eau != 0 and 'checked' or None">Mise en eau</label>
|
|
<label class="checkbox-inline" disabled><input type="checkbox" name="test_fumigenes" value="${rapport.test_fumigenes}" disabled
|
|
tal:attributes="checked rapport.test_fumigenes != 0 and 'checked' or None">Fumigènes</label>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label" for="descr_detect">Descriptif de la détection</label>
|
|
<br /> ${rapport.descr_detect}
|
|
</div>
|
|
|
|
<br />
|
|
<h4 class="text-center text-primary">TRAVAUX relatifs à la REPARATION de la fuite</h4>
|
|
<div class="form-group">
|
|
<label class="control-label" for="visite1ere">La réparation est-elle réalisée dans le cadre de la 1ère visite ? </label>
|
|
<label class="radio-inline">
|
|
<input type="radio" name="visite1ere" value="NON" disabled="disabled"
|
|
tal:attributes="checked rapport.visite1ere=='NON'">NON
|
|
</label>
|
|
<label class="radio-inline">
|
|
<input type="radio" name="visite1ere" value="OUI" disabled="disabled"
|
|
tal:attributes="checked rapport.visite1ere=='OUI'">OUI
|
|
</label>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label" for="descr_repar">Descriptif de la solution de réparation</label>
|
|
<br /> ${rapport.descr_repar}
|
|
</div>
|
|
|
|
<p class="text-center"><b>Constation de situation de blocage</b></p>
|
|
<div class="form-group">
|
|
<label class="control-label" for="blocage_acces">Impossibilité d'accès dans le local où la recherche doi être réalisée </label>
|
|
<label class="radio-inline">
|
|
<input type="radio" name="blocage_acces" value="NON" disabled="disabled"
|
|
tal:attributes="checked rapport.blocage_acces=='NON'">NON
|
|
</label>
|
|
<label class="radio-inline">
|
|
<input type="radio" name="blocage_acces" value="OUI" disabled="disabled"
|
|
tal:attributes="checked rapport.blocage_acces=='OUI'">OUI
|
|
</label>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label" for="blocage_rdf_differente">Nécessité de faire une recherchede fuite destructive dans le local du responsable différent de la victime </label>
|
|
<label class="radio-inline">
|
|
<input type="radio" name="blocage_rdf_differente" value="NON" disabled="disabled"
|
|
tal:attributes="checked rapport.blocage_rdf_differente=='NON'">NON
|
|
</label>
|
|
<label class="radio-inline">
|
|
<input type="radio" name="blocage_rdf_differente" value="OUI" disabled="disabled"
|
|
tal:attributes="checked rapport.blocage_rdf_differente=='OUI'">OUI
|
|
</label>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label" for="blocage_rdf_infructueuse">Recherche de fuite infructueuse </label>
|
|
<label class="radio-inline">
|
|
<input type="radio" name="blocage_rdf_infructueuse" value="NON" disabled="disabled"
|
|
tal:attributes="checked rapport.blocage_rdf_infructueuse=='NON'">NON
|
|
</label>
|
|
<label class="radio-inline">
|
|
<input type="radio" name="blocage_rdf_infructueuse" value="OUI" disabled="disabled"
|
|
tal:attributes="checked rapport.blocage_rdf_infructueuse=='OUI'">OUI
|
|
</label>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label" for="blocage_pluralite">Pluralité de locaux sinistrés autre que le local à l'origine de la fuite </label>
|
|
<label class="radio-inline">
|
|
<input type="radio" name="blocage_pluralite" value="NON" disabled="disabled"
|
|
tal:attributes="checked rapport.blocage_pluralite=='NON'">NON
|
|
</label>
|
|
<label class="radio-inline">
|
|
<input type="radio" name="blocage_pluralite" value="OUI" disabled="disabled"
|
|
tal:attributes="checked rapport.blocage_pluralite=='OUI'">OUI
|
|
</label>
|
|
</div>
|
|
|
|
<br />
|
|
<h4 class="text-center text-primary">PHOTOS</h4>
|
|
<p>
|
|
<a href="${request.application_url}/upload_img/${nodossier}" class="btn btn-success" role="button">
|
|
<span class="glyphicon glyphicon-cloud-upload"></span> Ajouter une photo</a>
|
|
</p>
|
|
|
|
<h4 class="text-center text-primary">CONCLUSIONS</h4>
|
|
<div class="form-group">
|
|
<br /> ${rapport.conclusions}
|
|
</div>
|
|
|
|
<div class="col-sm-6">
|
|
<p>
|
|
Date du rapport : ${rapport.modif_le.strftime('%d-%m-%Y')}<br />
|
|
Etabli par ${rapport.auteur_nom}
|
|
</p>
|
|
</div>
|
|
<div class="col-sm-6">
|
|
<label>Signature du client :</label>
|
|
<div tal:condition="not rapport.signature_svg">
|
|
<div id="signature"></div>
|
|
</div>
|
|
<div tal:condition="rapport.signature_svg">
|
|
<p>
|
|
<br />
|
|
<div id="signature_img"></div>
|
|
<br/>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<br/>
|
|
<br/>
|
|
<br/>
|
|
<br/>
|
|
<div class="form-group">
|
|
<div class="form-group">
|
|
<a class="btn btn-default" href="${request.route_url('dossier_view', nodossier=nodossier)}">
|
|
<span class="glyphicon glyphicon-arrow-left"></span> Retour Dossier</a>
|
|
<a class="btn btn-primary" href="/rdf_edit/${nodossier}/${rapport.date_inter.strftime('%Y-%m-%d')}">
|
|
<span class="glyphicon glyphicon-pencil"></span> Modifier</a>
|
|
</div>
|
|
</div>
|
|
|
|
</form>
|
|
</div> <!-- row -->
|
|
<br />
|
|
<br />
|
|
<br />
|
|
<script type="text/javascript">
|
|
$(document).ready(function() {
|
|
$sig = $("#signature").jSignature({color:"MidnightBlue","background-color":"LightYellow",width:350,height:150});
|
|
|
|
$('#save').click(function() {
|
|
datapair = $sig.jSignature("getData","svg");
|
|
$('#signature_svg').val(datapair);
|
|
});
|
|
|
|
$('#clear').click(function() {
|
|
$sig.jSignature("clear");
|
|
});
|
|
//afficher signature
|
|
var dataString = 'data:' + '${rapport.signature_svg}'
|
|
$('#signature_img').append("<img class='imported' src='" + dataString + "'></img>"); });
|
|
</script>
|
|
|
|
</div>
|
|
</metal:block>
|