Please enable JavaScript.
Coggle requires JavaScript to display documents.
User clicks Create Req, IF Cancelled Request not found - Coggle Diagram
User clicks Create Req
Request form filled and Confirmed
Request Active
Buyer Accepts it
Seller Cancels Request
Set status to 3(Temperarily cancelled)
Seller sent back to home screen
Buyer Cancels Request
set status of request as 0(available)
both cancel request at exact same instance of time
BOOM!!!
Request not accepted yet
IF canceled request found
Load Prefilled form based on details stored in db
ask Seller if he/she wants to reset form?
If YES
Delete the cancelled request (which was loaded and displayed) from Requests table , update the deleted request in Cancelled Table and reset request form
if NO
user clicks confirm
Set request status to 0 (available for buyers to claim)
IF Cancelled Request not found