|
|
|
@ -269,6 +269,6 @@ module CoursesHelper
|
|
|
|
|
myshixun = Myshixun.where(user_id: user_id, shixun_id: subject&.shixuns).order("updated_at desc").first
|
|
|
|
|
return "" unless myshixun
|
|
|
|
|
stage_shixun = subject&.stage_shixuns.where(shixun_id: myshixun.shixun_id).take
|
|
|
|
|
progress = stage_shixun&.position.to_s + "-" + stage_shixun&.position.to_s + " " + myshixun.shixun&.name
|
|
|
|
|
progress = stage_shixun&.stage&.position.to_s + "-" + stage_shixun&.position.to_s + " " + myshixun.shixun&.name
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|