Sha256: 8d42e1b4b21baaf30242d29c9855d2fe12906299740b870dbef8679cd1ba7c05

Contents?: true

Size: 753 Bytes

Versions: 32

Compression:

Stored size: 753 Bytes

Contents

- 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).email?
  = bs_button dorsale.email_billing_machine_quotation_path(@quotation), action: :email, icon: :send

- if policy(@quotation).create_invoice?
  = bs_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)

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
dorsale-3.13.0 app/views/dorsale/billing_machine/quotations/_show_actions.html.slim
dorsale-3.12.0 app/views/dorsale/billing_machine/quotations/_show_actions.html.slim
dorsale-3.11.0 app/views/dorsale/billing_machine/quotations/_show_actions.html.slim
dorsale-3.10.3 app/views/dorsale/billing_machine/quotations/_show_actions.html.slim
dorsale-3.10.2 app/views/dorsale/billing_machine/quotations/_show_actions.html.slim
dorsale-3.10.1 app/views/dorsale/billing_machine/quotations/_show_actions.html.slim
dorsale-3.10.0 app/views/dorsale/billing_machine/quotations/_show_actions.html.slim
dorsale-3.9.8 app/views/dorsale/billing_machine/quotations/_show_actions.html.slim
dorsale-3.9.7 app/views/dorsale/billing_machine/quotations/_show_actions.html.slim
dorsale-3.9.6 app/views/dorsale/billing_machine/quotations/_show_actions.html.slim
dorsale-3.9.5 app/views/dorsale/billing_machine/quotations/_show_actions.html.slim
dorsale-3.9.4 app/views/dorsale/billing_machine/quotations/_show_actions.html.slim