Apply tax on gross total instead of net total

I would like to apply tax on gross total instead of net total (i.e. without discount value) to comply with government regulations. Any help on how best to approach this will be highly appreciated.