Skip to Content
Menú
This question has been flagged
1 Respondre
1410 Vistes

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
Descartar
Autor Best Answer

Please help me ~~

Avatar
Descartar
Autor

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

Related Posts Respostes Vistes Activitat
0
d’oct. 24
1472
0
d’abr. 24
1993
1
de febr. 24
6547
0
de set. 23
2046
1
de nov. 21
2097