Skip to content
Snippets Groups Projects
Commit 62e9c026 authored by Martin Murzeau's avatar Martin Murzeau
Browse files

Enlève 0 dans colonnes res et sae

Source : app/static/js/table_recap.js
parent 6b49c847
No related branches found
No related tags found
No related merge requests found
...@@ -96,7 +96,7 @@ $(function () { ...@@ -96,7 +96,7 @@ $(function () {
}, },
{ {
// Elimine les 0 à gauche pour les exports excel et les "copy" // Elimine les 0 à gauche pour les exports excel et les "copy"
targets: ["col_mod", "col_moy_gen", "col_ue"], targets: ["col_mod", "col_moy_gen", "col_ue", "col_res", "col_sae"],
render: function (data, type, row) { render: function (data, type, row) {
return type === 'export' ? data.replace(/0(\d\..*)/, '$1') : data; return type === 'export' ? data.replace(/0(\d\..*)/, '$1') : data;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment