h2 | Dear #{@payer.name}, - if @invoice.invoiceable.is_a? TutoringSession - resource_name = @invoice.invoiceable.resource.name - date = @invoice.invoiceable.date.strftime("%m/ %d/ %Y") - else - date = @invoice.updated_at.strftime("%m/ %d/ %Y") p - if @invoice.manually_billed? | Your Invoice created on #{date} - else | Your Invoice for #{resource_name} held on #{date} | is paid to  = @payee.name p | Thanks! p | "- The #{Configurations::General.application_name} Team"