Merge pull request 'Enlève 0 dans colonnes res et sae' (#353) from martin.murzeau/ScoDocMM:master into master
Reviewed-on: https://scodoc.org/git/ScoDoc/ScoDoc/pulls/353
This commit is contained in:
commit
f42b54244e
@ -96,7 +96,7 @@ $(function () {
|
||||
},
|
||||
{
|
||||
// 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) {
|
||||
return type === 'export' ? data.replace(/0(\d\..*)/, '$1') : data;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user