MTO enquete
This module adds the following resources:
- mto_evaluations
- mto_questionnaires
Installation
To install this module:
This module depends on qore/questionnaires. Make sure you install, publish and migrate these modules as well.
composer require qore/mto-enquete
php artisan vendor:publish --tag=qore.mto-enquete.config
php artisan vendor:publish --tag=qore.mto-enquete.db
php artisan vendor:publish --tag=qore.mto-enquete.frontend
Usage
Make sure to migrate.
To use this module:
The resources will be registered by default, however you can extend every resource, model etc. by registering your own resource.
In the mto-enquete.php config file you can register your own custom seeders.
Add to menu
To add the resources to your menu, go to GlobalsController and append:
if (module_is_active('qore/mto-enquete')) {
// mto-enquete
$tab->addMenuGroup(__('HR'), function (MenuGroup $group) {
$group->addResourceMenuItem(resource('mto_evaluations'));
$group->addResourceMenuItem(resource('mto_questionnaires'));
});
}
Upgrade Guide
To upgrade this module:
composer update qore/mto-enquete
If you need to upgrade migrations or Vue components:
php artisan vendor:publish --tag=qore.mto-enquete.db --force
php artisan vendor:publish --tag=qore.mto-enquete.frontend --force