Subversion Repositories SmartDukaan

Rev

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

Rev 4862 Rev 5044
Line 50... Line 50...
50
    if cart_has_specified_item is False:
50
    if cart_has_specified_item is False:
51
        raise PromotionException(115, 'This coupon is applicable only for ' + args['handset_display_name'])
51
        raise PromotionException(115, 'This coupon is applicable only for ' + args['handset_display_name'])
52
    
52
    
53
    cart.totalPrice = round(total_selling_price, 4)
53
    cart.totalPrice = round(total_selling_price, 4)
54
    cart.discountedPrice = total_discounted_price
54
    cart.discountedPrice = total_discounted_price
55
    return cart, discounts
-
 
56
55
    return cart, discounts
-
 
56
 
-
 
57
def getDiscountOnItem(item):
-
 
58
    return None
-
 
59
57
60