Code refactoring for robustness in booking template amount calculation.
Code refactoring for robustness in booking template amount calculation.

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