update exceeds_budget on orders. project_order_items[0] was returning nil and erring out when added to cost. to_f converts the potential nil to a number which can be added to cost and compared to budget.
update exceeds_budget on orders.
project_order_items[0] was returning nil and erring out when added to cost.
to_f converts the potential nil to a number which can be added to cost and compared to budget.

mafernando/api,sonejah21/api,sreekantch/JellyFish,mafernando/api,mafernando/api,sonejah21/api,AllenBW/api,dcallner/project-jellyfish-api,projectjellyfish/api,adderall/api,dcallner/project-jellyfish-api,stackus/api,boozallen/projectjellyfish,stackus/api,sreekantch/JellyFish,adderall/api,stackus/api,boozallen/projectjellyfish,boozallen/projectjellyfish,AllenBW/api,adderall/api,sreekantch/JellyFish,AllenBW/api,sonejah21/api,projectjellyfish/api,projectjellyfish/api,boozallen/projectjellyfish,dcallner/project-jellyfish-api