Takepos Reciept customize

I can get total, i wanna get discount price to this code can anyone help me?

<?php if ($gift != 1) echo ''.$langs->trans("Total").''.price($object->total_ttc, 1, '', 1, - 1, - 1, $conf->currency)."\n"; ?>