Sha256: c44602a896d0354cef6dba58aec93934bfbe56d2e36fe69c35d522ffac90776e

Contents?: true

Size: 716 Bytes

Versions: 5

Compression:

Stored size: 716 Bytes

Contents

.billing_machine
  .quotation-details
    .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), method: :post, action: :create_invoice, confirm: true, icon: :magic

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dorsale-2.2.4 app/views/dorsale/billing_machine/quotations/show.html.slim
dorsale-2.2.3 app/views/dorsale/billing_machine/quotations/show.html.slim
dorsale-2.2.2 app/views/dorsale/billing_machine/quotations/show.html.slim
dorsale-2.2.1 app/views/dorsale/billing_machine/quotations/show.html.slim
dorsale-2.2.0 app/views/dorsale/billing_machine/quotations/show.html.slim