From 3c60178c2972256c91e8928efdffd809bbe2257e Mon Sep 17 00:00:00 2001 From: Louis Jeckel Date: Mon, 10 May 2021 17:27:46 +0200 Subject: [PATCH] ass position to export --- app/Nova/Actions/ExportUsersToExcel.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/Nova/Actions/ExportUsersToExcel.php b/app/Nova/Actions/ExportUsersToExcel.php index 004c4e7..8da02ca 100644 --- a/app/Nova/Actions/ExportUsersToExcel.php +++ b/app/Nova/Actions/ExportUsersToExcel.php @@ -36,7 +36,9 @@ class ExportUsersToExcel extends DownloadExcel implements WithMapping, WithHeadi $user->postal_code, $user->country, $user->phone, - (string) $user->organization + (string) $user->organization, + $user->position, + ]; @@ -53,7 +55,8 @@ class ExportUsersToExcel extends DownloadExcel implements WithMapping, WithHeadi 'Code Postal', 'Pays', 'Téléphone', - 'Organisation' + 'Organisation', + 'Position', ]; } -- 2.39.5