From 364cecf4d17f68079921d6151601921e74f0f9b1 Mon Sep 17 00:00:00 2001 From: Tiavina Date: Wed, 9 Apr 2025 16:01:58 +0300 Subject: [PATCH] fix: update export file headers and formatting for clarity --- .../Service/ExportThanatoStatisticService.php | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/gestion/lib/Service/ExportThanatoStatisticService.php b/gestion/lib/Service/ExportThanatoStatisticService.php index 232d3ee..eb15cbf 100644 --- a/gestion/lib/Service/ExportThanatoStatisticService.php +++ b/gestion/lib/Service/ExportThanatoStatisticService.php @@ -121,13 +121,13 @@ class ExportThanatoStatisticService { 'LIEU'.';'. 'POMPES FUNEBRES'.';'. 'ADRESSE'.';'. - 'DISTANCE TOTALE KM'.';'. - 'HEURES TOTAL DE SOIN'.';'. - 'HEURES TOTAL DE CONGE'.';'. - 'HEURES TOTAL DE REPOS'.';'. - 'HEURES TOTAL DE MALADIE'.';'. - 'HEURES TOTAL DE TRAVAIL'.';'. - 'HEURES TOTAL DE PARCOURS ENTRE DEVIS'.';'. + 'DISTANCE TOTALE KM (KM)'.';'. + 'HEURES TOTAL DE SOIN (H)'.';'. + 'HEURES TOTAL DE CONGE (H)'.';'. + 'HEURES TOTAL DE REPOS (H)'.';'. + 'HEURES TOTAL DE MALADIE (H)'.';'. + 'HEURES TOTAL DE TRAVAIL (H)'.';'. + 'HEURES TOTAL DE PARCOURS ENTRE DEVIS (H)'.';'. "\n"; return $fileHeader; } @@ -193,7 +193,7 @@ class ExportThanatoStatisticService { ''.';'. ''.';'. ''.';'. - "0.5H".';'. + "0.5".';'. ''.';'. ''.';'. ''.';'. @@ -298,13 +298,13 @@ class ExportThanatoStatisticService { ''.';'. ''.';'. ''.';'. - "$distance"."KM".';'. - "$totalDevisHours"."H".';'. - "$totalLeaveHours"."H".';'. - "$totalRestHours"."H".';'. - "$totalDiseaseHours"."H".';'. - "$totalWorkedHours"."H".';'. - "$totalTravelingHours"."H"."\n"; + "$distance".';'. + "$totalDevisHours".';'. + "$totalLeaveHours".';'. + "$totalRestHours".';'. + "$totalDiseaseHours".';'. + "$totalWorkedHours".';'. + "$totalTravelingHours"."\n"; return $fileContent; }