Subversion Repositories SmartDukaan

Rev

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

Rev 2220 Rev 2242
Line 51... Line 51...
51
        order.customer_email = t_order.customer_email
51
        order.customer_email = t_order.customer_email
52
    #new status and status description to be added    
52
    #new status and status description to be added    
53
    order.status = t_order.status  
53
    order.status = t_order.status  
54
    order.statusDescription = t_order.statusDescription
54
    order.statusDescription = t_order.statusDescription
55
    order.total_amount = t_order.total_amount
55
    order.total_amount = t_order.total_amount
56
    order.discounted_amount = t_order.discounted_amount
-
 
57
    order.total_weight = t_order.total_weight
56
    order.total_weight = t_order.total_weight
58
    if t_order.created_timestamp:
57
    if t_order.created_timestamp:
59
        order.created_timestamp = to_py_date(t_order.created_timestamp)
58
        order.created_timestamp = to_py_date(t_order.created_timestamp)
60
    else:
59
    else:
61
        order.created_timestamp = datetime.datetime.now()
60
        order.created_timestamp = datetime.datetime.now()
Line 90... Line 89...
90
            litem.unit_price = line_item.unit_price
89
            litem.unit_price = line_item.unit_price
91
            litem.unit_weight = line_item.unit_weight
90
            litem.unit_weight = line_item.unit_weight
92
            litem.total_price = line_item.total_price
91
            litem.total_price = line_item.total_price
93
            litem.total_weight = line_item.total_weight
92
            litem.total_weight = line_item.total_weight
94
            litem.transfer_price = line_item.transfer_price
93
            litem.transfer_price = line_item.transfer_price
95
            litem.discounted_price = line_item.discounted_price
-
 
96
            
94
            
97
            """
95
            """
98
            if line_item.addedOn:
96
            if line_item.addedOn:
99
                litem.added_on = to_py_date(line_item.addedOn)
97
                litem.added_on = to_py_date(line_item.addedOn)
100
            else:
98
            else: