From bb3c41f815369d5fe63ccc45a0664e5317c8aa21 Mon Sep 17 00:00:00 2001 From: Allan Stockman Rugano Date: Fri, 1 Nov 2024 18:27:21 +0100 Subject: [PATCH] Pdm updates --- pdm.lock | 20 +- .../templates/dashboard/dashboard.html | 748 +++++++++--------- 2 files changed, 375 insertions(+), 393 deletions(-) diff --git a/pdm.lock b/pdm.lock index e9194a1d43..556109c471 100644 --- a/pdm.lock +++ b/pdm.lock @@ -5,7 +5,7 @@ groups = ["default", "dev"] strategy = ["cross_platform", "inherit_metadata"] lock_version = "4.5.0" -content_hash = "sha256:f093a6434225351cd3b851fbe94559513d7548aa66fd2db6ea3976673c6e5830" +content_hash = "sha256:a0ab4029831576b9c3642b7314a85fe18b22edd7b6aeeae4e9571578dacc569c" [[metadata.targets]] requires_python = "==3.12.*" @@ -73,21 +73,6 @@ files = [ {file = "asttokens-2.4.1.tar.gz", hash = "sha256:b03869718ba9a6eb027e134bfdf69f38a236d681c83c160d510768af11254ba0"}, ] -[[package]] -name = "async-timeout" -version = "4.0.3" -requires_python = ">=3.7" -summary = "Timeout context manager for asyncio programs" -groups = ["default"] -marker = "python_full_version < \"3.11.3\"" -dependencies = [ - "typing-extensions>=3.6.5; python_version < \"3.8\"", -] -files = [ - {file = "async-timeout-4.0.3.tar.gz", hash = "sha256:4640d96be84d82d02ed59ea2b7105a0f7b33abe8703703cd0ab0bf87c427522f"}, - {file = "async_timeout-4.0.3-py3-none-any.whl", hash = "sha256:7405140ff1230c310e51dc27b3145b9092d659ce68ff733fb0cefe3ee42be028"}, -] - [[package]] name = "attrs" version = "24.2.0" @@ -2234,7 +2219,6 @@ requires_python = ">=3.9" summary = "The JSON Schema meta-schemas and vocabularies, exposed as a Registry" groups = ["default"] dependencies = [ - "importlib-resources>=1.4.0; python_version < \"3.9\"", "referencing>=0.31.0", ] files = [ @@ -3222,8 +3206,6 @@ summary = "Python client for Redis database and key-value store" groups = ["default"] dependencies = [ "async-timeout>=4.0.3; python_full_version < \"3.11.3\"", - "importlib-metadata>=1.0; python_version < \"3.8\"", - "typing-extensions; python_version < \"3.8\"", ] files = [ {file = "redis-5.2.0-py3-none-any.whl", hash = "sha256:ae174f2bb3b1bf2b09d54bf3e51fbc1469cf6c10aa03e21141f51969801a7897"}, diff --git a/src/hct_mis_api/apps/dashboard/templates/dashboard/dashboard.html b/src/hct_mis_api/apps/dashboard/templates/dashboard/dashboard.html index 0f6b18c685..b878c21289 100644 --- a/src/hct_mis_api/apps/dashboard/templates/dashboard/dashboard.html +++ b/src/hct_mis_api/apps/dashboard/templates/dashboard/dashboard.html @@ -2,407 +2,407 @@ {% load i18n %} - - - - - {{ business_area_slug }} {% translate "Dashboard" %} - - - - - - - - - - - - -
-
-
-
- -
-
-

- - {% translate "Total Amount Paid" %} -

-
-
-
-

- - {% translate "Number of Payments" %} -

-
-
-
-

- - {% translate "Outstanding Payment Amounts" %} -

-
-
-
-

- - {% translate "Households Reached" %} -

-
-
-
-

- - {% translate "PWD Reached" %} -

-
-
-
-

- - {% translate "Children Reached" %} -

-
-
-
-

- - {% translate "Individuals Reached" %} -

-
-
-
- -
-
-

- - {% translate "Payments by FSP" %} -

-
-
-
-

- - {% translate "Payments by Delivery Mechanism" %} -

-
-
-
-

- - {% translate "Payments by Sector" %} -

-
-
-
-

- - {% translate "Volume by Programme" %} -

-
-
-
-

- - {% translate "Payments by Quarter" %} -

-
-
-
-

- - {% translate "Payments by Month" %} -

-
-
-
- -
-
-

- - {% translate "Reconciliation" %} -

-
%
-

{% translate "Payment records are reconciled" %}

-
-
-

- - {% translate "Pending Reconciliation" %} -

-
%
-

{% translate "Payments pending" %}

-
-
-

- - {% translate "Verified" %} -

-
%
-

{% translate "Payments verified" %}

-
-
-

- - {% translate "Sampling Sites Verified" %} -

-
%
-

{% translate "Verification of sampling sites" %}

-
-
+ + + + + {{ business_area_slug }} {% translate "Dashboard" %} + + + + + + + + + + + + +
+
+
+
+ +
+
+

+ + {% translate "Total Amount Paid" %} +

+
- - + createDashboard(); + } + fetchDataForCountry(); + }); + +