registration fix and refactoring

This commit is contained in:
Anatoliy Poloz
2024-01-24 11:21:57 +03:00
parent 70e0b066a9
commit cecccba951
20 changed files with 410 additions and 311 deletions

View File

@@ -70,13 +70,13 @@ class RegistrationRuleSet
'height' => static::transform($obj->height),
],
'step3' => [
'chest_circumference' => $obj->chest_circumference,
'waist_circumference' => $obj->waist_circumference,
'hip_circumference' => $obj->hip_circumference,
'chest_circumference' => static::transform($obj->chest_circumference),
'waist_circumference' => static::transform($obj->waist_circumference),
'hip_circumference' => static::transform($obj->hip_circumference),
],
'step4' => [
'blood_pressure_up' => $obj->blood_pressure_up,
'blood_pressure_down' => $obj->blood_pressure_down,
'blood_pressure_up' => static::transform($obj->blood_pressure_up),
'blood_pressure_down' => static::transform($obj->blood_pressure_down),
'has_hypo' => $obj->has_hypo,
'has_hyper' => $obj->has_hyper,
],