Client-side component extension for amount calculation