Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
1378 Vizualizări

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")) 


Imagine profil
Abandonează
Autor Cel mai bun răspuns

Please help me ~~

Imagine profil
Abandonează
Autor

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

Related Posts Răspunsuri Vizualizări Activitate
0
oct. 24
1459
0
apr. 24
1975
1
feb. 24
6493
0
sept. 23
2038
1
nov. 21
2088