Modify fail definition
This commit is contained in:
parent
8247f077df
commit
26bc837c76
|
@ -44,9 +44,9 @@ class Panel::Ask::BackEnd::AskRepliesController < OrbitBackendController
|
||||||
if failed_count == 0 && success_count > 0
|
if failed_count == 0 && success_count > 0
|
||||||
new_status = "轉介其他單位"
|
new_status = "轉介其他單位"
|
||||||
elsif failed_count > 0 && success_count > 0
|
elsif failed_count > 0 && success_count > 0
|
||||||
new_status = "部份傳送失敗 (Timeout)"
|
new_status = "部份轉介失敗"
|
||||||
else
|
else
|
||||||
new_status = "傳送失敗 (Timeout)"
|
new_status = "轉介失敗"
|
||||||
end
|
end
|
||||||
|
|
||||||
@ask_reply.update_attributes(status: new_status)
|
@ask_reply.update_attributes(status: new_status)
|
||||||
|
|
Loading…
Reference in New Issue