Discount only the correct amount in a second gift card

Ensure discount only remaining part from the order and not the total fro...m a second gift card