Subversion Repositories SmartDukaan

Rev

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

Rev 8939 Rev 8942
Line 260... Line 260...
260
                litem.added_on = datetime.datetime.now()
260
                litem.added_on = datetime.datetime.now()
261
            """
261
            """
262
            litem.order = order
262
            litem.order = order
263
    session.commit()
263
    session.commit()
264
    
264
    
-
 
265
    # EMI charges can not be charged by merchant as per RBI guidelines. 
-
 
266
    #Now we do not have any other charges, So commenting it out.
265
    generateOtherCharges(transaction, t_transaction.emiSchemeId, totalAmount)
267
    #generateOtherCharges(transaction, t_transaction.emiSchemeId, totalAmount)
266
    
268
    
267
    return transaction.id
269
    return transaction.id
268
 
270
 
269
def generateOtherCharges(transaction, emiSchemeId, totalAmount):
271
def generateOtherCharges(transaction, emiSchemeId, totalAmount):
270
    emiScheme = EmiScheme.get_by(id=emiSchemeId)
272
    emiScheme = EmiScheme.get_by(id=emiSchemeId)