Subversion Repositories SmartDukaan

Rev

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

Rev 9362 Rev 9364
Line 181... Line 181...
181
        supc_data = fetchDetails(supc)
181
        supc_data = fetchDetails(supc)
182
        
182
        
183
        courierCost = 45
183
        courierCost = 45
184
        
184
        
185
        if one_line.weight:
185
        if one_line.weight:
186
            slab = int(((one_line.weight+100) - .001)/.5)
186
            slab = int(((one_line.weight+.1) - .001)/.5)
187
        for x in range (0,slab):
187
        for x in range (0,slab):
188
            courierCost = courierCost + 35
188
            courierCost = courierCost + 35
189
        
189
        
190
        courierCost = courierCost * 1.1236
190
        courierCost = courierCost * 1.1236
191
        
191
        
Line 281... Line 281...
281
        one_line = data[1]
281
        one_line = data[1]
282
        
282
        
283
        courierCost = 45
283
        courierCost = 45
284
        
284
        
285
        if one_line.weight:
285
        if one_line.weight:
286
            slab = int(((one_line.weight+100) - .001)/.5)
286
            slab = int(((one_line.weight+.1) - .001)/.5)
287
        for x in range (0,slab):
287
        for x in range (0,slab):
288
            courierCost = courierCost + 35
288
            courierCost = courierCost + 35
289
        
289
        
290
        courierCost = courierCost * 1.1236
290
        courierCost = courierCost * 1.1236
291
        
291