insert([ ]); DB::table('permissions')->insert([ [ 'slug' => 'bixo.payment.refund.view', 'name' => 'View Refund', ], [ 'slug' => 'bixo.payment.refund.create', 'name' => 'Create Refund', ], [ 'slug' => 'bixo.payment.refund.edit', 'name' => 'Update Refund', ], [ 'slug' => 'bixo.payment.refund.delete', 'name' => 'Delete Refund', ], [ 'slug' => 'bixo.payment.refund.verify', 'name' => 'Verify Refund', ], [ 'slug' => 'bixo.payment.refund.approve', 'name' => 'Approve Refund', ], [ 'slug' => 'bixo.payment.refund.publish', 'name' => 'Publish Refund', ], [ 'slug' => 'bixo.payment.refund.unpublish', 'name' => 'Unpublish Refund', ], [ 'slug' => 'bixo.payment.refund.cancel', 'name' => 'Cancel Refund', ], [ 'slug' => 'bixo.payment.refund.archive', 'name' => 'Archive Refund', ], ]); DB::table('menus')->insert([ // Admin menu [ 'parent_id' => 1, 'key' => null, 'url' => 'admin/payment/refund', 'name' => 'Refund', 'description' => null, 'icon' => 'las la-scroll', 'target' => null, 'order' => 190, 'status' => 1, ], // User menu. [ 'parent_id' => 2, 'key' => null, 'url' => 'user/payment/refund', 'name' => 'Refund', 'description' => null, 'icon' => 'las la-scroll', 'target' => null, 'order' => 190, 'status' => 1, ], // Public menu. [ 'parent_id' => 3, 'key' => null, 'url' => 'refund', 'name' => 'Refund', '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' => 'Payment', 'module' => 'Refund', 'user_type' => null, 'user_id' => null, 'key' => 'bixo.payment.refund.key', 'name' => 'Some name', 'value' => 'Some value', 'type' => 'Default', 'control' => 'text', ], */ ]); } }