Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
1450 Vues

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
Ignorer
Auteur Meilleure réponse

Please help me ~~

Avatar
Ignorer
Auteur

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

Publications associées Réponses Vues Activité
0
oct. 24
1483
0
avr. 24
2061
1
févr. 24
6589
0
sept. 23
2090
1
nov. 21
2134