Magento custom module to add new row in totals. Row added in cart view, checkout, order view and pdf invoice. New row calculate rowtotal of products ( without shipping ) minus custom discount.