diff --git a/app/pdf_generators/qae_pdf_forms/general/draw_elements.rb b/app/pdf_generators/qae_pdf_forms/general/draw_elements.rb index e2ec2fc4f..de1f55763 100644 --- a/app/pdf_generators/qae_pdf_forms/general/draw_elements.rb +++ b/app/pdf_generators/qae_pdf_forms/general/draw_elements.rb @@ -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 @@ -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