% if current_ma_user.role.upcase.split(',').include?("A") note= Jinda::Doc.all.desc(:created_at) else note= Jinda::Doc.where(user: current_ma_user).desc(:created_at) end %>