Subversion Repositories SmartDukaan

Rev

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

Rev 10430 Rev 10431
Line 455... Line 455...
455
 
455
 
456
def getReason(data):
456
def getReason(data):
457
    reason=""
457
    reason=""
458
    if data.sellingPrice!=data.sellingPriceSnapdeal:
458
    if data.sellingPrice!=data.sellingPriceSnapdeal:
459
        reason+="Selling Price is different."
459
        reason+="Selling Price is different."
460
    if data.commissionPercentage!= round(data.fixedMargin*1.1236,2):
460
    if data.commissionPercentage!= round(float(data.fixedMargin)/1.1236,2):
461
        reason+="Commission is different."
461
        reason+="Commission is different."
462
    if round(data.courierCost*1.1236)!=round(data.logisticCostSnapdeal):
462
    if round(data.courierCost*1.1236)!=round(data.logisticCostSnapdeal):
463
        reason+="Courier Cost is different-Check Weight."
463
        reason+="Courier Cost is different-Check Weight."
464
    return reason
464
    return reason
465
        
465