Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
1755 Vistas

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
Descartar
Autor Mejor respuesta

Please help me ~~

Avatar
Descartar
Autor

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

Publicaciones relacionadas Respuestas Vistas Actividad
0
oct 24
2015
0
abr 24
2672
1
feb 24
7260
0
sept 23
2550
1
nov 21
2539