@ -17,6 +17,7 @@ class BidsController < ApplicationController
helper:watchers
helper:attachments
includeAttachmentsHelper
includeApplicationHelper
helper:projects
helper:words
defindex
@ -723,24 +724,33 @@ class BidsController < ApplicationController
ifUser.current.logged?&&(!Member.where('user_id = ? and project_id = ?',User.current.id,@bid.courses.first.id).first.nil?&&(Member.where('user_id = ? and project_id = ?',User.current.id,@bid.courses.first.id).first.roles&Role.where('id = ? or id = ? or id =?',5,10,7)).size>0)