Subversion Repositories SmartDukaan

Rev

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

Rev 17813 Rev 17836
Line 927... Line 927...
927
                        print 'estimateVal Value ', estimateVal
927
                        print 'estimateVal Value ', estimateVal
928
            cartItem['estimate'] = item_delivery_estimate
928
            cartItem['estimate'] = item_delivery_estimate
929
            if item_delivery_estimate == -1:
929
            if item_delivery_estimate == -1:
930
                cartItem['quantity'] = 0
930
                cartItem['quantity'] = 0
931
                cartMessageUndeliverable += 1
931
                cartMessageUndeliverable += 1
932
                cartItemMessages.append({"type":"danget", "messageText":"Undeliverable"})
932
                cartItemMessages.append({"type":"danger", "messageText":"Undeliverable"})
933
            if old_estimate != item_delivery_estimate:
933
            if old_estimate != item_delivery_estimate:
934
                line.estimate = item_delivery_estimate
934
                line.estimate = item_delivery_estimate
935
                cart.updated_on = current_time
935
                cart.updated_on = current_time
936
        else:
936
        else:
937
            cartItem['quantity'] = 0
937
            cartItem['quantity'] = 0