Sha256: 0d09740c1fb2d3decbd618cef1a9cb825111ae686f6e62685ed6945006cd5d44

Contents?: true

Size: 650 Bytes

Versions: 8

Compression:

Stored size: 650 Bytes

Contents

.billing_machine
  .actions
    - if can?(:update, @quotation)
      = update_button dorsale.edit_billing_machine_quotation_path(@quotation)

    - if can?(:download, @quotation)
      = download_button dorsale.billing_machine_quotation_path(@quotation, format: :pdf)

    - if can?(:copy, @quotation)
      = copy_button dorsale.copy_billing_machine_quotation_path(@quotation), method: :post, confirm: true

    - if can?(:create, @quotation)
      = dorsale_button dorsale.create_invoice_billing_machine_quotation_path(@quotation), action: :create_invoice, icon: :magic

  = render "dorsale/billing_machine/invoices/details", document: @quotation

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
dorsale-2.2.16 app/views/dorsale/billing_machine/quotations/show.html.slim
dorsale-2.2.14 app/views/dorsale/billing_machine/quotations/show.html.slim
dorsale-2.2.13 app/views/dorsale/billing_machine/quotations/show.html.slim
dorsale-2.2.12 app/views/dorsale/billing_machine/quotations/show.html.slim
dorsale-2.2.11 app/views/dorsale/billing_machine/quotations/show.html.slim
dorsale-2.2.10 app/views/dorsale/billing_machine/quotations/show.html.slim
dorsale-2.2.9 app/views/dorsale/billing_machine/quotations/show.html.slim
dorsale-2.2.8 app/views/dorsale/billing_machine/quotations/show.html.slim