initial commit

This commit is contained in:
2026-06-29 13:00:18 +06:00
commit f2aea74471
3931 changed files with 562423 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<?php
namespace App\Services;
use Illuminate\Contracts\View\View;
use Maatwebsite\Excel\Concerns\FromView;
class ViewExport implements FromView
{
public function __construct($data,$view)
{
$this->data = $data;
$this->view = $view;
}
public function view(): View
{
//dd($this->data);
return view($this->view, $this->data);
}
}