Sha256: 9fd851cfa587c78457f0057f3e73b2f9eb6df467057e49b1cd10e9f1c411d75e

Contents?: true

Size: 1.2 KB

Versions: 20

Compression:

Stored size: 1.2 KB

Contents

.row
  h1 Request Form Print History

.row
  .search-form
    fieldset
      legend Filters
      = simple_form_for query,
          as: :q,
          url: pathology_requests_requests_path,
          html: { autocomplete: "off" },
          method: :get do |f|
        .row
          .large-4.columns
            = f.input :created_on_eq, as: :date_picker, label: "Printed on"
          .large-8.columns.actions
            = f.submit t("helpers.submit.filter"), class: "button"
            span= " or "
            = link_to t("helpers.reset"), pathology_requests_requests_path

.row
  - if requests.empty?
    p No requests forms have been printed yet.
  - else
    table#requests
      thead
        tr
          th
          th Patient
          th Clinic
          th Consultant
          th Printed On
          th Printed By

      tbody
        - requests.each do |request|
          tr
            td = link_to "View", pathology_requests_request_path(id: request.id, format: "pdf")
            td = request.patient.full_name
            td = request.clinic.name
            td = request.consultant.full_name
            td = I18n.l request.printed_on
            td = request.created_by.full_name

    = paginate requests

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.rc13 app/views/renalware/pathology/requests/requests/index.html.slim
renalware-core-2.0.0.pre.rc11 app/views/renalware/pathology/requests/requests/index.html.slim
renalware-core-2.0.0.pre.rc10 app/views/renalware/pathology/requests/requests/index.html.slim
renalware-core-2.0.0.pre.rc9 app/views/renalware/pathology/requests/requests/index.html.slim
renalware-core-2.0.0.pre.rc8 app/views/renalware/pathology/requests/requests/index.html.slim
renalware-core-2.0.0.pre.rc7 app/views/renalware/pathology/requests/requests/index.html.slim
renalware-core-2.0.0.pre.rc6 app/views/renalware/pathology/requests/requests/index.html.slim
renalware-core-2.0.0.pre.rc5 app/views/renalware/pathology/requests/requests/index.html.slim
renalware-core-2.0.0.pre.rc4 app/views/renalware/pathology/requests/requests/index.html.slim
renalware-core-2.0.0.pre.rc3 app/views/renalware/pathology/requests/requests/index.html.slim
renalware-core-2.0.0.pre.rc1 app/views/renalware/pathology/requests/requests/index.html.slim
renalware-core-2.0.0.pre.beta12 app/views/renalware/pathology/requests/requests/index.html.slim
renalware-core-2.0.0.pre.beta11 app/views/renalware/pathology/requests/requests/index.html.slim
renalware-core-2.0.0.pre.beta10 app/views/renalware/pathology/requests/requests/index.html.slim
renalware-core-2.0.0.pre.beta9 app/views/renalware/pathology/requests/requests/index.html.slim
renalware-core-2.0.0.pre.beta8 app/views/renalware/pathology/requests/requests/index.html.slim
renalware-core-2.0.0.pre.beta7 app/views/renalware/pathology/requests/requests/index.html.slim
renalware-core-2.0.0.pre.beta6 app/views/renalware/pathology/requests/requests/index.html.slim
renalware-core-2.0.0.pre.beta5 app/views/renalware/pathology/requests/requests/index.html.slim
renalware-core-2.0.0.pre.beta4 app/views/renalware/pathology/requests/requests/index.html.slim