Sha256: 888b8369b6ef12a9ff1308fca9beddb488b970517660c300eb43896425d2b29e

Contents?: true

Size: 581 Bytes

Versions: 2

Compression:

Stored size: 581 Bytes

Contents

.billing_machine
  .actions
    - if can?(:copy, @invoice)
      = copy_button dorsale.copy_billing_machine_invoice_path(@invoice)
    - if can?(:update, @invoice)
      = update_button dorsale.edit_billing_machine_invoice_path(@invoice)
    - if can?(:download, @invoice)
      = download_button dorsale.billing_machine_invoice_path(@invoice, format: :pdf)
    - if can?(:pay, @invoice)
      = dorsale_button dorsale.pay_billing_machine_invoice_path(@invoice), icon: :check, action: :pay, method: :patch

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dorsale-2.2.6 app/views/dorsale/billing_machine/invoices/show.html.slim
dorsale-2.2.5 app/views/dorsale/billing_machine/invoices/show.html.slim