Sha256: e124f91ceaa55e52b9ad2e5e25c18ebe88caea8705107ac385dc2f1df87bd4ea
Contents?: true
Size: 570 Bytes
Versions: 7
Compression:
Stored size: 570 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
7 entries across 7 versions & 1 rubygems