Sha256: 48c23e338f681c3d063b11181c820fab028e59274feb9ae5141d230230867d13

Contents?: true

Size: 774 Bytes

Versions: 1

Compression:

Stored size: 774 Bytes

Contents

.billing_machine
  .actions.top
    - if policy(@quotation).update?
      = update_button dorsale.edit_billing_machine_quotation_path(@quotation)

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

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

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

    - if policy(@quotation).delete?
      = delete_button dorsale.billing_machine_quotation_path(@quotation)

  hr

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dorsale-3.1.0 app/views/dorsale/billing_machine/quotations/show.html.slim