~singpolyma/sgx-jmp

c95d2db47a5bfcf44c27dbf214cf64e621d2c0e0 — Christopher Vollick 8 months ago 0051c8e
Transaction Note Can Be Null

Not only is it allowed, but actually there's a ton of empty notes. Every
monthly account activation is missing a note, so practically every user
that has transactions will have empty notes.
1 files changed, 1 insertions(+), 1 deletions(-)

M lib/customer_finacials.rb
M lib/customer_finacials.rb => lib/customer_finacials.rb +1 -1
@@ 45,7 45,7 @@ class CustomerFinancials
			transaction_id String
			created_at Time
			amount BigDecimal
			note String
			note String, coerce: ->(x) { x || "" }
		end

		def formatted_amount