Sha256: eb0fcb79d194ef765e439ddf4720d5579924be69725c514cb75c16fecc3532f1

Contents?: true

Size: 1.07 KB

Versions: 6

Compression:

Stored size: 1.07 KB

Contents

= content_for(:actions) do
  = link_to "Add",
            new_patient_prescription_path(@patient),
            remote: true,
            class: "button"
  | 
  = link_to patient_prescriptions_path(@patient,
                                       treatable,
                                       format: :pdf),
            class: "button secondary with-icon",
            target: :blank do
    i.fas.fa-print
    | Print
  | 

  / link to open the modal
  = link_to new_patient_medications_home_delivery_event_path(patient),
            class: "button secondary with-icon",
            data: { "reveal-id" => "print-home-delivery-drugs-modal", "reveal-ajax" => "true" } do
    i.fa.fa-print
    | Print home delivery drugs

  / modal placeholder
  #print-home-delivery-drugs-modal.reveal-modal.small(data-reveal
                                                      data-controller="home-delivery-modal")

= within_patient_layout(title: "Prescriptions") do
  = render "filter_form", search: current_search, drug_types: drug_types, treatable: treatable
  = render "index", local_assigns

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
renalware-core-2.0.148 app/views/renalware/medications/prescriptions/index.html.slim
renalware-core-2.0.147 app/views/renalware/medications/prescriptions/index.html.slim
renalware-core-2.0.146 app/views/renalware/medications/prescriptions/index.html.slim
renalware-core-2.0.145 app/views/renalware/medications/prescriptions/index.html.slim
renalware-core-2.0.144 app/views/renalware/medications/prescriptions/index.html.slim
renalware-core-2.0.143 app/views/renalware/medications/prescriptions/index.html.slim