Skip to content

Commit

Permalink
Merge pull request #2785 from bitzesty/staging-release-120424
Browse files Browse the repository at this point in the history
stagiing release
  • Loading branch information
dreamfall authored Apr 12, 2024
2 parents 823a9c3 + 330c176 commit f7a3aca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions app/views/admin/form_answers/_section_documents.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,15 @@
div[data-controller="inline-flash"]
.document-list.space-y-2
= render(partial: "admin/form_answers/docs/status", locals: { form_answer: @form_answer })
= render "admin/form_answers/docs/post_shortlisting_docs", resource: resource

- if @form_answer.audit_certificate.blank? && Settings.after_shortlisting_stage?
.sidebar-section.no-margin-bottom.space-y-3
- if @form_answer.requires_vocf?
#audit-certificate-form[data-controller="inline-flash"]
- audit_certificate = @form_answer.build_audit_certificate
= render "admin/audit_certificate/form", form_answer: @form_answer, audit_certificate: audit_certificate
= render "admin/audit_certificate/form", form_answer: @form_answer, audit_certificate: audit_certificate

- elsif @form_answer.provided_estimates?
- elsif @form_answer.provided_estimates?
- figures_form = @form_answer.shortlisted_documents_wrapper || @form_answer.build_shortlisted_documents_wrapper

= render(partial: "admin/figures_and_vat_returns/status", locals: { form_answer: @form_answer, figures_form: figures_form })
Expand All @@ -49,6 +48,8 @@
#commercial-figures-section[data-controller="inline-flash"]
= render(partial: "admin/figures_and_vat_returns/actual_figures", locals: { form_answer: @form_answer, figures_form: figures_form })

= render "admin/form_answers/docs/post_shortlisting_docs", resource: resource

/ TODO Only appears for EP but for now we need to think more on it
/.sidebar-section
h2.todo-placeholder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

- if policy(resource).download_feedback_pdf?
li
= link_to "View/print an application's feedbacks",
= link_to "View/print application feedback",
download_pdf_admin_form_answer_feedbacks_path(resource.object, format: :pdf),
target: admin_conditional_pdf_link_target(resource.object, "feedback")
- else
Expand Down

0 comments on commit f7a3aca

Please sign in to comment.