fn to_phase_status( row: CreditRegistrationPhaseState, now: DateTime<Utc>, ) -> CreditRegistrationPhaseStatus