Skip to Content
Menu
This question has been flagged
1 Odpoveď
1487 Zobrazenia

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
Zrušiť
Autor Best Answer

Please help me ~~

Avatar
Zrušiť
Autor

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

Related Posts Replies Zobrazenia Aktivita
0
okt 24
1567
0
apr 24
2124
1
feb 24
6640
0
sep 23
2155
1
nov 21
2198