discount
i have some types of discounts :
1- percentage
1% , 2% and 3% for all amount in invoice
for ex: if total invoice 1000 then discount in case of 1 % is 10.
2- depend on quantity
from 1 to 25 disc is 1%
from 26 to 50 disc is 2%
from 51 to 100 disc is 3%
3- depend on receipt
if customer will paid all amount of invoice disc is 5%
if customer will paid half amount of invoice disc is 3%
how i make these types?