IMPORTANT: This tip is obsolete from version 10.0.0. And the code below does not work in versions greater than v10.0.0. You can add the code below in the
/resources/views/vendor/admin/layouts/master.blade.phpfile (or in theresources/views/admin/layouts/master.blade.phpfile from version 10.2.0) instead of/public/vendor/admin/script.js
Sometimes, you can want to need to hide the purchase code from the Admin panel settings.
You can do that by adding the code below in the "/public/vendor/admin/script.js"
$(document).ready(function () {
$('input[name=purchase_code]').parent().hide();
});NOTE: For each next upgrade, you have to edit this file after the upgrades with the code above.
Happy coding!