Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
1453 Visualizações

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
Cancelar
Autor Melhor resposta

Please help me ~~

Avatar
Cancelar
Autor

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

Publicações relacionadas Respostas Visualizações Atividade
0
out. 24
1483
0
abr. 24
2061
1
fev. 24
6590
0
set. 23
2091
1
nov. 21
2135