Subversion Repositories SmartDukaan

Rev

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

Rev 3378 Rev 3386
Line 201... Line 201...
201
 
201
 
202
def to_t_coupon(coupon):
202
def to_t_coupon(coupon):
203
    t_coupon = TCoupon()
203
    t_coupon = TCoupon()
204
 
204
 
205
    if coupon:
205
    if coupon:
206
        t_coupon.code = coupon.code
206
        t_coupon.couponCode = coupon.coupon_code
207
        t_coupon.promotion_id = coupon.promotion_id
207
        t_coupon.promotion = to_t_promotion(coupon.promotion)
208
        t_coupon.arguments = coupon.arguments
208
        t_coupon.arguments = coupon.arguments
209
    
209
    
210
    return t_coupon
210
    return t_coupon
211
 
211
 
212
def to_t_user_note(user_note):
212
def to_t_user_note(user_note):