381 lines
22 KiB
XML
381 lines
22 KiB
XML
<metal:block use-macro="main_template">
|
|
<div metal:fill-slot="content">
|
|
<div tal:condition="pt_name=='rdf_view'">
|
|
<br />
|
|
</div>
|
|
<!-- ENTETE -->
|
|
<div tal:condition="pt_name=='rdf_rapport'">
|
|
<!-- LOGO -->
|
|
<img src="${request.static_url('mondumas:static/img/LogoVerSanit.jpg')}" width="100%" />
|
|
<br />
|
|
<br />
|
|
<h1 class="text-center">Rapport de recherche de fuite</h1>
|
|
<br />
|
|
<br />
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="control-label">N° dossier</label> : ${nodossier}<br />
|
|
<label class="control-label">N° rapport</label> : ${norapport}<br />
|
|
<label class="control-label">Date d'intervention</label> : ${rapport.date_inter.strftime('%d-%m-%Y')}<br />
|
|
<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>
|
|
|
|
<br />
|
|
<h4 class="text-center text-primary">ADRESSE d'INTERVENTION</h4>
|
|
<br />
|
|
<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>
|
|
|
|
<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>
|
|
<br />
|
|
<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="tierce_personne">Les dommages sont-ils causés par une tierce personne ?</label>
|
|
<br /> ${rapport.tierce_personne}
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label" for="tierce_coordonnees">Coordonnées de la tierce personne</label>
|
|
<br /> ${rapport.tierce_coordonnees}
|
|
</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>
|
|
<br />
|
|
<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>
|
|
<br />
|
|
<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>
|
|
<br />
|
|
<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>Constatation 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>
|
|
<br />
|
|
<div tal:condition="pt_name=='rdf_view'">
|
|
<p>
|
|
<a href="${request.application_url}/upload_img/${norapport}" class="btn btn-primary" role="button">
|
|
<span class="glyphicon glyphicon-picture"></span> Gérer les photos</a>
|
|
</p>
|
|
<br />
|
|
</div>
|
|
<p tal:repeat="detail photos">
|
|
<img src="${docs_url}${detail.nomrep}/${detail.societe}/${nochantier}/${norapport}/${detail.nomfichier}"
|
|
width="800" align="center" />
|
|
</p>
|
|
<br />
|
|
<h4 class="text-center text-primary">CONCLUSIONS</h4>
|
|
<div class="form-group">
|
|
<br /> ${rapport.conclusions}
|
|
</div>
|
|
<br />
|
|
<br />
|
|
|
|
<table class="table table-condensed ">
|
|
<tr>
|
|
<td width="40%">
|
|
<label>Date du rapport :</label> ${date_rapport}
|
|
<br />
|
|
<br />
|
|
<label>Etabli par le technicien :</label>
|
|
<br />${rapport.auteur_nom}
|
|
<br />
|
|
<br />
|
|
<div tal:condition="date_relu!=''">
|
|
<label>Relu par le superviseur :</label>
|
|
<br />Jean-Marc PENEL
|
|
<br />le ${date_relu}
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<label>Signature du client :</label>
|
|
<div tal:condition="rapport.signature_svg">
|
|
<div id="signature_img"></div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br/>
|
|
<div class="form-group" tal:condition="pt_name=='rdf_view'">
|
|
<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>
|
|
<button class="btn btn-danger" type="submit" name="form.delete" tal:condition="not rapport.signature_svg and date_relu==''">
|
|
<span class="glyphicon glyphicon-remove"></span> Supprimer</button>
|
|
<button class="btn btn-success" type="submit" name="form.validate" tal:condition="(logged_in=='JMP' or logged_in=='CAO') and date_relu==''">
|
|
<span class="glyphicon glyphicon-remove"></span> Valider</button>
|
|
<div tal:condition="(logged_in=='MD' or logged_in=='CAO') and date_relu!=''">
|
|
<br />
|
|
<a class="btn btn-default" href="/rdf_rapport/${rapport.no_id}">
|
|
<span class="glyphicon glyphicon-file"></span> Aperçu PDF</a>
|
|
<button class="btn btn-warning" type="submit" name="form.generate">
|
|
<span class="glyphicon glyphicon-file"></span> Générer PDF</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</form>
|
|
<br />
|
|
<br />
|
|
<br />
|
|
|
|
</div>
|
|
<div metal:fill-slot="additional_scripts">
|
|
<!-- JSignature plugin -->
|
|
<script src="${request.static_url('mondumas:static/dist/jSignature/libs/jSignature.min.js')}"></script>
|
|
<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>
|