Sha256: 7e8de8b9c83b2668fa945ad00a48502e405fa3b81ffc0906f9bb4db2f7463d7b
Contents?: true
Size: 1.5 KB
Versions: 70
Compression:
Stored size: 1.5 KB
Contents
= content_for(:tabs) do = render "renalware/letters/shared/electronic_cc_type_tabs", active: :sent = content_for(:filters) do = render search_form = within_admin_layout(title: "Electronic CCs") do table.letters.electronic-ccs.sent.has-togglable-rows thead tr th.col-width-date Sent at th Recipient th.col-width-date-time Read at th.col-width-large Patient th.col-width-nhs-no NHS no. th.col-width-reference-no Hosp no. th Description th tbody - receipts.each do |receipt| - letter = Renalware::Letters::LetterPresenter.new(receipt.letter) - patient = letter.patient tr td= l(letter.issued_on) td.col-width-medium-with-ellipsis= receipt.recipient td= l(receipt.read_at) td= default_patient_link(patient) td= patient.nhs_number td= patient.hospital_identifiers td.col-width-medium-with-ellipsis= letter.description td.actions = link_to "Toggle", "##{receipt.html_preview_identifier}", data: { behaviour: "toggler" } = pipe_separator = link_to(\ letter.view_label, patient_letters_letter_path(letter.patient, letter, back_url: request.fullpath)) = content_tag(:tr, id: receipt.html_preview_identifier, style: "display: none") td td(colspan=6) .quick-preview = simple_format letter.body td = paginate receipts
Version data entries
70 entries across 70 versions & 1 rubygems