sipro/industrial-areas
Sipro - Industrial Areas
1.0.2
2018-04-17 14:22 UTC
Requires
- php:>=5.4.0
- elitedivision/amos-admin:~2.0.6
- elitedivision/amos-attachments:~1.0.9
- elitedivision/amos-comuni:~1.2.11
- elitedivision/amos-core:~1.9.31
- elitedivision/amos-dashboard:~1.8.8
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
This plugin is used to map Sipro Industrial Areas.
Installation
1. The preferred way to install this extension is through composer.
add this row to your composer.json file
"sipro/industrial-areas": "dev-master"
2. Add module to your main config:
<?php
'modules' => [
'industrialareas' => [
'class' => 'sipro\industrialareas\Module',
],
],
3. Apply migrations
php yii migrate/up --migrationPath=@vendor/sipro/industrial-areas/src/migrations
or add this row to your migrations config in console:
<?php
return [
'@vendor/sipro/industrial-areas/src/migrations',
];
4. Notification
There are 2 flag wich activate/deactivate the notification on:
- creation of new industrial area => notify_email_on_create
- update of an existing industrial area => notify_email_on_update
The notification email will be sent to all the user with the role INDUSTRIALAREAS_ADMINISTRATOR
set on your main config:
<?php
$modules['industrialareas'] = [
'notify_email_on_update' => true,
'notify_email_on_create' => true,
];