Files
kartoteka/database/seeders/ArchiveStatusSeeder.php
brusnitsyn 2e1b5a3d0e * закончил окно редактирования карты с назначением номера в архиве
* добавил окно для редактирования выдачи / возврата карты
* раздробил логику хранения карты
2025-12-05 18:04:02 +09:00

32 lines
660 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
namespace Database\Seeders;
use App\Models\ArchiveStatus;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
class ArchiveStatusSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
ArchiveStatus::create([
'text' => 'Не определен',
'variant' => 'default'
]);
ArchiveStatus::create([
'text' => 'В архиве',
'variant' => 'success'
]);
ArchiveStatus::create([
'text' => 'Выдана',
'variant' => 'warning'
]);
}
}