[CoreBundle] Fixed discound in twig function
[InvoiceBundle] Add payment icon to invoice index
[InvoiceBundle] Don't show payment button if invoice is not pending