Skip to content

Commit

Permalink
Upload completed document status updated
Browse files Browse the repository at this point in the history
  • Loading branch information
edwin-jebaraj committed Feb 6, 2025
1 parent c608d6e commit 74b0843
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions app/views/evaluation/tasks/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,6 @@

task_list.with_item(title: I18n.t("evaluation.task_list.item.download_documents"), href: evaluation_download_document_path(@current_case), status: download_status)

if @download_document_status == 'complete' && current_evaluator.present? && current_evaluator.has_uploaded_documents == true
upload_status = govuk_tag(text: I18n.t("support.case.label.tasklist.status.complete"), colour: "green")
elsif @download_document_status == 'complete' && (current_evaluator.present? && current_evaluator.has_uploaded_documents == false)
upload_status = govuk_tag(text: I18n.t("support.case.label.tasklist.status.in_progress"))
else
upload_status = govuk_tag(text: I18n.t("support.case.label.tasklist.status.to_do"))
end

if @download_document_status == 'complete'
task_list.with_item(title: I18n.t("evaluation.task_list.item.upload_completed_documents"), href: evaluation_upload_completed_document_path(@current_case), status: upload_status)
else
Expand Down

0 comments on commit 74b0843

Please sign in to comment.