Stock card | Added totals to the footer of the stock history table