Skip to content

Commit

Permalink
add draft id to application pdfs
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamfall committed May 21, 2024
1 parent 015b90e commit 31923e4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/pdf_generators/qae_pdf_forms/general/draw_elements.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def main_header
render_logo
move_down 8.mm
indent 32.mm do
render_urn if form_answer.urn.present? && pdf_blank_mode.blank?
render_urn if pdf_blank_mode.blank?
render_award_information
render_company_name unless pdf_blank_mode.present?
end
Expand Down Expand Up @@ -172,7 +172,8 @@ def render_logo
end

def render_urn
text form_answer.urn,
identification = form_answer.urn.presence || "Draft ID: #{form_answer.id}"
text identification,
header_text_properties
end

Expand Down

0 comments on commit 31923e4

Please sign in to comment.