Fix on invoices, add delivery reference, wip on dashboard concurrency requests designed on template

This commit is contained in:
Ludovic CANDELLIER
2023-02-17 00:05:03 +01:00
parent 820a200e88
commit 900aa413a2
26 changed files with 555 additions and 130 deletions

View File

@@ -0,0 +1,45 @@
/* require moment.js */
var dateRangePickerLanguage = {
format: "DD/MM/YYYY",
separator: " au ",
locale: {
applyLabel: "Valider",
cancelLabel: "Retour",
fromLabel: "Du",
toLabel: "Au",
customRangeLabel: "Personnalisé",
weekLabel: "S",
daysOfWeek: [
"Dim",
"Lun",
"Mar",
"Mer",
"Jeu",
"Ven",
"Sam"
],
monthNames: [
"Jan",
"Fev",
"Mar",
"Avr",
"Mai",
"Juin",
"Juil",
"Aou",
"Sep",
"Oct",
"Nov",
"Déc"
],
firstDay: 1
},
ranges: {
'Aujourd\'hui': [moment(), moment()],
'Hier': [moment().subtract(1, 'days'), moment().subtract(1, 'days')],
'La semaine dernière': [moment().subtract(6, 'days'), moment()],
'30 derniers jours': [moment().subtract(29, 'days'), moment()],
'Ce mois-ci': [moment().startOf('month'), moment().endOf('month')],
'Le mois dernier': [moment().subtract(1, 'month').startOf('month'), moment().subtract(1, 'month').endOf('month')]
}
};