Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1372 Zobrazení

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šit
Autor Nejlepší odpověď

Please help me ~~

Avatar
Zrušit
Autor

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

Related Posts Odpovědi Zobrazení Aktivita
0
říj 24
1459
0
dub 24
1970
1
úno 24
6492
0
zář 23
2036
1
lis 21
2087