Fixed apple calcualtion issue on fresh coop installations.
This commit is contained in:
parent
28aec7e4d6
commit
9db5a2fa14
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ class AppleBar
|
|||
end
|
||||
|
||||
def mean_order_amount_per_job
|
||||
(1/@global_avg).round
|
||||
(1/@global_avg).round rescue 0
|
||||
end
|
||||
|
||||
def apples
|
||||
|
|
Loading…
Reference in a new issue