insert([ ]); DB::table('permissions')->insert([ [ 'slug' => 'bixo.account.costcenter.view', 'name' => 'View Costcenter', ], [ 'slug' => 'bixo.account.costcenter.create', 'name' => 'Create Costcenter', ], [ 'slug' => 'bixo.account.costcenter.edit', 'name' => 'Update Costcenter', ], [ 'slug' => 'bixo.account.costcenter.delete', 'name' => 'Delete Costcenter', ], [ 'slug' => 'bixo.account.costcenter.verify', 'name' => 'Verify Costcenter', ], [ 'slug' => 'bixo.account.costcenter.approve', 'name' => 'Approve Costcenter', ], [ 'slug' => 'bixo.account.costcenter.publish', 'name' => 'Publish Costcenter', ], [ 'slug' => 'bixo.account.costcenter.unpublish', 'name' => 'Unpublish Costcenter', ], [ 'slug' => 'bixo.account.costcenter.cancel', 'name' => 'Cancel Costcenter', ], [ 'slug' => 'bixo.account.costcenter.archive', 'name' => 'Archive Costcenter', ], ]); DB::table('menus')->insert([ // Admin menu [ 'parent_id' => 1, 'key' => null, 'url' => 'admin/account/costcenter', 'name' => 'Costcenter', 'description' => null, 'icon' => 'las la-scroll', 'target' => null, 'order' => 190, 'status' => 1, ], // User menu. [ 'parent_id' => 2, 'key' => null, 'url' => 'user/account/costcenter', 'name' => 'Costcenter', 'description' => null, 'icon' => 'las la-scroll', 'target' => null, 'order' => 190, 'status' => 1, ], // Public menu. [ 'parent_id' => 3, 'key' => null, 'url' => 'costcenter', 'name' => 'Costcenter', 'description' => null, 'icon' => 'las la-scroll, 'target' => null, 'order' => 190, 'status' => 1, ], ]); DB::table('settings')->insert([ // Uncomment and edit this section for entering value to settings table. /* [ 'pacakge' => 'Account', 'module' => 'Costcenter', 'user_type' => null, 'user_id' => null, 'key' => 'bixo.account.costcenter.key', 'name' => 'Some name', 'value' => 'Some value', 'type' => 'Default', 'control' => 'text', ], */ ]); } }