[fix] [discount_amount] gl entries fix for flat discount and multiple fixes