diff --git a/frontend/templates/client_consumption.pages.tmpl b/frontend/templates/client_consumption.pages.tmpl index 7142d13..6e976bd 100644 --- a/frontend/templates/client_consumption.pages.tmpl +++ b/frontend/templates/client_consumption.pages.tmpl @@ -30,27 +30,68 @@ 🔁 Tout - - - - - - - - - - - {{ range .Consumptions }} - - - - - - - {{ end }} - -
DateTypeDescriptionCrédits utilisés
{{ .CreatedAt.Format "02/01/2006 15:04" }}{{ .MessageType }}{{ .Description }}{{ .CreditsUsed }}
+ {{ if not .Summaries }} +

Aucune consommation trouvée pour cette période.

+ {{ else }} +
+ + + + + + + + + + {{ range .Summaries }} + + + + + + + + + {{ end }} + +
DateTotal crédits utilisésDétails
{{ .Date.Format "02/01/2006" }}{{ .TotalCredits }} + +
+
+ {{ end }} -{{ end }} + + +{{ end }} \ No newline at end of file