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

When doing an inspection, the user should work on a copy of the inspection's buildings data. #62

Closed
iamkinetic opened this issue Jun 1, 2018 · 4 comments
Assignees
Labels
API enhancement New feature or request
Milestone

Comments

@iamkinetic
Copy link
Member

So we need to copy the parent and its children when creating the inspection :

  • BuildingDetail
  • PNAPS, contacts, haz mat
  • particular risks
  • fire protection
  • fire hydrants
  • implantation's plan
  • Etc.

There's no need to change anything on the mobile application for this as all of the controller are already correctly named (like InspectionBuildingPnapController), but we need to change all of these queries so they use the copied data or something.

@iamkinetic iamkinetic added enhancement New feature or request API labels Jun 1, 2018
@iamkinetic iamkinetic modified the milestones: Après ACSIQ, v1 Jun 1, 2018
@iamkinetic
Copy link
Member Author

Il faut décider comment on va faire ça avant de la faire.

@iamkinetic iamkinetic added the help wanted Extra attention is needed label Aug 13, 2018
@iamkinetic
Copy link
Member Author

  • Quand on start l'inspection: on effectue la copie des données.
  • Quand on accepte l'inspection : on fait la copie inverse.

@iamkinetic iamkinetic removed the help wanted Extra attention is needed label Aug 21, 2018
@iamkinetic iamkinetic self-assigned this Aug 21, 2018
iamkinetic added a commit that referenced this issue Aug 21, 2018
iamkinetic added a commit that referenced this issue Aug 21, 2018
@iamkinetic
Copy link
Member Author

#116 fait à même le pull request de cet issue.

iamkinetic added a commit that referenced this issue Aug 22, 2018
iamkinetic added a commit that referenced this issue Aug 23, 2018
iamkinetic added a commit that referenced this issue Aug 23, 2018
iamkinetic added a commit that referenced this issue Aug 23, 2018
iamkinetic added a commit that referenced this issue Aug 23, 2018
iamkinetic added a commit that referenced this issue Aug 23, 2018
@iamkinetic
Copy link
Member Author

iamkinetic commented Aug 29, 2018

@philipperobertgh Corriger CAUCA-9-1-1/survip-mobile#150 avant de faire ceci.

iamkinetic added a commit that referenced this issue Aug 29, 2018
iamkinetic added a commit that referenced this issue Aug 29, 2018
iamkinetic added a commit that referenced this issue Aug 29, 2018
iamkinetic added a commit that referenced this issue Aug 29, 2018
iamkinetic added a commit that referenced this issue Aug 29, 2018
…mitation du type de relation (fake one to many).
iamkinetic added a commit that referenced this issue Aug 29, 2018
philipperobertgh added a commit that referenced this issue Aug 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant