Subversion Repositories SmartDukaan

Rev

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

Rev 6659 Rev 6660
Line 448... Line 448...
448
 
448
 
449
def enqueue_transaction_info_email(transaction_id):
449
def enqueue_transaction_info_email(transaction_id):
450
    transaction = get_transaction(transaction_id)
450
    transaction = get_transaction(transaction_id)
451
    subject = source_name + " - Order Details"
451
    subject = source_name + " - Order Details"
452
    otgLink = ""
452
    otgLink = ""
453
    inOrderOtg = "<br><div>On Time Guarantee<br><span style=color:red>We pay if we delay</span></div>"
453
    inOrderOtg = "<div>On Time Guarantee<br><span style=color:red>We pay if we delay</span></div>"
454
    if len(transaction.orders) == 1:
454
    if len(transaction.orders) == 1:
455
        inOrderOtg = ""
455
        inOrderOtg = ""
456
        if transaction.orders[0].otg :
456
        if transaction.orders[0].otg :
457
            subject = "Your Order is confirmed with On Time Guarantee We Pay if we Delay"
457
            subject = "Your Order is confirmed with On Time Guarantee We Pay if we Delay"
458
            otgLink = ' Your Order is covered under the <a href="http://www.saholic.com/static/on-time-guarantee">On Time Guarantee, We pay If we Delay.</a>'
458
            otgLink = ' Your Order is covered under the <a href="http://www.saholic.com/static/on-time-guarantee">On Time Guarantee, We pay If we Delay.</a>'