From 0b7e0b8e944fc76b4240a51bbcb8e3753fbf65ae Mon Sep 17 00:00:00 2001 From: shahrzad011 Date: Mon, 17 Aug 2026 19:44:50 +0330 Subject: [PATCH] feat: add visits export --- app/Exports/VisitsExport.php | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 app/Exports/VisitsExport.php diff --git a/app/Exports/VisitsExport.php b/app/Exports/VisitsExport.php new file mode 100644 index 0000000..0c3ae22 --- /dev/null +++ b/app/Exports/VisitsExport.php @@ -0,0 +1,36 @@ +rows = $rows; + } + + public function headings(): array + { + return [ + 'شناسه', + 'نام', + 'نام خانوادگی', + 'ایمیل', + 'موبایل', + 'تاریخ ثبت‌نام', + ]; + } + + + public function array(): array + { + return $this->rows; + } +} +