finishing - tuning Diagnosis Exclusion
This commit is contained in:
@@ -40,7 +40,7 @@ class AppServiceProvider extends ServiceProvider
|
||||
public function boot()
|
||||
{
|
||||
Schema::defaultStringLength(191);
|
||||
|
||||
|
||||
Str::macro('initials', fn($value, $sep = ' ', $glue = '') => trim(collect(explode($sep, $value))->map(function ($segment) {
|
||||
return $segment[0] ?? '';
|
||||
})->join($glue)));
|
||||
@@ -51,7 +51,7 @@ class AppServiceProvider extends ServiceProvider
|
||||
// });
|
||||
|
||||
Corporate::updated(function ($model) {
|
||||
|
||||
|
||||
$this->logAuditTrail($model, 'updated');
|
||||
});
|
||||
|
||||
@@ -60,7 +60,7 @@ class AppServiceProvider extends ServiceProvider
|
||||
});
|
||||
|
||||
Member::updated(function ($model) {
|
||||
|
||||
|
||||
$this->logAuditTrail($model, 'updated');
|
||||
});
|
||||
|
||||
@@ -71,7 +71,7 @@ class AppServiceProvider extends ServiceProvider
|
||||
|
||||
// Corporate Service
|
||||
CorporateService::updated(function ($model) {
|
||||
|
||||
|
||||
$this->logAuditTrail($model, 'updated');
|
||||
});
|
||||
|
||||
@@ -81,7 +81,7 @@ class AppServiceProvider extends ServiceProvider
|
||||
|
||||
// Corporate Plans
|
||||
CorporatePlan::updated(function ($model) {
|
||||
|
||||
|
||||
$this->logAuditTrail($model, 'updated');
|
||||
});
|
||||
|
||||
@@ -91,7 +91,7 @@ class AppServiceProvider extends ServiceProvider
|
||||
|
||||
// Corporate Benefits
|
||||
CorporateBenefit::updated(function ($model) {
|
||||
|
||||
|
||||
$this->logAuditTrail($model, 'updated');
|
||||
});
|
||||
|
||||
@@ -102,21 +102,20 @@ class AppServiceProvider extends ServiceProvider
|
||||
|
||||
// Corporate Exclusion
|
||||
ExclusionRules::updated(function ($model) {
|
||||
|
||||
$this->logAuditTrailExclusion($model, 'updated');
|
||||
$this->logAuditTrail($model, 'updated');
|
||||
});
|
||||
|
||||
ExclusionRules::deleted(function ($model) {
|
||||
$this->logAuditTrailExclusion($model, 'deleted');
|
||||
$this->logAuditTrail($model, 'deleted');
|
||||
});
|
||||
|
||||
ExclusionImport::updated(function ($model) {
|
||||
|
||||
$this->logAuditTrailExclusion($model, 'updated');
|
||||
|
||||
$this->logAuditTrail($model, 'updated');
|
||||
});
|
||||
|
||||
ExclusionImport::deleted(function ($model) {
|
||||
$this->logAuditTrailExclusion($model, 'deleted');
|
||||
$this->logAuditTrail($model, 'deleted');
|
||||
});
|
||||
|
||||
// ICD or exlusion
|
||||
|
||||
Reference in New Issue
Block a user