ajout poid sur export csv

This commit is contained in:
afornerot 2024-04-11 15:14:49 +02:00
parent 0c51a19726
commit 0acb4e1777
1 changed files with 3 additions and 2 deletions

View File

@ -532,7 +532,7 @@ class ScrumController extends AbstractController
$d = ';'; // this is the default but i like to be explicit $d = ';'; // this is the default but i like to be explicit
$e = '"'; // this is the default but i like to be explicit $e = '"'; // this is the default but i like to be explicit
$tmp=["Projet","Jalon","Sprint","Type","Id","Titre","Statut","Label"]; $tmp=["Projet","Jalon","Sprint","Type","Id","Titre","Statut","Label","Poid"];
fputcsv($csvh, $tmp, $d, $e); fputcsv($csvh, $tmp, $d, $e);
foreach($gitearepos as $gitearepo) { foreach($gitearepos as $gitearepo) {
@ -558,7 +558,8 @@ class ScrumController extends AbstractController
$giteaissue->number, $giteaissue->number,
$giteaissue->title, $giteaissue->title,
$statut, $statut,
$labels $labels,
$issue->getWeight()
]; ];
fputcsv($csvh, $tmp, $d, $e); fputcsv($csvh, $tmp, $d, $e);
} }