Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
1399 Widoki

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


Awatar
Odrzuć
Autor Najlepsza odpowiedź

Please help me ~~

Awatar
Odrzuć
Autor

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

Powiązane posty Odpowiedzi Widoki Czynność
0
paź 24
1466
0
kwi 24
1989
1
lut 24
6518
0
wrz 23
2041
1
lis 21
2094