mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-05 07:20:58 +08:00
exam user detail
This commit is contained in:
@@ -867,6 +867,7 @@ class ExamRepository extends BaseRepository
|
||||
$index['current_value'] = $currentValue;
|
||||
$index['current_value_formatted'] = $currentValueFormatted;
|
||||
$index['passed'] = $currentValue >= $requireValueAtomic;
|
||||
$index['index_result'] = $index['passed'] ? nexus_trans($exam->getPassResultTransKey('pass')) : nexus_trans($exam->getPassResultTransKey('not_pass'));
|
||||
$result[] = $index;
|
||||
}
|
||||
return $result;
|
||||
|
||||
Reference in New Issue
Block a user