mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Style proxy order serializer
This commit is contained in:
@@ -5,7 +5,7 @@ module Api
|
||||
attributes :update_issues
|
||||
|
||||
def total
|
||||
return unless object.total.present?
|
||||
return if object.total.blank?
|
||||
object.total.to_money.to_s
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user