Sha256: b1ac036e9097b06baff9cc264cf5c41a9d58d1fd899964666b44a04699cab8d3

Contents?: true

Size: 1.6 KB

Versions: 28

Compression:

Stored size: 1.6 KB

Contents

= within_admin_layout(title: "Transplant Wait List Registrations") do
  ruby:
    filters = {
      active: "Active",
      suspended: "Suspended",
      active_and_suspended: "Active & Suspended",
      working_up: "Working Up",
      status_mismatch: "Status Mismatch"
    }

  h2.print-only= filters[path_params[:named_filter].to_sym]

  dl.sub-nav
    - filters.each do |key, label|
      - options = path_params.merge(named_filter: key).to_h.symbolize_keys
      - path = Renalware::Engine.routes.url_for(options.merge!(only_path: true))
      = sub_nav_item(label, path)

  table.report
    thead
      tr
        th.noprint
        th= sort_link([:renalware, q], :patient_family_name, "Patient")
        th Hosp No
        th= sort_link([:renalware, q], :patient_born_on, "Age")
        th Sex
        th= sort_link([:renalware, q], :patient_current_modality_description_name, "Modality")
        th= sort_link([:renalware, q], :hd_site, "HD Site")
        th Status
        th UKT Status
        th.col-width-date= sort_link([:renalware, q], :esrf_on, "ESRF Date")
        th.col-width-date= sort_link([:renalware, q], :entered_on, "Entry Date")
        th DOL
        th Bld Grp
        th.col-width-tiny= sort_link([:renalware, q], :crf_highest_value, "CRF high")
        th.col-width-date CRF high date
        th= sort_link([:renalware, q], :crf_latest_value, "CRF latest")
        th.col-width-date CRF latest date
        th Sens (CRF>60)
        th Prev Ops
        th Tx Type

    tbody
      - registrations.each do |registration|
        = render "registration", registration: registration

  = paginate registrations

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
renalware-core-2.0.46 app/views/renalware/transplants/wait_lists/show.html.slim
renalware-core-2.0.45 app/views/renalware/transplants/wait_lists/show.html.slim
renalware-core-2.0.44 app/views/renalware/transplants/wait_lists/show.html.slim
renalware-core-2.0.43 app/views/renalware/transplants/wait_lists/show.html.slim
renalware-core-2.0.42 app/views/renalware/transplants/wait_lists/show.html.slim
renalware-core-2.0.41 app/views/renalware/transplants/wait_lists/show.html.slim
renalware-core-2.0.40 app/views/renalware/transplants/wait_lists/show.html.slim
renalware-core-2.0.39 app/views/renalware/transplants/wait_lists/show.html.slim
renalware-core-2.0.38 app/views/renalware/transplants/wait_lists/show.html.slim
renalware-core-2.0.37 app/views/renalware/transplants/wait_lists/show.html.slim
renalware-core-2.0.36 app/views/renalware/transplants/wait_lists/show.html.slim
renalware-core-2.0.35 app/views/renalware/transplants/wait_lists/show.html.slim
renalware-core-2.0.34 app/views/renalware/transplants/wait_lists/show.html.slim
renalware-core-2.0.33 app/views/renalware/transplants/wait_lists/show.html.slim
renalware-core-2.0.32 app/views/renalware/transplants/wait_lists/show.html.slim
renalware-core-2.0.31 app/views/renalware/transplants/wait_lists/show.html.slim
renalware-core-2.0.30 app/views/renalware/transplants/wait_lists/show.html.slim
renalware-core-2.0.28 app/views/renalware/transplants/wait_lists/show.html.slim
renalware-core-2.0.27 app/views/renalware/transplants/wait_lists/show.html.slim
renalware-core-2.0.26 app/views/renalware/transplants/wait_lists/show.html.slim