Sha256: 508d970b1f7e206201cb0e3e89148a5c4e2865e7ae69d0d3c3ce1df5c32f7d92
Contents?: true
Size: 1.47 KB
Versions: 42
Compression:
Stored size: 1.47 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" } = 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
42 entries across 42 versions & 1 rubygems