Subversion Repositories SmartDukaan

Rev

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

Rev 1273 Rev 1301
Line 252... Line 252...
252
    user_communication.airwaybill_no = awb
252
    user_communication.airwaybill_no = awb
253
    user_communication.reply_to = email
253
    user_communication.reply_to = email
254
    user_communication.product_name = product
254
    user_communication.product_name = product
255
    user_communication.subject = subject
255
    user_communication.subject = subject
256
    user_communication.message = message
256
    user_communication.message = message
257
#    user_communication.added_at = user_communication_to_save.added_at
257
    user_communication.communication_timestamp = datetime.datetime.now()
258
    session.commit()
258
    session.commit()
259
    
259
    
260
def get_address(address_id):
260
def get_address(address_id):
261
    address = Address.get_by(id=address_id)
261
    address = Address.get_by(id=address_id)
262
    return address
262
    return address