|
|
@@ -76,7 +76,7 @@ abstract class IndividualDataAdminController extends AbstractAdminController |
|
|
|
$export = Action::new('export', 'actions.export') |
|
|
|
->setIcon('fa fa-download') |
|
|
|
->linkToCrudAction('exportCsv') |
|
|
|
->setCssClass('btn btn-primary export-csv') |
|
|
|
->setCssClass('btn btn-sm btn-primary export-csv') |
|
|
|
->createAsGlobalAction(); |
|
|
|
|
|
|
|
return $actions->add(Crud::PAGE_INDEX, $export); |
|
|
@@ -86,7 +86,7 @@ abstract class IndividualDataAdminController extends AbstractAdminController |
|
|
|
{ |
|
|
|
$csv = new CsvGenerator(); |
|
|
|
$csv->enableConvertEncoding('ISO-8859-1'); |
|
|
|
$csv->setTitle('Export_Liste', true); |
|
|
|
$csv->setTitle('Export_Liste_Individuel', true); |
|
|
|
|
|
|
|
$columns = [ |
|
|
|
'category' => 'Catégorie', |