Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to apply yourself to the workshop #1541

Closed
litvinets opened this issue Aug 7, 2022 · 0 comments
Closed

Possibility to apply yourself to the workshop #1541

litvinets opened this issue Aug 7, 2022 · 0 comments
Assignees

Comments

@litvinets
Copy link
Contributor

litvinets commented Aug 7, 2022

Introduction:
Now, every user can apply yourself to the workshop (create application) and later be accepted
Back-end handles it by creating "fake-child" component on their side, so every parent has a card for yourself.

To do:

  1. update Child model, add filed isParent: boolean
    image
  1. do not display isParent card in the children tab, there should be only cards with isParent: false
    image
  2. update create-application component. Add the second tab, that receives your own card and displays info about yourself
    image
    image
  3. check functionality to apply yourself, the child id should by the id from the card isParent: true ---> childId
  4. update child-info-box
    if IsParent: true, then change "Дані дитини" to "Дані користувача". and hide fields that are not relevant to the isParent
    image
  5. do not display isParent option in the dropdown (there is a bug also [Create Application] - display the whole list of child options #1542)
    image
sivxkxn added a commit that referenced this issue Aug 17, 2022
* added isParent field into Child model

* remove card

* remove some extra chenges

* removed parent card

* changes

* two forms

* some fixes

* info about user in children card

* validation for isparent application

* some formatting

* remove extra ?

* validation for isparent application

* remove some fields for parent info-box

* formatting

* formatting

* combined under one ngIf
@sivxkxn sivxkxn closed this as completed Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants