Modify fail definition

This commit is contained in:
Bernie Chiu 2013-09-25 17:53:35 +08:00
parent 8247f077df
commit 26bc837c76
1 changed files with 2 additions and 2 deletions

View File

@ -44,9 +44,9 @@ class Panel::Ask::BackEnd::AskRepliesController < OrbitBackendController
if failed_count == 0 && success_count > 0
new_status = "轉介其他單位"
elsif failed_count > 0 && success_count > 0
new_status = "部份傳送失敗 (Timeout)"
new_status = "部份轉介失敗"
else
new_status = "傳送失敗 (Timeout)"
new_status = "轉介失敗"
end
@ask_reply.update_attributes(status: new_status)