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

[AccordionPatient] : Add Callbacks and Modals for Buttons #265

Closed
5 tasks done
remixxx31 opened this issue Jul 11, 2024 · 0 comments
Closed
5 tasks done

[AccordionPatient] : Add Callbacks and Modals for Buttons #265

remixxx31 opened this issue Jul 11, 2024 · 0 comments
Assignees

Comments

@remixxx31
Copy link
Contributor

remixxx31 commented Jul 11, 2024

[AccordionPatient:] Add Callbacks and Modals for Buttons

Checklist

  • Add callback for Edit button to open a modal with a patient edit form.
  • Add callback for Delete button to open a confirmation modal.
  • Implement the patient edit form as a new component.
  • Implement the confirmation modal to confirm patient deletion.
  • Connect the delete confirmation modal to an API call for deleting the patient.

Implementation Details

  1. Add callbacks in the AccordionPatient component for the Edit and Delete buttons.
  2. Create a new PatientEditModal component to handle patient editing.
  3. ImplementConfirmationModal component to handle delete confirmation.
  4. Ensure the ConfirmationModal triggers an API call to delete the patient upon confirmation.
@remixxx31 remixxx31 self-assigned this Jul 11, 2024
@remixxx31 remixxx31 changed the title [Component] AccordionPatient: Add Callbacks and Modals for Buttons [AccordionPatient] : Add Callbacks and Modals for Buttons Jul 11, 2024
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

2 participants