Sha256: 7f7136b5e3fc33db887e6e1c21064a2f2cd55df2910ad73842b51bee566d63bd
Contents?: true
Size: 586 Bytes
Versions: 10
Compression:
Stored size: 586 Bytes
Contents
- if policy(@invoice).update? = update_button dorsale.edit_billing_machine_invoice_path(@invoice) - unless @invoice.paid? = dorsale_button dorsale.pay_billing_machine_invoice_path(@invoice), icon: :check, action: :paid, method: :patch - if policy(@invoice).download? = download_button dorsale.billing_machine_invoice_path(@invoice, format: :pdf) - if policy(@invoice).copy? = copy_button dorsale.copy_billing_machine_invoice_path(@invoice) - if policy(@invoice).email? = dorsale_button dorsale.email_billing_machine_invoice_path(@invoice), icon: :send, action: :email
Version data entries
10 entries across 10 versions & 1 rubygems