Sha256: 44681eef358164addf9d44cdf1c7e393c55d0af631e136d4cd6ea73514024647
Contents?: true
Size: 1.27 KB
Versions: 2
Compression:
Stored size: 1.27 KB
Contents
= within_admin_layout(title: "Electronic CCs") do = render "renalware/letters/shared/electronic_cc_type_tabs" = render search_form table.letters.electronic-ccs.sent.has-togglable-rows thead tr th.col-width-date Date th.col-width-medium Author th.col-width-large Patient th Description th Recipient th Read? th tbody - receipts.each do |receipt| - letter = Renalware::Letters::LetterPresenter.new(receipt.letter) tr td= l(letter.issued_on) td= letter.author td= link_to letter.patient, patient_clinical_summary_path(letter.patient) td= letter.description td= receipt.recipient td= yes_no(receipt.read?) 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=5) .quick-preview = simple_format letter.body td = paginate receipts
Version data entries
2 entries across 2 versions & 1 rubygems