afficher suivi_par dans les dossiers similaires
This commit is contained in:
@@ -100,7 +100,7 @@
|
||||
</tr>
|
||||
<tr tal:repeat="detail similaires">
|
||||
<td>
|
||||
<a href="/dossier_view/${detail.nodossier}">${detail.nodossier}</a>
|
||||
<a href="/dossier_view/${detail.nodossier}">${detail.nodossier}</a> ${detail.suivi_par}
|
||||
</td>
|
||||
<td>${detail.DATE.strftime('%d-%m-%Y')}</td>
|
||||
<td class="bg-${detail.nodossier[0:2]}">${detail.NOMCLI}</td>
|
||||
@@ -129,34 +129,35 @@
|
||||
<table class="table table-bordered table-condensed">
|
||||
<tr>
|
||||
<th>Date</th>
|
||||
<th>Rendez-vous</th>
|
||||
<th>Avec</th>
|
||||
<th>Action - commentaire</th>
|
||||
<th class="text-right">Montant</th>
|
||||
<th>Rendez-vous</th>
|
||||
<th>Réf. lettre</th>
|
||||
<th class="text-center">Par</th>
|
||||
</tr>
|
||||
<tr tal:repeat="detail details">
|
||||
<td tal:condition="detail.DATEVI==None">
|
||||
<a href="${request.route_url('suivi_edit', nodossier=nodossier, nolig=detail.NOLIG)}">
|
||||
${detail.DATE.strftime('%d-%m-%Y')}</a>
|
||||
<td>
|
||||
${detail.DATE.strftime('%d-%m-%Y')}
|
||||
</td>
|
||||
<td tal:condition="detail.DATEVI!=None">
|
||||
<a href="${request.route_url('rdv_edit', nodossier=nodossier, nolig=detail.NOLIG)}">
|
||||
${detail.DATE.strftime('%d-%m-%Y')}</a>
|
||||
<td>
|
||||
<span tal:condition="detail.rdv_debut==None"></span>
|
||||
<span tal:condition="detail.rdv_debut!=None">
|
||||
<a href="${request.route_url('rdv_edit', nodossier=nodossier, nolig=detail.NOLIG)}">
|
||||
${detail.rdv_debut.strftime('%d-%m-%Y %H:%M')}</a>
|
||||
</span>
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<span tal:condition="detail.rdv_debut!=None">${detail.LISTE}</span>
|
||||
</td>
|
||||
<td tal:condition="detail.COMMENT.startswith('!!')" class="text-danger">
|
||||
<b>${detail.COMMENT}</b>
|
||||
</td>
|
||||
<td tal:condition="not detail.COMMENT.startswith('!!')">
|
||||
${detail.COMMENT}
|
||||
<a href="${request.route_url('suivi_edit', nodossier=nodossier, nolig=detail.NOLIG)}">
|
||||
${detail.COMMENT}</a>
|
||||
</td>
|
||||
<td class="text-right">${layout.to_euroz(detail.montant)}</td>
|
||||
<td>
|
||||
<span tal:condition="detail.rdv_debut==None"></span>
|
||||
<span tal:condition="detail.rdv_debut!=None">
|
||||
${detail.rdv_debut.strftime('%d-%m-%Y %H:%M')} avec ${detail.LISTE}
|
||||
</span>
|
||||
</td>
|
||||
<td class="text-center">${detail.REF_LET}</td>
|
||||
<td class="text-center">${detail.USERMAJ}</td>
|
||||
</tr>
|
||||
|
||||
@@ -10,14 +10,14 @@
|
||||
data-fv-icon-validating="glyphicon glyphicon-refresh">
|
||||
|
||||
<div class="form-group">
|
||||
<label for="uploadfile">Séléctionner un fichier</label>
|
||||
<label for="uploadfile">Veuillez séléctionner un fichier</label>
|
||||
<input id="uploadfile" name="filename" type="file" value="" required />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<a class="btn btn-default" href="${request.route_url('dossier_view', nodossier=nodossier)}">
|
||||
<span class="glyphicon glyphicon-arrow-left"></span> Retiur au dossier</a>
|
||||
<button class="btn btn-primary" type="submit" name="form.submitted">
|
||||
<span class="glyphicon glyphicon-cloud-upload"></span> Télécharger</button>
|
||||
<button id="uploadButton" class="btn btn-primary" type="submit" name="form.submitted">
|
||||
<i class="glyphicon glyphicon-refresh"></i> Télécharger</button>
|
||||
</div>
|
||||
</form>
|
||||
<ul>
|
||||
@@ -43,5 +43,12 @@
|
||||
</div>
|
||||
</ul>
|
||||
|
||||
<script type="text/javascript">
|
||||
$('#uploadButton').on('click', function(){
|
||||
$('i.gly-spin').removeClass('gly-spin');
|
||||
$('i').addClass('gly-spin');
|
||||
});
|
||||
</script>
|
||||
|
||||
</div>
|
||||
</metal:block>
|
||||
|
||||
Reference in New Issue
Block a user