carte de la semaine
This commit is contained in:
@@ -25,7 +25,8 @@ const entriesWithFlux = allHumans.filter((h: any) =>
|
||||
|
||||
// 2. On trouve la date de la toute dernière transaction enregistrée (pour ne pas être bloqué par un changement de mois vide)
|
||||
const lastFluxEntry = entriesWithFlux.sort(
|
||||
(a, b) => new Date(b.data.date).getTime() - new Date(a.data.date).getTime(),
|
||||
(a: any, b: any) =>
|
||||
new Date(b.data.date).getTime() - new Date(a.data.date).getTime(),
|
||||
)[0];
|
||||
|
||||
// 3. On définit la période de référence (Mois/Année)
|
||||
@@ -144,8 +145,7 @@ else if (percentage < 85) status = { label: "ÉQUILIBRE", color: "#3b82f6" };
|
||||
.bank-card {
|
||||
background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
|
||||
color: #1a202c;
|
||||
border-color: var(--accent) !important;
|
||||
border-width: 2px;
|
||||
border-width: 1px;
|
||||
}
|
||||
|
||||
.card-inner {
|
||||
|
||||
Reference in New Issue
Block a user