Skip to content

Commit

Permalink
Merge pull request #159 from abes-esr/develop
Browse files Browse the repository at this point in the history
merge dev to test
  • Loading branch information
EryneKL authored Oct 25, 2024
2 parents 98f9f4a + d99b734 commit 91bdb11
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions src/views/Exemplarisation/ExempTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ const headingsDemandes = [
sort:(d1,d2) => {
const date1 = moment(d1, "DD/MM/yyyy HH:mm").valueOf();
const date2 = moment(d2, "DD/MM/yyyy HH:mm").valueOf();
if (date1 > date2) return -1;
if (date1 < date2) return 1;
if (date1 > date2) return 1;
if (date1 < date2) return -1;
return 0;
}
},
Expand All @@ -167,8 +167,8 @@ const headingsDemandes = [
sort:(d1,d2) => {
const date1 = moment(d1, "DD/MM/yyyy HH:mm").valueOf();
const date2 = moment(d2, "DD/MM/yyyy HH:mm").valueOf();
if (date1 > date2) return -1;
if (date1 < date2) return 1;
if (date1 > date2) return 1;
if (date1 < date2) return -1;
return 0;
}
},
Expand Down
8 changes: 4 additions & 4 deletions src/views/Modification/ModifTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ const headingsDemandes = ref([
.valueOf();
const date2 = moment(d2, 'DD/MM/yyyy HH:mm')
.valueOf();
if (date1 > date2) return -1;
if (date1 < date2) return 1;
if (date1 > date2) return 1;
if (date1 < date2) return -1;
return 0;
}
},
Expand All @@ -170,8 +170,8 @@ const headingsDemandes = ref([
.valueOf();
const date2 = moment(d2, 'DD/MM/yyyy HH:mm')
.valueOf();
if (date1 > date2) return -1;
if (date1 < date2) return 1;
if (date1 > date2) return 1;
if (date1 < date2) return -1;
return 0;
}
},
Expand Down
8 changes: 4 additions & 4 deletions src/views/Recouvrement/RecouvTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ const headingsDemandes = ref([
sort:(d1,d2) => {
const date1 = moment(d1, "DD/MM/yyyy HH:mm").valueOf();
const date2 = moment(d2, "DD/MM/yyyy HH:mm").valueOf();
if (date1 > date2) return -1;
if (date1 < date2) return 1;
if (date1 > date2) return 1;
if (date1 < date2) return -1;
return 0;
}
},
Expand All @@ -160,8 +160,8 @@ const headingsDemandes = ref([
sort:(d1,d2) => {
const date1 = moment(d1, "DD/MM/yyyy HH:mm").valueOf();
const date2 = moment(d2, "DD/MM/yyyy HH:mm").valueOf();
if (date1 > date2) return -1;
if (date1 < date2) return 1;
if (date1 > date2) return 1;
if (date1 < date2) return -1;
return 0;
}
},
Expand Down
8 changes: 4 additions & 4 deletions src/views/Suppression/SuppTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ const headingsDemandes = ref([
.valueOf();
const date2 = moment(d2, 'DD/MM/yyyy HH:mm')
.valueOf();
if (date1 > date2) return -1;
if (date1 < date2) return 1;
if (date1 > date2) return 1;
if (date1 < date2) return -1;
return 0;
}
},
Expand All @@ -155,8 +155,8 @@ const headingsDemandes = ref([
.valueOf();
const date2 = moment(d2, 'DD/MM/yyyy HH:mm')
.valueOf();
if (date1 > date2) return -1;
if (date1 < date2) return 1;
if (date1 > date2) return 1;
if (date1 < date2) return -1;
return 0;
}
},
Expand Down

0 comments on commit 91bdb11

Please sign in to comment.