Subversion Repositories SmartDukaan

Rev

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

Rev 5555 Rev 6367
Line 170... Line 170...
170
    if promotion:
170
    if promotion:
171
        t_promotion.id = promotion.id
171
        t_promotion.id = promotion.id
172
        t_promotion.name = promotion.name
172
        t_promotion.name = promotion.name
173
        t_promotion.ruleExecutionSrc = promotion.rule_execution_src
173
        t_promotion.ruleExecutionSrc = promotion.rule_execution_src
174
        t_promotion.startOn = to_java_date(promotion.start_on)
174
        t_promotion.startOn = to_java_date(promotion.start_on)
-
 
175
        t_promotion.type = promotion.type
175
        t_promotion.endOn = to_java_date(promotion.end_on)
176
        t_promotion.endOn = to_java_date(promotion.end_on)
176
        
177
        
177
        #if promotion.coupons:
178
        #if promotion.coupons:
178
        #    t_promotion.coupons = [to_t_coupon(coupon) for coupon in promotion.coupons]
179
        #    t_promotion.coupons = [to_t_coupon(coupon) for coupon in promotion.coupons]
179
        
180