- Implemented RoleEdit component for editing roles with permissions. - Created RoleIndex component for listing roles with delete confirmation. - Added routes for role management in web.php with appropriate permissions. - Developed RoleTest to cover authentication, authorization, and data integrity for role management.
27 lines
545 B
PHP
27 lines
545 B
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class DatabaseSeeder extends Seeder
|
|
{
|
|
use WithoutModelEvents;
|
|
|
|
/**
|
|
* Seed the application's database.
|
|
*/
|
|
public function run(): void
|
|
{
|
|
$this->call([
|
|
RolePermissionSeeder::class,
|
|
UserSeeder::class,
|
|
CategorySeeder::class,
|
|
SupplierSeeder::class,
|
|
CustomerSeeder::class,
|
|
CashAccountSeeder::class,
|
|
]);
|
|
}
|
|
}
|