How can I hide the purchase code from the Admin panel?
IMPORTANT: This tip is obsolete from version 10.0.0. The code below does not work in versions greater than v10.0.0. You can add the code in the `/resources/views/vendor/admin/layouts/master.blade.php` file (or in the `resources/views/admin/layouts/master.blade.php` file from version 10.2.0) instead of `/public/vendor/admin/script.js`
Sometimes you may want to conceal the purchase code from your Admin panel settings.
You can accomplish this by adding the following code in the /public/vendor/admin/script.js file:
$(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!