forked from ScoDoc/ScoDoc
Enlève 0 dans colonnes res et sae
Source : app/static/js/table_recap.js
This commit is contained in:
parent
6b49c8472d
commit
62e9c02680
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user