insert([ ]); DB::table('permissions')->insert([ [ 'slug' => 'advancedcrm.lead.view', 'name' => 'View Lead', ], [ 'slug' => 'advancedcrm.lead.create', 'name' => 'Create Lead', ], [ 'slug' => 'advancedcrm.lead.edit', 'name' => 'Update Lead', ], [ 'slug' => 'advancedcrm.lead.delete', 'name' => 'Delete Lead', ], // Customize this permissions if needed. [ 'slug' => 'advancedcrm.lead.verify', 'name' => 'Verify Lead', ], [ 'slug' => 'advancedcrm.lead.approve', 'name' => 'Approve Lead', ], [ 'slug' => 'advancedcrm.lead.publish', 'name' => 'Publish Lead', ], [ 'slug' => 'advancedcrm.lead.unpublish', 'name' => 'Unpublish Lead', ], [ 'slug' => 'advancedcrm.lead.cancel', 'name' => 'Cancel Lead', ], [ 'slug' => 'advancedcrm.lead.archive', 'name' => 'Archive Lead', ], ]); DB::table('menus')->insert([ [ 'parent_id' => 1, 'key' => null, 'url' => 'admin/advancedcrm/lead', 'name' => 'Lead', 'description' => null, 'icon' => 'fa fa-newspaper-o', 'target' => null, 'order' => 190, 'status' => 1, ], [ 'parent_id' => 2, 'key' => null, 'url' => 'user/advancedcrm/lead', 'name' => 'Lead', 'description' => null, 'icon' => 'icon-book-open', 'target' => null, 'order' => 190, 'status' => 1, ], [ 'parent_id' => 3, 'key' => null, 'url' => 'lead', 'name' => 'Lead', 'description' => null, 'icon' => null, 'target' => null, 'order' => 190, 'status' => 1, ], ]); DB::table('settings')->insert([ // Uncomment and edit this section for entering value to settings table. /* [ 'pacakge' => 'Advancedcrm', 'module' => 'Lead', 'user_type' => null, 'user_id' => null, 'key' => 'advancedcrm.lead.key', 'name' => 'Some name', 'value' => 'Some value', 'type' => 'Default', 'control' => 'text', ], */ ]); } }