rename last_emailing to rappels_rdv
This commit is contained in:
59
mondumas/templates/parametres/rappels_rdv.pt
Normal file
59
mondumas/templates/parametres/rappels_rdv.pt
Normal file
@@ -0,0 +1,59 @@
|
||||
<metal:block use-macro="main_template">
|
||||
<div metal:fill-slot="content">
|
||||
<br />
|
||||
<form id="login-form" role="form" action="${url}" method="post" >
|
||||
<div class="form-group">
|
||||
<button class="btn btn-success" type="submit" name="form.generate">
|
||||
<span class="glyphicon glyphicon-flash"></span> Générer les rappels</button>
|
||||
<button class="btn btn-primary" type="submit" name="form.emailing">
|
||||
<span class="glyphicon glyphicon-send"></span> Envoyer les rappels</button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<table id="rappels_rdv" class="table table-condensed table-striped table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Date RDV</th>
|
||||
<th>Dossier</th>
|
||||
<th>Nom</th>
|
||||
<th>Email</th>
|
||||
<th>Avec</th>
|
||||
<th>Envoyé le</th>
|
||||
<th>Créé le</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
|
||||
<br />
|
||||
<br />
|
||||
|
||||
<script type="text/javascript">
|
||||
var dataSet = ${dt_data};
|
||||
|
||||
$(document).ready(function() {
|
||||
$.fn.dataTable.moment('DD-MM-YYYY HH:mm');
|
||||
$('#rappels_rdv').DataTable({
|
||||
data: dataSet,
|
||||
pageLength: 100,
|
||||
bLengthChange: false,
|
||||
language: {
|
||||
url: 'https://cdn.datatables.net/plug-ins/1.10.16/i18n/French.json'
|
||||
},
|
||||
columnDefs: [
|
||||
{ "targets": 1,
|
||||
"render": function (data, type, full, meta) {
|
||||
// ajouter un link vers le formulaire
|
||||
return '<a href="/dossier_view/' + data + '">' + data + '</a>';
|
||||
},
|
||||
},
|
||||
],
|
||||
order: [[5, 'des']],
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
|
||||
</div><!-- content -->
|
||||
</metal:block>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user