Installation app category issue solved.
This commit is contained in:
parent
023ef6f214
commit
2c96ef05f1
@ -191,7 +191,7 @@ class Updater
|
||||
ModelHistory::create([
|
||||
'company_id' => session('company_id'),
|
||||
'module_id' => $model->id,
|
||||
'category' => $module->get('category'),
|
||||
'category' => $module->get('category', 'payment-method'),
|
||||
'version' => $version,
|
||||
'description' => trans('modules.history.updated', ['module' => $module->get('alias')]),
|
||||
]);
|
||||
|
@ -52,7 +52,7 @@ class DeleteCommand extends Command
|
||||
$data = [
|
||||
'company_id' => $company_id,
|
||||
'module_id' => $model->id,
|
||||
'category' => $module->get('category'),
|
||||
'category' => $module->get('category', 'payment-method'),
|
||||
'version' => $module->get('version'),
|
||||
'description' => trans('modules.deleted', ['module' => $module->get('alias')]),
|
||||
];
|
||||
|
@ -51,7 +51,7 @@ class DisableCommand extends Command
|
||||
$data = [
|
||||
'company_id' => $company_id,
|
||||
'module_id' => $model->id,
|
||||
'category' => $module->get('category'),
|
||||
'category' => $module->get('category', 'payment-method'),
|
||||
'version' => $module->get('version'),
|
||||
'description' => trans('modules.disabled', ['module' => $module->get('alias')]),
|
||||
];
|
||||
|
@ -51,7 +51,7 @@ class EnableCommand extends Command
|
||||
$data = [
|
||||
'company_id' => $company_id,
|
||||
'module_id' => $model->id,
|
||||
'category' => $module->get('category'),
|
||||
'category' => $module->get('category', 'payment-method'),
|
||||
'version' => $module->get('version'),
|
||||
'description' => trans('modules.enabled', ['module' => $module->get('alias')]),
|
||||
];
|
||||
|
@ -53,7 +53,7 @@ class InstallCommand extends Command
|
||||
$data = [
|
||||
'company_id' => $company_id,
|
||||
'module_id' => $model->id,
|
||||
'category' => $module->get('category'),
|
||||
'category' => $module->get('category', 'payment-method'),
|
||||
'version' => $module->get('version'),
|
||||
'description' => trans('modules.installed', ['module' => $module->get('alias')]),
|
||||
];
|
||||
|
Loading…
x
Reference in New Issue
Block a user