Skip to Content
Menu
This question has been flagged
1 Reply
1393 Views

I have models: Contract and Incident. 

In Incident form, I have button Send to Create and Send incident form. 

When click Send button:

- Successfully: Check Room has Contract is Active -> Create Incident form + Change state to In Progress + Send noti.

- Failed: Check Room has not contract or Contract is Draft -> Not allow create Incident form + Show error message ( ValidationError("NotFoundAnywhereContractWithStateActive")) 


Avatar
Discard
Author Best Answer

Please help me ~~

Avatar
Discard
Author

Help me, please ............

Related Posts Replies Views Activity
0
Oct 24
1461
0
Apr 24
1985
1
Feb 24
6517
0
Sep 23
2041
1
Nov 21
2092