subtract debits from cake balance

This commit is contained in:
João Geonizeli
2021-09-18 16:08:49 -03:00
parent fb957803cc
commit 698befd7aa
6 changed files with 27 additions and 9 deletions

View File

@@ -31,7 +31,7 @@ class FiatBalanceDashboard < Administrate::BaseDashboard
# FORM_ATTRIBUTES
# an array of attributes that will be displayed
# on the model's form (`new` and `edit`) pages.
FORM_ATTRIBUTES = [:user, :amount_cents].freeze
FORM_ATTRIBUTES = [:amount_cents].freeze
# COLLECTION_FILTERS
# a hash that defines filters that can be used while searching via the search