Subversion Repositories SmartDukaan

Rev

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

Rev 17797 Rev 17798
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
                #cartMessages.append({"type":"failed", "messageText":"Few items are undeliverable."})
931
                #cartMessages.append({"type":"failed", "messageText":"Few items are undeliverable."})
932
                cartMessageUndeliverable += True
932
                cartMessageUndeliverable += 1
933
                cartItemMessages.append({"type":"failed", "messageText":"Undeliverable"})
933
                cartItemMessages.append({"type":"failed", "messageText":"Undeliverable"})
934
            if old_estimate != item_delivery_estimate:
934
            if old_estimate != item_delivery_estimate:
935
                line.estimate = item_delivery_estimate
935
                line.estimate = item_delivery_estimate
936
                cart.updated_on = current_time
936
                cart.updated_on = current_time
937
        else:
937
        else: