From 28032ee53ae8e259a1b35d02839fa86ab2f3b8f3 Mon Sep 17 00:00:00 2001 From: Caribana Date: Mon, 29 May 2017 14:29:31 +0200 Subject: [PATCH] Correction statut sur onglets personnes export Excel --- accred_list.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/accred_list.php b/accred_list.php index 2020cbb1..7dbfc64f 100644 --- a/accred_list.php +++ b/accred_list.php @@ -130,7 +130,13 @@ $line = 1; // Build full row unset($fr); foreach($header as $key => $val) { - $fr[$key] = $or[$key]; + if($key=='status') { + $fr[$key] = $or[$key]==0 ? 'Finalisé' : 'Ouvert'; + } + else { + $fr[$key] = $or[$key]; + } + } if($prevName!=$fr['name']) { $keys = array_keys ( $header );