Sync: code local unifié

Synchronisation du code source local (fait foi).

Signed-off-by: lions dev Team
This commit is contained in:
dahoud
2026-03-15 16:25:45 +00:00
parent 6b28cf751e
commit 0dc050f422
179 changed files with 3355 additions and 992 deletions

View File

@@ -1,7 +1,9 @@
package dev.lions.unionflow.client.view;
import dev.lions.unionflow.server.api.dto.organisation.response.OrganisationResponse;
import dev.lions.unionflow.server.api.dto.common.PagedResponse;
import dev.lions.unionflow.server.api.dto.abonnement.response.AbonnementResponse;
import dev.lions.unionflow.server.api.dto.common.PagedResponse;
import dev.lions.unionflow.client.service.AdminUserService;
import dev.lions.unionflow.client.service.AssociationService;
import dev.lions.unionflow.client.service.AuditService;
@@ -151,7 +153,7 @@ public class SuperAdminBean implements Serializable {
private void initializeAssociationKPIs() {
try {
AssociationService.PagedResponseDTO<OrganisationResponse> response = associationService.listerToutes(0, 1000);
PagedResponse<OrganisationResponse> response = associationService.listerToutes(0, 1000);
List<OrganisationResponse> associations = (response != null && response.getData() != null) ? response.getData()
: new ArrayList<>();
totalEntites = associations.size();
@@ -291,7 +293,7 @@ public class SuperAdminBean implements Serializable {
private void initializeEntites() {
topEntites = new ArrayList<>();
try {
AssociationService.PagedResponseDTO<OrganisationResponse> response = associationService.listerToutes(0, 1000);
PagedResponse<OrganisationResponse> response = associationService.listerToutes(0, 1000);
List<OrganisationResponse> associations = (response != null && response.getData() != null) ? response.getData()
: new ArrayList<>();
topEntites = associations.stream()
@@ -318,7 +320,7 @@ public class SuperAdminBean implements Serializable {
private void initializeRepartitionTypes() {
repartitionTypes = new ArrayList<>();
try {
AssociationService.PagedResponseDTO<OrganisationResponse> response = associationService.listerToutes(0, 1000);
PagedResponse<OrganisationResponse> response = associationService.listerToutes(0, 1000);
List<OrganisationResponse> associations = (response != null && response.getData() != null) ? response.getData()
: new ArrayList<>();
if (associations == null || associations.isEmpty())