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; + } +} +