<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use Spatie\Permission\Models\Permission;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;

class PermissionsTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        // //permission for permissions
        // Permission::create(['name' => 'permissions.index']);

        // //permission for roles
        // Permission::create(['name' => 'roles.index']);
        // Permission::create(['name' => 'roles.create']);
        // Permission::create(['name' => 'roles.edit']);
        // Permission::create(['name' => 'roles.delete']);

        // //permission for users
        // Permission::create(['name' => 'users.index']);
        // Permission::create(['name' => 'users.create']);
        // Permission::create(['name' => 'users.edit']);
        // Permission::create(['name' => 'users.delete']);

        // //////////////////////////////////////////////////

        // //permission for branch
        // Permission::create(['name' => 'branches.index']);
        // Permission::create(['name' => 'branches.create']);
        // Permission::create(['name' => 'branches.edit']);
        // Permission::create(['name' => 'branches.delete']);

        // //permission for category
        // Permission::create(['name' => 'categories.index']);
        // Permission::create(['name' => 'categories.create']);
        // Permission::create(['name' => 'categories.edit']);
        // Permission::create(['name' => 'categories.delete']);

        // //permission for brand
        // Permission::create(['name' => 'brands.index']);
        // Permission::create(['name' => 'brands.create']);
        // Permission::create(['name' => 'brands.edit']);
        // Permission::create(['name' => 'brands.delete']);

        // //permission for supplier
        // Permission::create(['name' => 'suppliers.index']);
        // Permission::create(['name' => 'suppliers.create']);
        // Permission::create(['name' => 'suppliers.edit']);
        // Permission::create(['name' => 'suppliers.delete']);

        // //permission for customer
        // Permission::create(['name' => 'customers.index']);
        // Permission::create(['name' => 'customers.create']);
        // Permission::create(['name' => 'customers.edit']);
        // Permission::create(['name' => 'customers.delete']);

        //////////////////////////////////////////////////

        // //permission for product
        // Permission::create(['name' => 'products.index']);
        // Permission::create(['name' => 'products.create']);
        // Permission::create(['name' => 'products.edit']);
        // Permission::create(['name' => 'products.delete']);

        ////permission for purchases
        // Permission::create(['name' => 'purchases.index']);
        // Permission::create(['name' => 'purchases.create']);
        // Permission::create(['name' => 'purchases.edit']);
        // Permission::create(['name' => 'purchases.delete']);

        ////permission for sales
        // Permission::create(['name' => 'sales.index']);
        // Permission::create(['name' => 'sales.create']);
        // Permission::create(['name' => 'sales.edit']);
        // Permission::create(['name' => 'sales.delete']);

        ////permission for stock movement
        //Permission::create(['name' => 'stock-movements.index']);

        ////permission for stock opnames
        // Permission::create(['name' => 'stock-opnames.index']);
        // Permission::create(['name' => 'stock-opnames.create']);
        // Permission::create(['name' => 'stock-opnames.edit']);
        // Permission::create(['name' => 'stock-opnames.delete']);

        ////permission for stock opnames
        //Permission::create(['name' => 'profit.index']);
        //Permission::create(['name' => 'item.index']);

        ////permission for service
        // Permission::create(['name' => 'services.index']);
        // Permission::create(['name' => 'services.create']);
        // Permission::create(['name' => 'services.edit']);
        // Permission::create(['name' => 'services.delete']);


    }
}
