rakshitdoshi2511 / YashInternalTracker

Yash Internal Tracker
0 stars 0 forks source link

Insurance Plan - Cancel #9

Open Ruben-Yash opened 1 month ago

Ruben-Yash commented 1 month ago

The cancel of the insurance plan, has to cancel the plan version and in case is the latest version, then we need to cancel the plan as well. As we have 2 tables, plan and plan version tables. In case the plan table is cancel, then that plan shouldn't be shown, now cancel ones are appearing. image image

Ruben-Yash commented 1 month ago

Also when deleting a plan, it doesn't delete anything + is navigating to the insurance template after clicking cancel plan.

rakshitdoshi2511 commented 1 month ago

The cancel of the insurance plan, has to cancel the plan version and in case is the latest version, then we need to cancel the plan as well. As we have 2 tables, plan and plan version tables. In case the plan table is cancel, then that plan shouldn't be shown, now cancel ones are appearing. image image

This is done

rakshitdoshi2511 commented 1 month ago

Also when deleting a plan, it doesn't delete anything + is navigating to the insurance template after clicking cancel plan.

This is also done

Ruben-Yash commented 1 month ago

The cancel plan, cancels the plan, but doesn't cancel the entry in the plan version table. That is pending. Also when cancelling is going back to the insurance screen selection, is not possible to keep it in the same screen refreshing the data?

rakshitdoshi2511 commented 1 month ago

The cancel plan, cancels the plan, but doesn't cancel the entry in the plan version table. That is pending.

This Rajesh said he will handle from backend

Also when cancelling is going back to the insurance screen selection, is not possible to keep it in the same screen refreshing the data?

Let me check this one.

Ruben-Yash commented 1 month ago

Now when clicking on cancel plan, it keeps loading but doesn't do anything. Even in the network tab is not calling anywhere.

rakshitdoshi2511 commented 1 month ago

Cancel is now working. It was removed from backend. Rajesh has added it again

Ruben-Yash commented 1 month ago

Now the plan delete works, but we are showing the deleted plan versions in the front end. image image We need to show them as deleted at least. And to have the option to navigate/change to previous versions