Subversion Repositories SmartDukaan

Rev

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

Rev 3299 Rev 3301
Line 22... Line 22...
22
        
22
        
23
        for line in cart.lines:
23
        for line in cart.lines:
24
            
24
            
25
            line.discountedPrice = line.actualPrice
25
            line.discountedPrice = line.actualPrice
26
            
26
            
27
            if line.itemId in (6, 7, 8, 9, 1499):  #Curve 8520
27
            if line.itemId in (5, 6, 7, 8, 9, 1499):  #Curve 8520
28
                
28
                
29
                has_qualified_model = True
29
                has_qualified_model = True
30
                
30
                
31
                if line.actualPrice:
31
                if line.actualPrice:
32
                    line.discountedPrice = round(line.actualPrice  - 250)
32
                    line.discountedPrice = round(line.actualPrice  - 250)