How to add complete Store Info @ Header like where the Configuration in File The Store Tab
Include the Email Address and Both Address Lines
What can i add to include this info from the FullPage File
<?xml version = "1.0" encoding = "UTF-16"?>
<!--</XML> RECEIPT-->
<XML>
<PROPERTIES>
<DESCRIPTION> Receipt - Full Page </DESCRIPTION>
<AUTHOR> Microsoft Corporation </AUTHOR>
<VERSION> Version 1.05 </VERSION>
</PROPERTIES>
<!--
===========================
Attributes
===========================
-->
<SET name="ReceiptCount" custom="true" description="Receipt Count" type="vbLong"> 1 </SET>
<SET name="PaperWidth" custom="true" description="Paper Width" type="vbdouble"> 8.5 </SET>
<SET name="PaperHeight" custom="true" description="Paper Height" type="vbdouble"> 11.00 </SET>
<SET name="MarginLeft" custom="true" description="Margin Left" type="vbdouble"> 0.5 </SET>
<SET name="MarginRight" custom="true" description="Margin Right" type="vbdouble"> 0.5 </SET>
<SET name="MarginTop" custom="true" description="Margin Top" type="vbdouble"> 0.5 </SET>
<SET name="MarginBottom" custom="true" description="Margin Bottom" type="vbdouble"> 0.5 </SET>
<SET name="HeaderHeight" custom="true" description="Header Height" type="vbdouble"> 3.5 </SET>
<SET name="FooterHeight" custom="true" description="Footer Height" type="vbdouble"> 2.2 </SET>
<SET name="CommentLine1" custom="true" description="Comment Line 1" type="vbString"> "Thank you for shopping"</SET>
<SET name="CommentLine2" custom="true" description="Comment Line 2" type="vbString"> Store.Name</SET>
<SET name="CommentLine3" custom="true" description="Comment Line 3" type="vbString"> "Please come again!"</SET>
<SET name="CommentLine4" custom="true" description="Comment Line 4" type="vbString"></SET>
<SET name="CommentLine5" custom="true" description="Comment Line 5" type="vbString"></SET>
<SET name="GiftReceiptCommentLine1" custom="true" description="Gift Receipt Comment Line 1" type="vbString"> "Please Keep this receipt. It May be"</SET>
<SET name="GiftReceiptCommentLine2" custom="true" description="Gift Receipt Comment Line 2" type="vbString"> "required for refunds or exchanges"</SET>
<SET name="GiftReceiptCommentLine3" custom="true" description="Gift Receipt Comment Line 3" type="vbString"> </SET>
<SET name="GiftReceiptCommentLine4" custom="true" description="Gift Receipt Comment Line 4" type="vbString"></SET>
<SET name="GiftReceiptCommentLine5" custom="true" description="Gift Receipt Comment Line 5" type="vbString"></SET>
<SET name="LogoFilename" custom="true" description="Logo Filename" type="vbString"></SET>
<SET name="ShowStoreInfo" custom="true" description="Show Store Name/Address" type="vbBoolean"> True </SET>
<SET name="ShowCustomerAddress" custom="true" description="Show Customer Address" type="vbBoolean"> True </SET>
<SET name="ShowLineDiscounts" custom="true" description="Show Line Discounts" type="vbBoolean"> True </SET>
<SET name="ShowTaxDetails" custom="true" description="Show Tax Details" type="vbBoolean"> False </SET>
<SET name="ShowBarcode" custom="true" description="Show Barcode" type="vbBoolean"> True </SET>
<SET name="ShowLogo" custom="true" description="Show Logo" type="vbBoolean"> True </SET>
<SET name="ShowComments" custom="true" description="Show Comments" type="vbBoolean"> True </SET>
<SET name="ShowDuplicate" custom="true" description="Show Duplicate" type="vbBoolean"> True </SET>
<SET name="ShowAccountBalance" custom="true" description="Show Customer Account Balances" type="vbBoolean"> True </SET>
<SET name="LineColor" custom="true" description="Line Color" type="vbString"> vbYellow </SET>
<!--
===========================
Variable Declarations
===========================
-->
<SET name="PageWidth" type="vbdouble"> PaperWidth - MarginLeft - MarginRight </SET>
<SET name="PageHeight" type="vbdouble"> PaperHeight - MarginTop - MarginBottom - HeaderHeight - FooterHeight</SET>
<SET name="NewAccountBalance" type="vbcurrency"> 0 </SET>
<!--
===========================
Page Settings
===========================
-->
<MARGIN>
<COPIES> ReceiptCount </COPIES>
<TOP> MarginTop + HeaderHeight </TOP>
<BOTTOM> MarginBottom + FooterHeight </BOTTOM>
<LEFT> MarginLeft </LEFT>
<RIGHT> MarginRight </RIGHT>
<ORIENTATION>orPortrait</ORIENTATION>
</MARGIN>
<!--
===========================
Font Declarations
===========================
-->
<FONT name="">
<NAME> "Arial" </NAME>
<SIZE> 10 </SIZE>
<BOLD> False </BOLD>
<UNDERLINE> False </UNDERLINE>
<ITALIC> False </ITALIC>
<COLOR> vbBlack </COLOR>
</FONT>
<FONT name="Small">
<NAME> "Arial" </NAME>
<SIZE> 10 </SIZE>
<BOLD> False </BOLD>
<UNDERLINE> False </UNDERLINE>
<ITALIC> False </ITALIC>
<COLOR> vbBlack </COLOR>
</FONT>
<FONT name="Large">
<NAME> "Arial" </NAME>
<SIZE> 18 </SIZE>
<BOLD> True </BOLD>
<UNDERLINE> False </UNDERLINE>
<ITALIC> False </ITALIC>
<COLOR> vbBlack </COLOR>
</FONT>
<FONT name="Huge">
<NAME> "Arial" </NAME>
<SIZE> 36 </SIZE>
<BOLD> True </BOLD>
<UNDERLINE> False </UNDERLINE>
<ITALIC> False </ITALIC>
<COLOR> vbRed </COLOR>
</FONT>
<!--
===========================
Header
===========================
-->
<SUB name="DrawHeader">
<TABLE>
<TOP> MarginTop </TOP>
<FONT> "Large" </FONT>
<BORDER> tbNone </BORDER>
<COLUMNHEADER>
<ALIGNMENT> "<~" </ALIGNMENT>
<IF>
<CONDITION> ShowLogo </CONDITION>
<THEN>
<WIDTH> PageWidth * 0.15 </WIDTH>
</THEN>
<ELSE>
<WIDTH> 0.001 </WIDTH>
</ELSE>
</IF>
<TEXT newline="true"></TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> "<~" </ALIGNMENT>
<IF><CONDITION> ShowLogo </CONDITION>
<THEN><WIDTH> PageWidth * 0.45 </WIDTH></THEN>
<ELSE><WIDTH> PageWidth * 0.60 </WIDTH></ELSE>
</IF>
<IF><CONDITION> ShowStoreInfo </CONDITION>
<THEN><TEXT> Store.Name </TEXT></THEN>
<ELSE><TEXT> "" </TEXT></ELSE>
</IF>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> ">~" </ALIGNMENT>
<WIDTH> PageWidth * 0.40 </WIDTH>
<TEXT> Transaction.ReceiptTransactionName </TEXT>
</COLUMNHEADER>
</TABLE>
<!--
===========================
Store Address & trans. info
===========================
-->
<TABLE>
<BORDER> tbNone </BORDER>
<COLUMNHEADER>
<ALIGNMENT> "<~" </ALIGNMENT>
<IF>
<CONDITION> ShowLogo </CONDITION>
<THEN><WIDTH> PageWidth * 0.15 </WIDTH></THEN>
<ELSE><WIDTH> 0.001 </WIDTH></ELSE>
</IF>
<TEXT newline="true"></TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> "<~" </ALIGNMENT>
<IF><CONDITION> ShowLogo </CONDITION>
<THEN><WIDTH> PageWidth * 0.45 </WIDTH></THEN>
<ELSE><WIDTH> PageWidth * 0.60 </WIDTH></ELSE>
</IF>
<IF><CONDITION> ShowStoreInfo </CONDITION>
<THEN><TEXT> Store.Address1 </TEXT></THEN>
<ELSE><TEXT> "" </TEXT></ELSE>
</IF>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> "<~" </ALIGNMENT>
<WIDTH> PageWidth * 0.20 </WIDTH>
<IF>
<CONDITION> Transaction.ReceiptReferenceNumber </CONDITION>
<THEN>
<TEXT> Transaction.ReceiptReferenceNumberCaption ": " </TEXT>
</THEN>
<ELSE>
<TEXT> "" </TEXT>
</ELSE>
</IF>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> "<~" </ALIGNMENT>
<WIDTH> PageWidth * 0.20 </WIDTH>
<IF>
<CONDITION> Transaction.ReceiptReferenceNumber </CONDITION>
<THEN>
<TEXT> Transaction.ReceiptReferenceNumber </TEXT>
</THEN>
<ELSE>
<TEXT> "" </TEXT>
</ELSE>
</IF>
</COLUMNHEADER>
<IF><CONDITION> ShowStoreInfo </CONDITION>
<THEN>
<ROW> "|" Store.CityStateZip "|" Transaction.ReceiptTransactionNumberCaption ":|" Transaction.ReceiptTransactionNumber </ROW>
<ROW> "|" Store.Phone "|Account #:|" Customer.AccountNumber </ROW>
<ROW> "|" Store.Fax "|Page:|\p of \t" </ROW>
</THEN>
<ELSE>
<ROW> "||" Transaction.ReceiptTransactionNumberCaption ":|" Transaction.ReceiptTransactionNumber </ROW>
<ROW> "||Account #:|" Customer.AccountNumber </ROW>
<ROW> "||Page:|\p of \t" </ROW>
</ELSE>
</IF>
<ROW> "||Date:|" Transaction.Date </ROW>
<ROW> "||Time:|" Transaction.Time </ROW>
<ROW> "||Cashier:|" Cashier.Number </ROW>
<ROW> "||Register #:|" Register.Number </ROW>
<ROW></ROW>
</TABLE>
<!--
===========================
Bill To & Ship To
===========================
-->
<TABLE>
<BORDER> tbNone </BORDER>
<COLUMNHEADER>
<ALIGNMENT> "<" </ALIGNMENT>
<WIDTH> PageWidth * 0.10 </WIDTH>
<TEXT> "Bill To:" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> "<" </ALIGNMENT>
<WIDTH> PageWidth * 0.40 </WIDTH>
<TEXT skipblank="true" newline="true"> Customer.Name </TEXT>
<TEXT skipblank="true" newline="true"> Customer.HomeAddress.Company </TEXT>
<TEXT skipblank="true" newline="true"> Customer.HomeAddress.StreetAddress</TEXT>
<TEXT skipblank="true" newline="true"> Customer.HomeAddress.StreetAddress2</TEXT>
<TEXT skipblank="true" newline="true"> Customer.HomeAddress.CityStateZip </TEXT>
<TEXT skipblank="true" newline="true"> Customer.HomeAddress.PhoneNumber </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> "<" </ALIGNMENT>
<WIDTH> PageWidth * 0.10 </WIDTH>
<TEXT> "Ship To:" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> "<" </ALIGNMENT>
<WIDTH> PageWidth * 0.40 </WIDTH>
<TEXT skipblank="true" newline="true"> Customer.ShipToAddress.Name </TEXT>
<TEXT skipblank="true" newline="true"> Customer.ShipToAddress.Company </TEXT>
<TEXT skipblank="true" newline="true"> Customer.ShipToAddress.StreetAddress</TEXT>
<TEXT skipblank="true" newline="true"> Customer.ShipToAddress.StreetAddress2</TEXT>
<TEXT skipblank="true" newline="true"> Customer.ShipToAddress.CityStateZip </TEXT>
<TEXT skipblank="true" newline="true"> Customer.ShipToAddress.PhoneNumber </TEXT>
</COLUMNHEADER>
</TABLE>
<TABLE>
<BORDER> tbNone </BORDER>
<COLUMNHEADER>
<ALIGNMENT> "<~" </ALIGNMENT>
<WIDTH> PageWidth * 0.15 </WIDTH>
<TEXT> "" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> "<~" </ALIGNMENT>
<WIDTH> PageWidth * 0.85 </WIDTH>
<TEXT> "" </TEXT>
</COLUMNHEADER>
<IF>
<CONDITION>Len(Transaction.Comment)</CONDITION>
<THEN>
<ROW>"Reference:|" Transaction.ReferenceNumber </ROW>
</THEN>
</IF>
<IF>
<CONDITION>Len(Transaction.Comment)</CONDITION>
<THEN>
<ROW>"Comment:|" Transaction.Comment </ROW>
</THEN>
</IF>
</TABLE>
<!--
===========================
Store Logo
===========================
-->
<IF>
<CONDITION> ShowLogo </CONDITION>
<THEN>
<PICTURE>
<FILENAME> LogoFilename </FILENAME>
<WIDTH> PageWidth * 0.15 </WIDTH>
<LEFT> MarginLeft </LEFT>
<TOP> MarginTop + 0.1 </TOP>
</PICTURE>
</THEN>
</IF>
</SUB>
<SUB name="DrawHeaderForGift">
<TABLE>
<TOP> MarginTop </TOP>
<FONT> "Large" </FONT>
<BORDER> tbNone </BORDER>
<COLUMNHEADER>
<ALIGNMENT> "<~" </ALIGNMENT>
<IF>
<CONDITION> ShowLogo </CONDITION>
<THEN>
<WIDTH> PageWidth * 0.15 </WIDTH>
</THEN>
<ELSE>
<WIDTH> 0.001 </WIDTH>
</ELSE>
</IF>
<TEXT newline="true"></TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> "<~" </ALIGNMENT>
<IF><CONDITION> ShowLogo </CONDITION>
<THEN><WIDTH> PageWidth * 0.45 </WIDTH></THEN>
<ELSE><WIDTH> PageWidth * 0.60 </WIDTH></ELSE>
</IF>
<IF><CONDITION> ShowStoreInfo </CONDITION>
<THEN><TEXT> Store.Name </TEXT></THEN>
<ELSE><TEXT> "" </TEXT></ELSE>
</IF>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> ">~" </ALIGNMENT>
<WIDTH> PageWidth * 0.40 </WIDTH>
<TEXT> Transaction.ReceiptName </TEXT>
</COLUMNHEADER>
</TABLE>
<!--
===========================
Store Address & trans. info
===========================
-->
<TABLE>
<BORDER> tbNone </BORDER>
<COLUMNHEADER>
<ALIGNMENT> "<~" </ALIGNMENT>
<IF>
<CONDITION> ShowLogo </CONDITION>
<THEN><WIDTH> PageWidth * 0.15 </WIDTH></THEN>
<ELSE><WIDTH> 0.001 </WIDTH></ELSE>
</IF>
<TEXT newline="true"></TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> "<~" </ALIGNMENT>
<IF><CONDITION> ShowLogo </CONDITION>
<THEN><WIDTH> PageWidth * 0.45 </WIDTH></THEN>
<ELSE><WIDTH> PageWidth * 0.60 </WIDTH></ELSE>
</IF>
<IF><CONDITION> ShowStoreInfo </CONDITION>
<THEN><TEXT> Store.Address1 </TEXT></THEN>
<ELSE><TEXT> "" </TEXT></ELSE>
</IF>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> "<~" </ALIGNMENT>
<WIDTH> PageWidth * 0.20 </WIDTH>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> "<~" </ALIGNMENT>
<WIDTH> PageWidth * 0.20 </WIDTH>
</COLUMNHEADER>
<IF><CONDITION> ShowStoreInfo </CONDITION>
<THEN>
<ROW> "|" Store.CityStateZip "|" Transaction.ReceiptTransactionNumberCaption ":|" Transaction.ReceiptTransactionNumber </ROW>
<ROW> "|" Store.Fax "|Page:|\p of \t" </ROW>
</THEN>
<ELSE>
<ROW> "||" Transaction.ReceiptTransactionNumberCaption ":|" Transaction.ReceiptTransactionNumber </ROW>
<ROW> "||Page:|\p of \t" </ROW>
</ELSE>
</IF>
<ROW> "||Date:|" Transaction.Date </ROW>
<ROW> "||Time:|" Transaction.Time </ROW>
<ROW> "||Cashier:|" Cashier.Number </ROW>
<ROW> "||Register #:|" Register.Number </ROW>
<ROW></ROW>
</TABLE>
<TABLE>
<BORDER> tbNone </BORDER>
<COLUMNHEADER>
<ALIGNMENT> "<~" </ALIGNMENT>
<WIDTH> PageWidth * 0.15 </WIDTH>
<TEXT> "" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> "<~" </ALIGNMENT>
<WIDTH> PageWidth * 0.85 </WIDTH>
<TEXT> "" </TEXT>
</COLUMNHEADER>
<IF>
<CONDITION>Len(Transaction.Comment)</CONDITION>
<THEN>
<ROW>"Reference:|" Transaction.ReferenceNumber </ROW>
</THEN>
</IF>
<IF>
<CONDITION>Len(Transaction.Comment)</CONDITION>
<THEN>
<ROW>"Comment:|" Transaction.Comment </ROW>
</THEN>
</IF>
</TABLE>
<!--
===========================
Store Logo
===========================
-->
<IF>
<CONDITION> ShowLogo </CONDITION>
<THEN>
<PICTURE>
<FILENAME> LogoFilename </FILENAME>
<WIDTH> PageWidth * 0.15 </WIDTH>
<LEFT> MarginLeft </LEFT>
<TOP> MarginTop + 0.1 </TOP>
</PICTURE>
</THEN>
</IF>
</SUB>
<!--
===========================
Draw Footer
===========================
-->
<SUB name="DrawFooter">
<MARGIN>
<BOTTOM> MarginBottom </BOTTOM>
</MARGIN>
<TABLE>
<TOP> PaperHeight - MarginBottom - FooterHeight </TOP>
<FONT> "Small" </FONT>
<BORDER> tbNone </BORDER>
<COLUMNHEADER>
<ALIGNMENT> "<~" </ALIGNMENT>
<WIDTH> PageWidth </WIDTH>
<TEXT></TEXT>
</COLUMNHEADER>
<ROW> "Continued on next page..." </ROW>
</TABLE>
</SUB>
<!--
===========================
Draw Last Footer
===========================
-->
<SUB name="DrawLastFooter">
<MARGIN>
<BOTTOM> MarginBottom </BOTTOM>
</MARGIN>
<TABLE>
<TOP> PaperHeight - MarginBottom - FooterHeight </TOP>
<FONT> "Small" </FONT>
<BORDER> tbNone </BORDER>
<HEADERSHADE> LineColor </HEADERSHADE>
<COLUMNHEADER>
<ALIGNMENT> ">~" </ALIGNMENT>
<WIDTH> PageWidth </WIDTH>
<TEXT> " " </TEXT>
</COLUMNHEADER>
</TABLE>
<IF>
<CONDITION>Transaction.Type = transactionSales | Transaction.Type = transactionWorkOrder | Transaction.Type = transactionQuote | Transaction.Type = transactionBackOrder | Transaction.Type = transactionLayaway</CONDITION>
<THEN>
<TABLE>
<FONT> "Small" </FONT>
<BORDER> tbNone </BORDER>
<COLUMNHEADER>
<ALIGNMENT> ">~" </ALIGNMENT>
<WIDTH> PageWidth * 0.85 </WIDTH>
<TEXT> "Sub Total" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> ">~" </ALIGNMENT>
<WIDTH> PageWidth * 0.15 </WIDTH>
<TEXT> Transaction.SubTotal </TEXT>
</COLUMNHEADER>
<IF>
<CONDITION> ShowTaxDetails </CONDITION>
<THEN>
<FOR each="SalesTaxes">
<IF>
<CONDITION> Transaction.SalesTaxes.ShowOnReceipt & Transaction.SalesTaxes.IsTransactionMember </CONDITION>
<THEN>
<ROW> Transaction.SalesTaxes.Description "|" Transaction.SalesTaxes.Total </ROW>
</THEN>
</IF>
</FOR>
</THEN>
<ELSE>
<ROW> "Sales Tax|" Transaction.SalesTax </ROW>
</ELSE>
</IF>
<IF>
<CONDITION> Len(Shipping.Carrier) </CONDITION>
<THEN>
<ROW> Shipping.Carrier " " Shipping.Service "|" Shipping.Charge </ROW>
<IF>
<CONDITION> Len(Shipping.Notes) </CONDITION>
<THEN>
<ROW> Shipping.Notes "|" </ROW>
</THEN>
</IF>
<IF>
<CONDITION> Len(Shipping.TrackingNumber) </CONDITION>
<THEN>
<ROW> Shipping.TrackingNumber "|" </ROW>
</THEN>
</IF>
</THEN>
</IF>
<IF>
<CONDITION> Transaction.DebitSurcharge </CONDITION>
<THEN>
<ROW> "Debit Surcharges|" Transaction.DebitSurcharge </ROW>
</THEN>
</IF>
<IF>
<CONDITION> Transaction.CashBackSurcharge </CONDITION>
<THEN>
<ROW> "Cash Back Surcharges|" Transaction.CashBackSurcharge </ROW>
</THEN>
</IF>
<ROW> "Total|" Transaction.Total </ROW>
<ROW> " " </ROW>
<IF>
<CONDITION> (Transaction.TotalDue <> Transaction.Total) & (Transaction.Type <> transactionQuote) </CONDITION>
<THEN>
<ROW> "Deposit Payment|" Transaction.Deposit </ROW>
<ROW> "Total Purchased|" Transaction.TotalPurchased </ROW>
<ROW> "Total Due|" Transaction.TotalDue </ROW>
<ROW></ROW>
</THEN>
</IF>
<FOR each="tender">
<IF>
<CONDITION> (Tender.AmountIn <> 0) | (Tender.AmountInRounding <> 0) </CONDITION>
<THEN>
<IF>
<CONDITION> Tender.Descriptor.TenderType = tenderAccount </CONDITION>
<THEN>
<ROW> Tender.Descriptor.Description "|" Tender.AmountIn </ROW>
</THEN>
<ELSE>
<ROW> Tender.Descriptor.Description " Tendered|" Tender.AmountIn </ROW>
</ELSE>
</IF>
<IF>
<CONDITION> Tender.Descriptor.TenderType = tenderCreditCard | Tender.Descriptor.TenderType = tenderDebitCard </CONDITION>
<THEN>
<ROW> "Card: " Tender.AccountNumberMasked "|" </ROW>
<ROW> "Exp: " Tender.Expiration "|" </ROW>
<ROW> "Auth: " Tender.Approvalcode "|" </ROW>
</THEN>
</IF>
<IF>
<CONDITION> Tender.Descriptor.TenderType = tenderCreditCard & TENDER.ISBALANCE </CONDITION>
<THEN>
<ROW> "Available Balance|" TENDER.AvailableBalance </ROW>
</THEN>
</IF>
<IF>
<CONDITION> (Tender.Descriptor.TenderType = tenderAccount) & ShowAccountBalance </CONDITION>
<THEN>
<SET name="NewAccountBalance" type="vbcurrency"> Customer.AccountBalance + Tender.AmountIn - Tender.AmountOut </SET>
<ROW> "Previous Balance|" Customer.AccountBalance </ROW>
<ROW> "New Balance|" NewAccountBalance </ROW>
<ROW></ROW>
</THEN>
</IF>
<IF>
<CONDITION> Tender.Descriptor.TenderType = tenderVoucher </CONDITION>
<THEN>
<ROW> "Number:" Tender.VoucherNumber "|" </ROW>
<ROW> "Previous Balance|" Tender.VoucherPreviousBalance </ROW>
<ROW> "New Balance|" Tender.VoucherNewBalance </ROW>
<ROW></ROW>
</THEN>
</IF>
<IF>
<CONDITION> Tender.AmountInRounding <> 0 </CONDITION>
<THEN>
<ROW> "Roundoff " Tender.Descriptor.Description "|" Tender.AmountInRounding </ROW>
</THEN>
</IF>
</THEN>
</IF>
</FOR>
<IF>
<CONDITION> Transaction.TotalTenderOut </CONDITION>
<THEN>
<FOR each="tender">
<IF>
<CONDITION> Tender.AmountOut <> 0 | Tender.AmountOutRounding <> 0 </CONDITION>
<THEN>
<ROW> "Change " Tender.Descriptor.Description "|" Tender.AmountOut </ROW>
<IF>
<CONDITION> Tender.Descriptor.TenderType = tenderCreditCard | Tender.Descriptor.TenderType = tenderDebitCard </CONDITION>
<THEN>
<ROW> "Card: " Tender.AccountNumberMasked "|" </ROW>
<ROW> "Auth: " Tender.ApprovalCode "|" </ROW>
</THEN>
</IF>
<IF>
<CONDITION> (Tender.Descriptor.TenderType = tenderAccount) & ShowAccountBalance </CONDITION>
<THEN>
<SET name="NewAccountBalance" type="vbcurrency"> Customer.AccountBalance + Tender.AmountIn - Tender.AmountOut </SET>
<ROW> "Previous Balance|" Customer.AccountBalance </ROW>
<ROW> "New Balance|" NewAccountBalance </ROW>
<ROW></ROW>
</THEN>
</IF>
<IF>
<CONDITION> Tender.AmountOutRounding <> 0 </CONDITION>
<THEN>
<ROW> "Roundoff " Tender.Descriptor.Description "|" Tender.AmountOutRounding </ROW>
</THEN>
</IF>
<IF>
<CONDITION>TENDER.DESCRIPTOR.TENDERTYPE = tenderVoucher</CONDITION>
<THEN>
<ROW> Tender.Descriptor.TenderItemLookupCode ":" TENDER.VOUCHERNUMBER "|" </ROW>
<ROW> "Previous Balance|" Tender.VoucherPreviousBalance </ROW>
<ROW> "New Balance|" Tender.VoucherNewBalance </ROW>
<ROW></ROW>
</THEN>
</IF>
</THEN>
</IF>
</FOR>
</THEN>
<ELSE>
<ROW> "Change Due|" Transaction.TotalTenderOut </ROW>
</ELSE>
</IF>
<IF>
<CONDITION> (Transaction.TotalDue <> Transaction.Total) & (Transaction.Type <> transactionQuote) </CONDITION>
<THEN>
<ROW></ROW>
<ROW> "Remaining Deposit|" Transaction.DepositTotal </ROW>
<ROW> "New Balance|" Transaction.OrderBalanceNew </ROW>
</THEN>
</IF>
</TABLE>
</THEN>
</IF>
<IF>
<CONDITION> Transaction.Type = transactionAccountPayment </CONDITION>
<THEN>
<TABLE>
<FONT> "Small" </FONT>
<BORDER> tbNone </BORDER>
<COLUMNHEADER>
<ALIGNMENT> ">~" </ALIGNMENT>
<WIDTH> PageWidth * 0.85 </WIDTH>
<TEXT> "Total Payments" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> ">~" </ALIGNMENT>
<WIDTH> PageWidth * 0.15 </WIDTH>
<TEXT> Customer.AccountReceivables.TotalPayments </TEXT>
</COLUMNHEADER>
<IF>
<CONDITION> Customer.AccountReceivables.AppliedCredits <> 0 </CONDITION>
<THEN>
<ROW> "Applied Credit|" Customer.AccountReceivables.AppliedCredits </ROW>
</THEN>
</IF>
<FOR each="tender">
<IF>
<CONDITION> Tender.AmountIn <> 0 </CONDITION>
<THEN>
<ROW> "Paid " Tender.Descriptor.Description "|" Tender.AmountIn </ROW>
<IF>
<CONDITION> Tender.Descriptor.TenderType = tenderCreditCard | Tender.Descriptor.TenderType = tenderDebitCard </CONDITION>
<THEN>
<ROW> "Card: " Tender.AccountNumberMasked "|" </ROW>
<ROW> "Exp: " Tender.Expiration "|" </ROW>
<ROW> "Auth: " Tender.ApprovalCode "|" </ROW>
</THEN>
</IF>
<IF>
<CONDITION> Tender.AmountInRounding <> 0 </CONDITION>
<THEN>
<ROW> "RoundOff " Tender.Descriptor.Description "|" Tender.AmountInRounding </ROW>
</THEN>
</IF>
</THEN>
</IF>
</FOR>
<FOR each="tender">
<IF>
<CONDITION> Tender.AmountOut <> 0 </CONDITION>
<THEN>
<ROW> "Paid " Tender.Descriptor.Description "|" Tender.AmountOut </ROW>
<IF>
<CONDITION> Tender.Descriptor.TenderType = tenderCreditCard | Tender.Descriptor.TenderType = tenderDebitCard </CONDITION>
<THEN>
<ROW> "Card: " Tender.AccountNumberMasked "|" </ROW>
<ROW> "Auth: " Tender.ApprovalCode "|" </ROW>
</THEN>
</IF>
<IF>
<CONDITION> Tender.AmountOutRounding <> 0 </CONDITION>
<THEN>
<ROW> "RoundOff " Tender.Descriptor.Description "|" Tender.AmountOutRounding </ROW>
</THEN>
</IF>
</THEN>
</IF>
</FOR>
<ROW></ROW>
<ROW> "Previous Balance|" Customer.PreviousAccountBalance </ROW>
<ROW> "Payments|" Customer.AccountReceivables.TotalPayments </ROW>
<ROW> "New Balance|" Customer.AccountBalance </ROW>
<ROW></ROW>
</TABLE>
</THEN>
</IF>
<IF>
<CONDITION> ShowComments </CONDITION>
<THEN>
<TABLE>
<BORDER> tbAll </BORDER>
<TOP>PaperHeight - MarginBottom - FooterHeight + 0.2</TOP>
<COLUMNHEADER>
<ALIGNMENT>"^"</ALIGNMENT>
<WIDTH>PageWidth * 0.40</WIDTH>
<TEXT newline="true"></TEXT>
<TEXT newline="true"> CommentLine1 </TEXT>
<TEXT newline="true">CommentLine2</TEXT>
<TEXT newline="true">CommentLine3</TEXT>
<TEXT newline="true">CommentLine4</TEXT>
<TEXT newline="true">CommentLine5</TEXT>
<TEXT newline="true"></TEXT>
<TEXT newline="true"></TEXT>
</COLUMNHEADER>
</TABLE>
</THEN>
</IF>
<!--
===========================
Barcode
===========================
-->
<IF>
<CONDITION> ShowBarcode & (Transaction.ReceiptTransactionNumber <> 0) </CONDITION>
<THEN>
<BARCODE>
<TOP> PaperHeight - MarginBottom - 0.5 </TOP>
<STYLE> msS3of9 </STYLE>
<UPCNOTCHES> msUPCNBelow </UPCNOTCHES>
<LEFT> MarginLeft </LEFT>
<WIDTH> PageWidth * .40 </WIDTH>
<HEIGHT> 0.2 </HEIGHT>
<PRINTCAPTION> True </PRINTCAPTION>
<BARWIDTH> 0 </BARWIDTH>
<TEXT> Transaction.ReceiptTransactionNumber </TEXT>
</BARCODE>
</THEN>
</IF>
</SUB>
<!--
===========================
Draw Last Footer
===========================
-->
<SUB name="DrawLastFooterforgift">
<MARGIN>
<BOTTOM> MarginBottom </BOTTOM>
</MARGIN>
<TABLE>
<TOP> PaperHeight - MarginBottom - FooterHeight </TOP>
<FONT> "Small" </FONT>
<BORDER> tbNone </BORDER>
<HEADERSHADE> LineColor </HEADERSHADE>
<COLUMNHEADER>
<ALIGNMENT> ">~" </ALIGNMENT>
<WIDTH> PageWidth </WIDTH>
<TEXT> " " </TEXT>
</COLUMNHEADER>
</TABLE>
<IF>
<CONDITION> ShowComments </CONDITION>
<THEN>
<TABLE>
<BORDER> tbAll </BORDER>
<TOP>PaperHeight - MarginBottom - FooterHeight + 0.2</TOP>
<COLUMNHEADER>
<ALIGNMENT>"^"</ALIGNMENT>
<WIDTH>PageWidth * 0.40</WIDTH>
<TEXT newline="true"></TEXT>
<TEXT newline="true">GiftReceiptCommentLine1</TEXT>
<TEXT newline="true">GiftReceiptCommentLine2</TEXT>
<TEXT newline="true">GiftReceiptCommentLine3</TEXT>
<TEXT newline="true">GiftReceiptCommentLine4</TEXT>
<TEXT newline="true">GiftReceiptCommentLine5</TEXT>
<TEXT newline="true"></TEXT>
<TEXT newline="true"></TEXT>
</COLUMNHEADER>
</TABLE>
</THEN>
</IF>
<!--
===========================
Barcode
===========================
-->
<IF>
<CONDITION> (Transaction.ReceiptTransactionNumber <> 0) </CONDITION>
<THEN>
<BARCODE>
<TOP> PaperHeight - MarginBottom - 0.5 </TOP>
<STYLE> msS3of9 </STYLE>
<UPCNOTCHES> msUPCNBelow </UPCNOTCHES>
<LEFT> MarginLeft </LEFT>
<WIDTH> PageWidth * .40 </WIDTH>
<HEIGHT> 0.2 </HEIGHT>
<PRINTCAPTION> True </PRINTCAPTION>
<BARWIDTH> 0 </BARWIDTH>
<TEXT> Transaction.ReceiptTransactionNumber </TEXT>
</BARCODE>
</THEN>
</IF>
</SUB>
<!--
===========================
Draw Duplicate
===========================
-->
<SUB name="DrawDuplicate">
<MARGIN>
<BOTTOM> MarginBottom </BOTTOM>
<TOP> MarginTop </TOP>
</MARGIN>
<TABLE>
<TOP> PaperHeight / 2 </TOP>
<FONT> "Huge" </FONT>
<BORDER> tbNone </BORDER>
<COLUMNHEADER>
<ALIGNMENT> "^~" </ALIGNMENT>
<WIDTH> PageWidth </WIDTH>
<TEXT>"DUPLICATE RECEIPT"</TEXT>
</COLUMNHEADER>
</TABLE>
</SUB>
<SUB name="OverlayFirstPage">
<CALL> "DrawHeader" </CALL>
<CALL> "DrawFooter" </CALL>
</SUB>
<SUB name="OverlayMiddlePage">
<CALL> "DrawHeader" </CALL>
<CALL> "DrawFooter" </CALL>
</SUB>
<SUB name="OverlayLastPage">
<CALL> "DrawHeader" </CALL>
<CALL> "DrawLastFooter" </CALL>
</SUB>
<SUB name="OverlayOnlyPage">
<CALL> "DrawHeader" </CALL>
<CALL> "DrawLastFooter" </CALL>
</SUB>
<SUB name="Duplicate">
<IF>
<CONDITION> ShowDuplicate </CONDITION>
<THEN>
<CALL> "DrawDuplicate" </CALL>
</THEN>
</IF>
</SUB>
<!--
===========================
Document
===========================
-->
<!-- <DOCUMENT> -->
<SUB name="TransactionDetail">
<!--
===========================
Drop & Payout
===========================
-->
<IF>
<CONDITION> Transaction.Type = transactionDrop | Transaction.Type = transactionPayOut </CONDITION>
<THEN>
<TABLE>
<TOP> HeaderHeight + MarginTop </TOP>
<BORDER> tbNone </BORDER>
<HEADERSHADE> LineColor </HEADERSHADE>
<COLUMNHEADER>
<ALIGNMENT> ">" </ALIGNMENT>
<WIDTH> PageWidth * 0.50 </WIDTH>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> "<" </ALIGNMENT>
<WIDTH> PageWidth * 0.50 </WIDTH>
</COLUMNHEADER>
<ROW></ROW>
<IF>
<CONDITION> Transaction.Type = transactionPayout </CONDITION>
<THEN>
<ROW> "Pay To:|" Transaction.PayOutRecipient </ROW>
</THEN>
</IF>
<ROW> "Comment:|" Transaction.Comment </ROW>
<ROW></ROW>
<FOR each="tender">
<IF>
<CONDITION> Tender.AmountOut <> 0 </CONDITION>
<THEN>
<ROW> "Amount Out (" Tender.Descriptor.Description "):|" Tender.AmountOut </ROW>
</THEN>
</IF>
</FOR>
<ROW></ROW>
<FOR each="tender">
<IF>
<CONDITION> Tender.AmountIn <> 0 </CONDITION>
<THEN>
<ROW> "Amount In (" Tender.Descriptor.Description "):|" Tender.AmountIn </ROW>
</THEN>
</IF>
</FOR>
</TABLE>
</THEN>
</IF>
<!--
============================
Account Payment - Receivable date
============================
-->
<IF>
<CONDITION> (Transaction.Type = transactionAccountPayment) & (Customer.AccountDateDueType = accountdueAccountReceivableDatePlusGracePeriod) </CONDITION>
<THEN>
<TABLE>
<TOP> HeaderHeight + MarginTop </TOP>
<FONT> "Small" </FONT>
<BORDER> tbNone </BORDER>
<HEADERSHADE> LineColor </HEADERSHADE>
<COLUMNHEADER>
<ALIGNMENT> "<" </ALIGNMENT>
<WIDTH> PageWidth * 0.25 </WIDTH>
<TEXT> "Reference" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> ">" </ALIGNMENT>
<WIDTH> PageWidth * 0.15 </WIDTH>
<TEXT> "Invoice Date:" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> ">" </ALIGNMENT>
<WIDTH> PageWidth * 0.15 </WIDTH>
<TEXT> "Due Date:" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> ">" </ALIGNMENT>
<WIDTH> PageWidth * 0.15 </WIDTH>
<TEXT> "Invoice Amount:" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> ">" </ALIGNMENT>
<WIDTH> PageWidth * 0.15 </WIDTH>
<TEXT> "Balance Due:" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> ">" </ALIGNMENT>
<WIDTH> PageWidth * 0.15 </WIDTH>
<TEXT> "Payment:" </TEXT>
</COLUMNHEADER>
<FOR each="AccountReceivable">
<IF>
<CONDITION> (Customer.AccountReceivable.Payment <> 0) | (Customer.AccountReceivable.Balance <> 0) </CONDITION>
<THEN>
<ROW> Customer.AccountReceivable.Reference "|" Customer.AccountReceivable.OriginalDate "|" Customer.AccountReceivable.DueDate "|" Customer.AccountReceivable.OriginalAmount "|" Customer.AccountReceivable.Balance "|" Customer.AccountReceivable.Payment </ROW>
</THEN>
</IF>
</FOR>
</TABLE>
</THEN>
</IF>
<!--
============================
Account Payment - Revolving
============================
-->
<IF>
<CONDITION> (Transaction.Type = transactionAccountPayment) & (Customer.AccountDateDueType = accountdueCloseOfBillingCyclePlusGracePeriod) </CONDITION>
<THEN>
<TABLE>
<TOP> HeaderHeight + MarginTop </TOP>
<FONT> "Small" </FONT>
<BORDER> tbNone </BORDER>
<HEADERSHADE> LineColor </HEADERSHADE>
<COLUMNHEADER>
<ALIGNMENT> "<" </ALIGNMENT>
<WIDTH> PageWidth </WIDTH>
<TEXT> "" </TEXT>
</COLUMNHEADER>
<ROW> "Payment on Account..." </ROW>
</TABLE>
</THEN>
</IF>
<!--
===========================
Transaction Details
===========================
-->
<IF>
<CONDITION> Transaction.Type = transactionSales | Transaction.Type = transactionWorkOrder | Transaction.Type = transactionQuote | Transaction.Type = transactionBackOrder | Transaction.Type = transactionLayaway | Transaction.Type = transactionAbortedTransaction </CONDITION>
<THEN>
<TABLE>
<TOP> HeaderHeight + MarginTop </TOP>
<FONT> "Small" </FONT>
<BORDER> tbNone </BORDER>
<HEADERSHADE> LineColor </HEADERSHADE>
<COLUMNHEADER>
<ALIGNMENT> "<" </ALIGNMENT>
<WIDTH> PageWidth * 0.11 </WIDTH>
<TEXT> "Rep" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> "<~" </ALIGNMENT>
<WIDTH> PageWidth * 0.20 </WIDTH>
<TEXT> "Item Lookup Code" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> "<" </ALIGNMENT>
<WIDTH> PageWidth * 0.30 </WIDTH>
<TEXT> "Description" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> ">" </ALIGNMENT>
<WIDTH> PageWidth * 0.12 </WIDTH>
<TEXT> "Quantity" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> ">" </ALIGNMENT>
<WIDTH> PageWidth * 0.12 </WIDTH>
<TEXT> "Price" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> ">" </ALIGNMENT>
<WIDTH> PageWidth * 0.15 </WIDTH>
<TEXT> "Extended" </TEXT>
</COLUMNHEADER>
<FOR each="Entry">
<IF>
<CONDITION> ShowLineDiscounts & (Entry.ExtendedDiscount <> 0)</CONDITION>
<THEN>
<IF>
<CONDITION> (Receipt.TaxSystem = taxsystemVAT) & (Entry.Taxable = 0) </CONDITION>
<THEN>
<SET name="ExtendedExclsvPricePlusDiscount" type="vbcurrency"> Entry.ExtendedExclsvPrice + Entry.ExtendedDiscount</SET>
<SET name="PricePlusDiscount" type="vbcurrency"> Entry.Price + Entry.Discount</SET>
<ROW> Entry.SalesRep.Number "|" Entry.Item.ItemLookupCode "|" Entry.Description "|" Entry.Quantity "|" PricePlusDiscount "|" ExtendedExclsvPricePlusDiscount </ROW>
</THEN>
<ELSE>
<ROW> Entry.SalesRep.Number "|" Entry.Item.ItemLookupCode "|" Entry.Description "|" Entry.Quantity "|" Entry.FullPrice "|" Entry.ExtendedFullPrice </ROW>
</ELSE>
</IF>
<IF>
<CONDITION> Entry.DiscountNegative <> 0 </CONDITION>
<THEN>
<ROW> "||Discount||" Entry.DiscountNegative "|" Entry.ExtendedDiscountNegative </ROW>
</THEN>
</IF>
</THEN>
<ELSE>
<IF>
<CONDITION> (Receipt.TaxSystem = taxsystemVAT) & (Entry.Taxable = 0) </CONDITION>
<THEN>
<ROW> Entry.SalesRep.Number "|" Entry.Item.ItemLookupCode "|" Entry.Description "|" Entry.Quantity "|" Entry.Price "|" Entry.ExtendedExclsvPrice </ROW>
</THEN>
<ELSE>
<ROW> Entry.SalesRep.Number "|" Entry.Item.ItemLookupCode "|" Entry.Description "|" Entry.Quantity "|" Entry.Price "|" Entry.ExtendedPrice </ROW>
</ELSE>
</IF>
</ELSE>
</IF>
<IF>
<CONDITION> Entry.Item.ItemType = itemtypeVoucher</CONDITION>
<THEN>
<IF>
<CONDITION> Len(ENTRY.SERIALIZED.NUMBER1) </CONDITION>
<THEN>
<ROW> "| |New Balance :" ENTRY.NEWBALANCE </ROW>
</THEN>
</IF>
</THEN>
</IF>
<IF>
<CONDITION> ((Entry.QuantityOnOrder <> 0) | (Entry.QuantityRTD <> 0)) & (Transaction.Type <> transactionQuote) </CONDITION>
<THEN>
<ROW> "||Quantity RTD:|" Entry.QuantityRTD " ||" </ROW>
<ROW> "||Quantity On Order:|" Entry.QuantityOnOrder " ||" </ROW>
<ROW> "||Quantity Picked Up:|" Entry.QuantityPurchased " ||" </ROW>
<ROW> </ROW>
</THEN>
</IF>
</FOR>
</TABLE>
<!--
===========================
Canceled Transaction
===========================
-->
<IF>
<CONDITION> Transaction.Type = transactionAbortedTransaction </CONDITION>
<THEN>
<TABLE>
<BORDER> tbNone </BORDER>
<COLUMNHEADER>
<ALIGNMENT> "<~" </ALIGNMENT>
<WIDTH> PageWidth </WIDTH>
</COLUMNHEADER>
<ROW> "" </ROW>
<ROW> "Transaction cancelled..." </ROW>
<ROW> "" </ROW>
<ROW> "" </ROW>
</TABLE>
</THEN>
</IF>
</THEN>
</IF>
</SUB>
<SUB name="TransactionDetailGift">
<!--
===========================
Transaction Details
===========================
-->
<IF>
<CONDITION> Transaction.Type = transactionSales | Transaction.Type = transactionWorkOrder | Transaction.Type = transactionQuote | Transaction.Type = transactionBackOrder | Transaction.Type = transactionLayaway | Transaction.Type = transactionAbortedTransaction </CONDITION>
<THEN>
<TABLE>
<TOP> HeaderHeight + MarginTop </TOP>
<FONT> "Small" </FONT>
<BORDER> tbNone </BORDER>
<HEADERSHADE> LineColor </HEADERSHADE>
<COLUMNHEADER>
<ALIGNMENT> "<" </ALIGNMENT>
<WIDTH> PageWidth * 0.11 </WIDTH>
<TEXT> "Rep" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> "<~" </ALIGNMENT>
<WIDTH> PageWidth * 0.20 </WIDTH>
<TEXT> "Item Lookup Code" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> "<" </ALIGNMENT>
<WIDTH> PageWidth * 0.30 </WIDTH>
<TEXT> "Description" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> ">" </ALIGNMENT>
<WIDTH> PageWidth * 0.30 </WIDTH>
<TEXT> "Quantity" </TEXT>
</COLUMNHEADER>
<FOR each="Entry">
<IF>
<CONDITION> ((Entry.QuantityOnOrder <> 0) | (Entry.QuantityRTD <> 0)) </CONDITION>
<THEN>
<ROW> Entry.SalesRep.Number "|" Entry.Item.ItemLookupCode "|" Entry.Description "|" Entry.QuantityPurchased </ROW>
</THEN>
<ELSE>
<ROW> Entry.SalesRep.Number "|" Entry.Item.ItemLookupCode "|" Entry.Description "|" Entry.Quantity </ROW>
</ELSE>
</IF>
</FOR>
</TABLE>
</THEN>
</IF>
</SUB>
<DOCUMENT>
<CALL> "TransactionDetail" </CALL>
</DOCUMENT>
</XML>
*This post is locked for comments