تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
1376 أدوات العرض

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


الصورة الرمزية
إهمال
الكاتب أفضل إجابة

Please help me ~~

الصورة الرمزية
إهمال
الكاتب

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

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
أكتوبر 24
1459
0
أبريل 24
1975
1
فبراير 24
6493
0
سبتمبر 23
2038
1
نوفمبر 21
2088