Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 3 of 3

Thread: Print Order Receipt from admin

  1. #1
    harsha.gus is offline Senior Member
    Join Date
    Mar 2009
    Posts
    301

    Exclamation Print Order Receipt from admin

    Hi, I want a make some sort of modification on Order Receipt in admin.

    when we print the order receipt for the first time, it should work normally,
    after that from second time, the receipt should print with a water mark as Duplicate.
    can i achieve it, if yes how can i do it?

    for the mean while i thought some thing like this.

    i know this is giving me the link to print the receipt
    Code:
    Response.Write("<p><b><a href=\"" + PReceiptURLPrintable + "\" target=\"_blank\">Print to Process</a></b></p>");
    i thought to do something like this with if condition
    Code:
    if(IsPrinted=0){
    Response.Write("<p><b><a href=\"" + PReceiptURLPrintable + "\" target=\"_blank\">Print to Process</a></b></p>");
    }
    please help me with either of the solutions, how to proceed. thanks
    rbgx
    AspDotNetStorefront ML
    v8.0.1.4

  2. #2
    harsha.gus is offline Senior Member
    Join Date
    Mar 2009
    Posts
    301

    Exclamation can any one help me

    Can any of you help me with this question please..
    thanks
    rbgx
    AspDotNetStorefront ML
    v8.0.1.4

  3. #3
    harsha.gus is offline Senior Member
    Join Date
    Mar 2009
    Posts
    301

    Exclamation

    i tried this
    Code:
    if (ord.IsPrinted ==0){
    Response.Write("<p><b><a href=\"" + PReceiptURLPrintable + "\" target=\"_blank\">Print to Process</a></b></p>");
    }
    and

    Code:
    if (IsPrinted){
    Response.Write("<p><b><a href=\"" + PReceiptURLPrintable + "\" target=\"_blank\">Print to Process</a></b></p>");
    }
    and

    Code:
    if (IsPrinted){
    Response.Write("<p><b><a href=\"" + PReceiptURLPrintable + "\" target=\"_blank\">Print to Process</a></b></p>");
    }
    nothing works, can anyone help me with this.

    thanks
    rbgx
    AspDotNetStorefront ML
    v8.0.1.4