Announcement

Collapse
No announcement yet.

Modifying appearance of PURCHASEORDERNUMBER in Receipt HTML

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Modifying appearance of PURCHASEORDERNUMBER in Receipt HTML

    Can anybody point me in the right direction to modify the HTML around the Purchase Order number (title and value) which appears on the receipt page?

    All that appears in Act_Order04.html is NETQUOTEVAR:PURCHASEORDERNUMBER
    John

    #2
    Hi John,

    This has been asked before, please see the following thread: http://community.actinic.com/showthread.php?t=3525

    Kind Regards
    Nadeem Rasool
    SellerDeck Development

    Comment


      #3
      This has been asked before, please see the following thread: http://community.actinic.com/showthread.php?t=3525
      I know, but I can't see the answer...
      jxm28788, you do not have permission to access this page. This could be due to one of several reasons:

      Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
      If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
      John

      Comment


        #4
        Hi John

        Open up 'OrderScript.pl' in Notepad and then go to 'Edit | Goto' and go to line 4328. You will see the following code:

        Code:
        if (length $::g_PaymentInfo{'PONO'} > 0)	# if there is a po number
        			{												# print it
        			$sPaymentPanel = "<TR>\n";
        			@Response = ACTINIC::EncodeText($::g_PaymentInfo{'PONO'});
        			$sPaymentPanel .= "<TD BGCOLOR=\"$$::g_pSetupBlob{FORM_EMPHASIS_COLOR}\"><FONT FACE=\"ARIAL\" SIZE=\"2\"><B>" .
        				ACTINIC::GetPhrase(-1, 81) . ":</B></FONT></TD><TD COLSPAN=2><FONT FACE=\"ARIAL\" SIZE=\"2\">";
        			$sPaymentPanel .= $Response[1] . "</FONT></TD>";
        			$sPaymentPanel .= "</TR>\n";
        			}
        There is the html code you would need to change. Hope that helps

        Kind Regards
        Nadeem Rasool
        SellerDeck Development

        Comment


          #5
          yes, that does help!

          Would I be correct in thinking that this would work -

          change
          Code:
          "<TD BGCOLOR=\"$$::g_pSetupBlob{FORM_EMPHASIS_COLOR}\"><FONT FACE=\"ARIAL\" SIZE=\"2\"><B>"
          to
          Code:
          "<TD BGCOLOR=\"$$::g_pSetupBlob{FORM_EMPHASIS_COLOR}\" CLASS=\"actxsmall\"><B>"
          (and remove the </font> tag...)

          just want to make sure I get the quotes correct around the actxsmall...
          John

          Comment


            #6
            Hi John,

            Yup that bit of code should work fine

            Kind Regards
            Nadeem Rasool
            SellerDeck Development

            Comment

            Working...
            X