You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: invoices_helper.rb
    path of file: ./repos/hitobito/app/helpers
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

#  Copyright (c) 2012-2024, Jungwacht Blauring Schweiz. This file is part of
#  hitobito and licensed under the Affero General Public License version 3
#  or later. See the COPYING file at the top-level directory or at
#  https://github.com/hitobito/hitobito.

module InvoicesHelper


    
  def invoice_receiver_address(invoice)
    return unless invoice.recipient_address

    recipient_address_lines = invoice.recipient_address.split("\n")
    content_tag(:p) do
      safe_join([
                  content_tag(:b) { recipient_address_lines.first },
                  *recipient_address_lines.drop(1),
                  mail_to(entry.recipient_email)
                ], '<br/>'.html_safe)
    end
  end