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

how can I remove wife/husband? #81

Open
MIS-Center opened this issue Feb 16, 2022 · 6 comments
Open

how can I remove wife/husband? #81

MIS-Center opened this issue Feb 16, 2022 · 6 comments

Comments

@MIS-Center
Copy link

MIS-Center commented Feb 16, 2022

how can I remove wife/husband relation?

@nafiesl
Copy link
Owner

nafiesl commented Feb 16, 2022

Hi @MIS-Center. Currently, there is no option to remove the person's spouse. Actually, this is because I forgot to create the feature 🤦‍♂️ But for now, I have no bandwidth to work on this one, so I will tag this issue open for help if someone can make it.

Thanks for raising this issue, @MIS-Center.

@MIS-Center
Copy link
Author

thanks a lot ..
maybe I will work with you if I use your beautiful project -especially on API section- as I may develop a flutter app

@ahmadrosid
Copy link

I think i can help adding that feature @nafiesl

@ahmadrosid
Copy link

I think we have that feature already.
https://youtu.be/Eq1CtIYMuY8

@nafiesl
Copy link
Owner

nafiesl commented Feb 18, 2022

thanks a lot .. maybe I will work with you if I use your beautiful project -especially on API section- as I may develop a flutter app

Hi @MIS-Center, this project doesn't have API endpoints yet. And I am not sure if a mobile app is necessary for this kind of project. 🤔 May I know your thought on why you want to build a mobile app for this project?

I think i can help adding that feature @nafiesl

Thanks @ahmadrosid

I think we have that feature already. https://youtu.be/Eq1CtIYMuY8

I have seen your video, deleting a user is different from this feature request. This one is deleting marriage or deleting records on the couples table, to be exact.

I was thinking we can just add a delete button on the couple detail/edit page. Here are some ideas:

  1. Add delete button on the couple detail page
  2. If the user click it, pop a javascript confirm dialog to make sure they want to delete it (like the one we have on the delete user page).
  3. Once the user click the confirm/ok button, we delete the couple record, set parent_id to null on the users table related to the deleted couple.

Let me now what you thought, @ahmadrosid. Thanks bro.

@utay-cugung
Copy link

yups.. mohon sediakan tombol delet/edit di tabel suami/istri

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants