cleaning day

This commit is contained in:
ludo
2024-02-22 21:28:33 +01:00
parent 00fc978217
commit 3acb69abe4
111 changed files with 198 additions and 2456 deletions

View File

@@ -2,20 +2,20 @@
namespace App\Repositories\Botanic;
use App\Exports\Botanic\GenresExport;
use App\Models\Botanic\Genre;
use App\Traits\Model\Basic;
use Maatwebsite\Excel\Facades\Excel;
class Genres
{
use Basic;
public static function exportExcel()
public static function init()
{
return Excel::download(new GenresExport(), 'genres.xlsx');
return [
'families' => Families::getOptions(),
];
}
public static function getModel()
{
return Genre::query();