Subversion Repositories SmartDukaan

Rev

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

Rev 21454 Rev 21619
Line 375... Line 375...
375
    t_order.dataProtectionInsurer = dataProtectionInsurer
375
    t_order.dataProtectionInsurer = dataProtectionInsurer
376
    t_order.dataProtectionAmount = dataProtectionAmount
376
    t_order.dataProtectionAmount = dataProtectionAmount
377
    #if item.category in [10006, 10010]:
377
    #if item.category in [10006, 10010]:
378
    if selfPickup:
378
    if selfPickup:
379
        t_order.logistics_provider_id = 4
379
        t_order.logistics_provider_id = 4
-
 
380
        t_order.shippingCost = 0
380
    else:
381
    else:
381
        t_order.shippingCost = perUnitShippingCost*t_line_item.quantity
382
        t_order.shippingCost = perUnitShippingCost*t_line_item.quantity
382
    #else:
383
    #else:
383
    #    t_order.shippingCost = 0
384
    #    t_order.shippingCost = 0
384
    return t_order
385
    return t_order