Skip to content

Commit

Permalink
feat(admin): show regsys sync status on user page
Browse files Browse the repository at this point in the history
julsteele committed Feb 15, 2024
1 parent 559e170 commit 864256d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/Filament/Resources/UserResource.php
Original file line number Diff line number Diff line change
@@ -43,6 +43,8 @@ public static function form(Form $form): Form
->content(fn (?User $record): string => implode(RegSysClientController::getPackages($record->reg_id) ?? [])),
Forms\Components\Placeholder::make('reg status')
->content(fn (?User $record): string => RegSysClientController::getSingleReg($record->reg_id)['status'] ?? ''),
Forms\Components\Placeholder::make('active app synced to regsys')
->content(fn (?User $record): string => (RegSysClientController::getAdditionalInfoDealerReg($record->reg_id) ? "yes" : "no") ?? ''),
]),
]);
}

0 comments on commit 864256d

Please sign in to comment.