Subversion Repositories SmartDukaan

Rev

Rev 15696 | Rev 15708 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 15696 Rev 15707
Line 1585... Line 1585...
1585
def getServiceTax(data):
1585
def getServiceTax(data):
1586
    #TODO : Get service tax from marketplaceitems table
1586
    #TODO : Get service tax from marketplaceitems table
1587
    return 14.00
1587
    return 14.00
1588
 
1588
 
1589
def getClosingFee(data):
1589
def getClosingFee(data):
1590
    myClosingFee = 0
1590
    myClosingFee = 10
1591
    return myClosingFee*(1+getServiceTax(data)/100)
1591
    return myClosingFee*(1+getServiceTax(data)/100)
1592
 
1592
 
1593
def getCommission(data):
1593
def getCommission(data):
1594
    return (data.commission * data.promoPrice/100)*(1+getServiceTax(data)/100)
1594
    return (data.commission * data.promoPrice/100)*(1+getServiceTax(data)/100)
1595
 
1595