Skip to Content
Menu
This question has been flagged
1 Atsakyti
1413 Rodiniai

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


Portretas
Atmesti
Autorius Best Answer

Please help me ~~

Portretas
Atmesti
Autorius

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

Related Posts Replies Rodiniai Veikla
0
spal. 24
1476
0
bal. 24
2004
1
vas. 24
6561
0
rugs. 23
2053
1
lapkr. 21
2098