Open DCox2016 opened 10 months ago
The variable current_crm_team_id is hard coded into places
vendor/venturedrake/laravel-crm/database/migrations/create_laravel_crm_tables.php.stub:309 vendor/venturedrake/laravel-crm/src/Http/Middleware/SystemCheck.php:20
the issue is crm_teams uses the config file permissions.php so this can be overwritten causing an issue with venturedrake crm. I would recommend using ENV variable to set 'team_foreign_key' for the permission.php file and for the vendor package.
Nothing to reproduce.
Description:
The variable current_crm_team_id is hard coded into places
vendor/venturedrake/laravel-crm/database/migrations/create_laravel_crm_tables.php.stub:309 vendor/venturedrake/laravel-crm/src/Http/Middleware/SystemCheck.php:20
the issue is crm_teams uses the config file permissions.php so this can be overwritten causing an issue with venturedrake crm. I would recommend using ENV variable to set 'team_foreign_key' for the permission.php file and for the vendor package.
Steps To Reproduce:
Nothing to reproduce.