Subversion Repositories SmartDukaan

Rev

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

Rev 6848 Rev 6903
Line 73... Line 73...
73
def to_t_insurer(insurer):
73
def to_t_insurer(insurer):
74
    t_insurer = TInsurer()
74
    t_insurer = TInsurer()
75
    t_insurer.id = insurer.id
75
    t_insurer.id = insurer.id
76
    t_insurer.name = insurer.name 
76
    t_insurer.name = insurer.name 
77
    t_insurer.address = insurer.address
77
    t_insurer.address = insurer.address
-
 
78
    t_insurer.declaredAmount = insurer.declaredAmount
-
 
79
    t_insurer.creditedAmount = insurer.creditedAmount
78
    return t_insurer
80
    return t_insurer
79
 
81
 
80
def to_t_voucher_item_mapping(voucher):
82
def to_t_voucher_item_mapping(voucher):
81
    t_voucher = VoucherItemMapping()
83
    t_voucher = VoucherItemMapping()
82
    t_voucher.voucherType = voucher.voucherType
84
    t_voucher.voucherType = voucher.voucherType