Sha256: e8d7be22c28131d0a4e3220670d0a70fb241efb5138e0186e9f2b00cad9f734e

Contents?: true

Size: 759 Bytes

Versions: 29

Compression:

Stored size: 759 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

    - if can?(:delete, @quotation)
      = delete_button dorsale.billing_machine_quotation_path(@quotation)

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

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
dorsale-2.4.1 app/views/dorsale/billing_machine/quotations/show.html.slim
dorsale-2.4.0 app/views/dorsale/billing_machine/quotations/show.html.slim
dorsale-2.3.5 app/views/dorsale/billing_machine/quotations/show.html.slim
dorsale-2.3.4 app/views/dorsale/billing_machine/quotations/show.html.slim
dorsale-2.3.3 app/views/dorsale/billing_machine/quotations/show.html.slim
dorsale-2.3.2 app/views/dorsale/billing_machine/quotations/show.html.slim
dorsale-2.3.1 app/views/dorsale/billing_machine/quotations/show.html.slim
dorsale-2.3.0 app/views/dorsale/billing_machine/quotations/show.html.slim
dorsale-2.2.15 app/views/dorsale/billing_machine/quotations/show.html.slim