Subversion Repositories SmartDukaan

Rev

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

Rev 5418 Rev 5461
Line 18... Line 18...
18
Metro C3530       Discount: Rs.251
18
Metro C3530       Discount: Rs.251
19
Primo S5610       Discount: Rs.241
19
Primo S5610       Discount: Rs.241
20
Star II S5263       Discount: Rs.301
20
Star II S5263       Discount: Rs.301
21
Star II Duos C6712       Discount: Rs.251
21
Star II Duos C6712       Discount: Rs.251
22
Wave 525 S5253       Discount: Rs.391
22
Wave 525 S5253       Discount: Rs.391
23
Galaxy Y S5360       Discount: Rs.415
-
 
24
Galaxy Y Color S5360s       Discount: Rs.199
23
Galaxy Y Color S5360s       Discount: Rs.199
25
Galaxy Y Duos S6102       Discount: Rs.595
-
 
26
 
24
 
27
Champ Megacam C3303i    Discount: Rs.80
25
Champ Megacam C3303i    Discount: Rs.80
28
Champ Deluxe C3312s    Discount: Rs.191
26
Champ Deluxe C3312s    Discount: Rs.191
29
Metro Duos C3322    Discount: Rs.151
27
Metro Duos C3322    Discount: Rs.151
30
Metro C3520    Discount: Rs.40
28
Metro C3520    Discount: Rs.40
Line 161... Line 159...
161
                has_qualified_model = True
159
                has_qualified_model = True
162
                
160
                
163
                if line.actualPrice:
161
                if line.actualPrice:
164
                    discount_value = 345
162
                    discount_value = 345
165
            
163
            
166
            elif line.itemId in (2091, 3882, 2527):  #Galaxy Y S5360
-
 
167
                
-
 
168
                has_qualified_model = True
-
 
169
                
-
 
170
                if line.actualPrice:
-
 
171
                    discount_value = 415
-
 
172
            
-
 
173
            elif line.itemId == 2446:  #Galaxy Y Color S5360s
164
            elif line.itemId == 2446:  #Galaxy Y Color S5360s
174
                
165
                
175
                has_qualified_model = True
166
                has_qualified_model = True
176
                
167
                
177
                if line.actualPrice:
168
                if line.actualPrice:
178
                    discount_value = 199
169
                    discount_value = 199
179
            
170
            
180
            elif line.itemId in (2629, 5839):  #Galaxy Y Duos S6102
-
 
181
                
-
 
182
                has_qualified_model = True
-
 
183
                
-
 
184
                if line.actualPrice:
-
 
185
                    discount_value = 595
-
 
186
            
-
 
187
            elif line.itemId == 2630:  #Galaxy Y Pro Duos B5512
171
            elif line.itemId == 2630:  #Galaxy Y Pro Duos B5512
188
                
172
                
189
                has_qualified_model = True
173
                has_qualified_model = True
190
                
174
                
191
                if line.actualPrice:
175
                if line.actualPrice:
Line 277... Line 261...
277
            '361 if item.id in (996, 1000, 1524, 1563) else None',
261
            '361 if item.id in (996, 1000, 1524, 1563) else None',
278
            '251 if item.id in (1537, 2227) else None',
262
            '251 if item.id in (1537, 2227) else None',
279
            '391 if item.id in (949, 4690, 948) else None',
263
            '391 if item.id in (949, 4690, 948) else None',
280
            '245 if item.id == 5834 else None',
264
            '245 if item.id == 5834 else None',
281
            '345 if item.id in (2537, 2622) else None',
265
            '345 if item.id in (2537, 2622) else None',
282
            '415 if item.id in (2091, 3882, 2527) else None',
-
 
283
            '199 if item.id == 2446 else None',
266
            '199 if item.id == 2446 else None',
284
            '595 if item.id in (2629, 5839) else None',
-
 
285
            '502 if item.id == 2630 else None',
267
            '502 if item.id == 2630 else None',
286
            '80 if item.id in (1001, 2226, 1004, 1011, 998) else None',
268
            '80 if item.id in (1001, 2226, 1004, 1011, 998) else None',
287
            '191 if item.id == 4629 else None',
269
            '191 if item.id == 4629 else None',
288
            '151 if item.id in (2532, 4689, 1500) else None',
270
            '151 if item.id in (2532, 4689, 1500) else None',
289
            '40 if item.id in (2445, 4636) else None',
271
            '40 if item.id in (2445, 4636) else None',