Sha256: 0bf758f6bead4df9ab031a09ac2465314b78824908ca9a22d1704bea6cbe2cf3
Contents?: true
Size: 588 Bytes
Versions: 8
Compression:
Stored size: 588 Bytes
Contents
module PhcdevworksAccountsStripe module ApplicationHelper # PHCAccountsStripe - Invoice Status def phcdev_invoice_status(status) colors = { 'draft' => 'badge badge-secondary', 'open' => 'badge-success', 'paid' => 'badge-green', 'uncollectible' => 'badge-danger', 'void' => 'badge-dark' } content_tag(:span, class: "badge #{colors[status]} badge-square") do end end end end
Version data entries
8 entries across 8 versions & 1 rubygems