Subversion Repositories SmartDukaan

Rev

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

Rev 5863 Rev 6643
Line 19... Line 19...
19
    t_provider_details.email = detail.email
19
    t_provider_details.email = detail.email
20
    return t_provider_details 
20
    return t_provider_details 
21
 
21
 
22
def to_t_awbupdate(update):
22
def to_t_awbupdate(update):
23
    t_update = TAwbUpdate()
23
    t_update = TAwbUpdate()
24
    t_update.awbNumber    = update.awb.awb_number
24
    t_update.awbNumber    = update.awbNumber
25
    t_update.providerName = update.awb.provider.name
25
    t_update.providerId = update.providerId
26
    t_update.description  = update.description + " - " + update.comments
-
 
27
    t_update.location     = update.location
26
    t_update.location     = update.location
-
 
27
    t_update.status  = update.status
-
 
28
    t_update.description  = update.description
28
    t_update.entryDate    = to_java_date(update.entry_date)
29
    t_update.date    = to_java_date(update.date)
29
    return t_update
30
    return t_update
30
 
31
 
31
def to_t_pickup_store(store):
32
def to_t_pickup_store(store):
32
    t_store = TPickupStore()
33
    t_store = TPickupStore()
33
    t_store.id = store.id
34
    t_store.id = store.id