Use ruby sum instead of SQL sum to calculate amount using line_items.
Use ruby sum instead of SQL sum to calculate amount using line_items.

hauledev/bookyt,gaapt/bookyt,xuewenfei/bookyt,xuewenfei/bookyt,silvermind/bookyt,silvermind/bookyt,gaapt/bookyt,wtag/bookyt,wtag/bookyt,xuewenfei/bookyt,huerlisi/bookyt,silvermind/bookyt,hauledev/bookyt,hauledev/bookyt,gaapt/bookyt,huerlisi/bookyt,wtag/bookyt,silvermind/bookyt,hauledev/bookyt,gaapt/bookyt,huerlisi/bookyt