forked from eatvio/eatvio-infra
registration fix and refactoring
This commit is contained in:
@@ -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,
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user