Hi All,
Does anyone have a Custom or Modified Sales Receipt that has the total number of items sold at the bottom of the receipt?
If not... Do you know how to add this to the bottom of the receipt?
This would be an easy way for the cashier to quick count the items at the checkout and verify them once the sales receipt has been printed by matching that number with the bottom of the receipt for verification...
Any and all Help is Much Appreciated.
Thank you in Advance...
*This post is locked for comments
Here is the solution for reference if anyone else would ever encounter this same problem in the future...
<XML>
<PROPERTIES>
<DESCRIPTION> Receipt - 40 column </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"> 2.75 </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 </SET>
<SET name="MarginRight" custom="true" description="Margin Right" type="vbdouble"> 0 </SET>
<SET name="MarginTop" custom="true" description="Margin Top" type="vbdouble"> 0 </SET>
<SET name="MarginBottom" custom="true" description="Margin Bottom" type="vbdouble"> 0 </SET>
<SET name="PaperCutPercent" custom="true" description="Paper Cut Percent (OPOS)" type="vbLong"> 100 </SET>
<SET name="CharacterSet" custom="true" description="Character Set (OPOS)" type="vbLong"> 437 </SET>
<SET name="PrintReceipt" custom="true" description="Print to Receipt (OPOS)" type="vbBoolean"> True </SET>
<SET name="PrintJournal" custom="true" description="Print to Journal (OPOS)" type="vbBoolean"> True </SET>
<SET name="PrintSlip" custom="true" description="Print to Slip (OPOS)" type="vbBoolean"> False </SET>
<SET name="ShowHeaderLogo" custom="true" description="Show Header Logo" type="vbBoolean">False</SET>
<SET name="ShowFooterLogo" custom="true" description="Show Footer Logo" type="vbBoolean"> False </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">False</SET>
<SET name="ShowTotalDiscounts" custom="true" description="Show Total Discounts" 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"> True </SET>
<SET name="ShowVAT" custom="true" description="Show VAT" type="vbBoolean"> True </SET>
<SET name="ShowFullVAT" custom="true" description="Show Full VAT" type="vbBoolean"> True </SET>
<SET name="ShowAccountBalance" custom="true" description="Show Customer Account Balances" type="vbBoolean"> True </SET>
<SET name="ShowCCSignature" custom="true" description="Show C.C. Signature" type="vbBoolean"> True </SET>
<SET name="CCPaperCutPercent" custom="true" description="CC Paper Cut Percent (OPOS)" type="vbLong"> 75 </SET>
<SET name="ShowBarcode" custom="true" description="Show Barcode" type="vbBoolean"> True </SET>
<SET name="ShowDuplicateBefore" custom="true" description="Show Duplicate At Top" type="vbBoolean"> True </SET>
<SET name="ShowDuplicateAfter" custom="true" description="Show Duplicate At Bottom" type="vbBoolean"> True </SET>
<SET name="MaskCreditCard" custom="true" description="Mask Credit Card Number" type="vbBoolean"> True </SET>
<SET name="FooterLine1" custom="true" description="Footer Line 1" type="vbString"> "Thank you for shopping" </SET>
<SET name="FooterLine2" custom="true" description="Footer Line 2" type="vbString"> Store.Name </SET>
<SET name="FooterLine3" custom="true" description="Footer Line 3" type="vbString"> "We hope you'll come back soon!" </SET>
<SET name="FooterLine4" custom="true" description="Footer Line 4" type="vbString"> </SET>
<SET name="FooterLine5" custom="true" description="Footer Line 5" type="vbString"> </SET>
<SET name="LogoHeader" custom="true" description="Logo Filename (Header)" type="vbString"> </SET>
<SET name="LogoFooter" custom="true" description="Logo Filename (Footer)" type="vbString"> </SET>
<!--
===========================
Variable Declarations
===========================
-->
<SET name="PageWidth" type="vbdouble"> PaperWidth - MarginLeft - MarginRight </SET>
<SET name="PageHeight" type="vbdouble"> PaperHeight - MarginTop - MarginBottom </SET>
<SET name="NewAccountBalance" type="vbcurrency"> 0 </SET>
<SET name="SigAmountOut" type="vbcurrency"> 0 </SET>
<!--
===========================
Page Settings
===========================
-->
<OPOS>
<CHARACTERSET> CharacterSet </CHARACTERSET>
<PAPERCUTPERCENT> PaperCutPercent </PAPERCUTPERCENT>
<PRINTRECEIPT> PrintReceipt </PRINTRECEIPT>
<PRINTJOURNAL> PrintJournal </PRINTJOURNAL>
<PRINTSLIP> PrintSlip </PRINTSLIP>
</OPOS>
<MARGIN>
<COPIES> ReceiptCount </COPIES>
<TOP> MarginTop </TOP>
<BOTTOM> MarginBottom </BOTTOM>
<LEFT> MarginLeft </LEFT>
<RIGHT> MarginRight </RIGHT>
</MARGIN>
<!--
===========================
Page Settings
===========================
-->
<FONT name="">
<NAME> "Arial" </NAME>
<SIZE> 9 </SIZE>
<BOLD> False </BOLD>
<UNDERLINE> False </UNDERLINE>
<ITALIC> False </ITALIC>
<COLOR> vbBlack </COLOR>
<CPL> 44 </CPL>
</FONT>
<FONT name="Small">
<NAME> "Arial" </NAME>
<SIZE> 7 </SIZE>
<BOLD> False </BOLD>
<UNDERLINE> False </UNDERLINE>
<ITALIC> False </ITALIC>
<COLOR> vbBlack </COLOR>
<CPL> 44 </CPL>
</FONT>
<FONT name="Large">
<NAME> "Arial" </NAME>
<SIZE> 12 </SIZE>
<BOLD> True </BOLD>
<UNDERLINE> False </UNDERLINE>
<ITALIC> False </ITALIC>
<COLOR> vbBlack </COLOR>
<REVERSE> True </REVERSE>
<SCALEH> 2 </SCALEH>
<CPL> 30 </CPL>
</FONT>
<!--
=============================
SUB: PrintHeader
=============================
-->
<SUB name="PrintHeader">
<!-- Print Header Logo -->
<IF>
<CONDITION> ShowHeaderLogo </CONDITION>
<THEN>
<PICTURE>
<FILENAME> LogoHeader </FILENAME>
<WIDTH> PageWidth </WIDTH>
<LEFT> MarginLeft </LEFT>
<HEIGHT> 0 </HEIGHT>
</PICTURE>
</THEN>
</IF>
<!-- Print Store Information -->
<TABLE>
<BORDER> TBNone </BORDER>
<COLUMNHEADER>
<ALIGNMENT> "^" </ALIGNMENT>
<WIDTH> PageWidth </WIDTH>
</COLUMNHEADER>
<IF>
<CONDITION> ShowStoreInfo </CONDITION>
<THEN>
<ROW></ROW>
<IF><CONDITION> Len(Store.Name) </CONDITION>
<THEN><ROW> Store.Name </ROW></THEN>
</IF>
<IF><CONDITION> Len(Store.Address1) </CONDITION>
<THEN><ROW> Store.Address1 </ROW></THEN>
</IF>
<IF><CONDITION> Len(Store.Address2) </CONDITION>
<THEN><ROW> Store.Address2 </ROW></THEN>
</IF>
<IF><CONDITION> Len(Store.CityStateZip) </CONDITION>
<THEN><ROW> Store.CityStateZip </ROW></THEN>
</IF>
<IF><CONDITION> Len(Store.Phone) </CONDITION>
<THEN><ROW> Store.Phone </ROW></THEN>
</IF>
<IF><CONDITION> Len(Store.Fax) </CONDITION>
<THEN><ROW> Store.Fax </ROW></THEN>
</IF>
</THEN>
</IF>
<ROW></ROW>
</TABLE>
</SUB>
<!--
=============================
SUB: PrintFooter
=============================
-->
<SUB name="PrintFooter">
<!-- Print Footer Lines -->
<TABLE>
<BORDER> TBNone </BORDER>
<COLUMNHEADER>
<ALIGNMENT> "^~" </ALIGNMENT>
<WIDTH> PageWidth </WIDTH>
<IF>
<CONDITION> Len(FooterLine1) </CONDITION>
<THEN>
<TEXT> FooterLine1 </TEXT>
</THEN>
</IF>
</COLUMNHEADER>
<IF>
<CONDITION> Len(FooterLine2) </CONDITION>
<THEN>
<ROW> FooterLine2 </ROW>
</THEN>
</IF>
<IF>
<CONDITION> Len(FooterLine3) </CONDITION>
<THEN>
<ROW> FooterLine3 </ROW>
</THEN>
</IF>
<IF>
<CONDITION> Len(FooterLine4) </CONDITION>
<THEN>
<ROW> FooterLine4 </ROW>
</THEN>
</IF>
<IF>
<CONDITION> Len(FooterLine5) </CONDITION>
<THEN>
<ROW> FooterLine5 </ROW>
</THEN>
</IF>
</TABLE>
<!-- Print Footer Logo -->
<IF>
<CONDITION> ShowFooterLogo </CONDITION>
<THEN>
<PICTURE>
<FILENAME> LogoFooter </FILENAME>
<WIDTH> PageWidth </WIDTH>
<LEFT> MarginLeft </LEFT>
<HEIGHT> 0 </HEIGHT>
</PICTURE>
</THEN>
</IF>
</SUB>
<!--
=============================
SUB: PrintCreditCard
=============================
-->
<SUB name="PrintCreditCardSlip">
<IF>
<CONDITION> ShowCCSignature & (Transaction.Type <> transactionAbortedTransaction) </CONDITION>
<THEN>
<FOR each="tender">
<IF>
<CONDITION> (Tender.AmountIn <> 0 | Tender.AmountOut <> 0) & (Tender.Descriptor.RequireSig | Tender.Descriptor.TenderType = tenderCreditCard) </CONDITION>
<THEN>
<CALL> "PrintHeader" </CALL>
<!-- show transaction date/time/number -->
<TABLE>
<BORDER> TBNone </BORDER>
<FONT> "Small" </FONT>
<COLUMNHEADER>
<ALIGNMENT> "<~" </ALIGNMENT>
<WIDTH> PageWidth * 0.50 </WIDTH>
<TEXT> "" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> "<~" </ALIGNMENT>
<WIDTH> PageWidth * 0.50 </WIDTH>
<TEXT> "" </TEXT>
</COLUMNHEADER>
<IF>
<CONDITION> Transaction.ReceiptReferenceNumber </CONDITION>
<THEN>
<ROW> Transaction.ReceiptReferenceNumberCaption ":|" Transaction.ReceiptReferenceNumber </ROW>
</THEN>
</IF>
<ROW> Transaction.ReceiptTransactionNumberCaption ":|" Transaction.ReceiptTransactionNumber </ROW>
<IF>
<CONDITION> Len(Customer.AccountNumber) </CONDITION>
<THEN>
<ROW> "Account #:|" Customer.AccountNumber </ROW>
</THEN>
</IF>
<ROW> "Date: " Transaction.Date "|Time: " Transaction.Time </ROW>
<ROW> "Cashier: " Cashier.Number "|Register #: " Register.Number </ROW>
<ROW/>
</TABLE>
<SET name="SigAmountOut" type="vbcurrency"> Tender.AmountOut * -1.0 </SET>
<TABLE>
<BORDER> TBNone </BORDER>
<FONT> "Small" </FONT>
<COLUMNHEADER>
<ALIGNMENT> "<~" </ALIGNMENT>
<WIDTH> PageWidth </WIDTH>
</COLUMNHEADER>
<ROW> Tender.Descriptor.Description " " Tender.AccountNumber </ROW>
<IF><CONDITION> Tender.Descriptor.TenderType = tenderCreditCard </CONDITION>
<THEN><ROW> "AUTH: " Tender.ApprovalCode </ROW> </THEN>
</IF>
<IF><CONDITION> Tender.AmountOut > Tender.AmountIn </CONDITION>
<THEN>
<ROW> "AMOUNT: " SigAmountOut </ROW> <!-- Tender.AmountOut -->
</THEN>
<ELSE> <ROW> "AMOUNT: " Tender.AmountIn </ROW> </ELSE>
</IF>
<ROW></ROW>
<ROW></ROW>
<ROW></ROW>
<ROW></ROW>
<ROW> "X__________________________________" </ROW>
<ROW> "I AGREE TO PAY ABOVE TOTAL AMOUNT" </ROW>
<ROW> "ACCORDING TO CARD ISSUER AGREEMENT" </ROW>
<ROW></ROW>
<ROW></ROW>
</TABLE>
<CALL> "PrintFooter" </CALL>
<NEWPAGE>
<PAPERCUTPERCENT> CCPaperCutPercent </PAPERCUTPERCENT>
</NEWPAGE>
</THEN>
</IF>
</FOR>
</THEN>
</IF>
</SUB>
<!--
=============================
SUB: PrintTransactionType
=============================
-->
<SUB name="PrintTransactionType">
<TABLE>
<FONT> "Large" </FONT>
<BORDER> TBNone </BORDER>
<COLUMNHEADER>
<ALIGNMENT> "^~" </ALIGNMENT>
<WIDTH> PageWidth </WIDTH>
<TEXT> Transaction.ReceiptTransactionName </TEXT>
</COLUMNHEADER>
</TABLE>
<TABLE>
<BORDER> TBNone </BORDER>
<COLUMNHEADER>
<ALIGNMENT> "<~" </ALIGNMENT>
<WIDTH> PageWidth * 0.50 </WIDTH>
<TEXT> "" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> "<~" </ALIGNMENT>
<WIDTH> PageWidth * 0.50 </WIDTH>
<TEXT> "" </TEXT>
</COLUMNHEADER>
<IF>
<CONDITION> Transaction.ReceiptReferenceNumber </CONDITION>
<THEN>
<ROW> Transaction.ReceiptReferenceNumberCaption ":|" Transaction.ReceiptReferenceNumber </ROW>
</THEN>
</IF>
<ROW> Transaction.ReceiptTransactionNumberCaption ":|" Transaction.ReceiptTransactionNumber </ROW>
<IF>
<CONDITION> Len(Customer.AccountNumber) </CONDITION>
<THEN>
<ROW> "Account #:|" Customer.AccountNumber </ROW>
</THEN>
</IF>
<ROW> "Date: " Transaction.Date "|Time: " Transaction.Time </ROW>
<ROW> "Cashier: " Cashier.Number "|Register #: " Register.Number </ROW>
<ROW/>
</TABLE>
</SUB>
<!--
=============================
SUB: PrintCustomerData
=============================
-->
<SUB name="PrintCustomerData">
<IF>
<CONDITION> (Customer.ID <> 0) & (ShowCustomerAddress) </CONDITION>
<THEN>
<TABLE>
<BORDER> TBNone </BORDER>
<COLUMNHEADER>
<ALIGNMENT> "<~" </ALIGNMENT>
<WIDTH> PageWidth * 0.30 </WIDTH>
<TEXT> "ACCOUNT:" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> "<" </ALIGNMENT>
<WIDTH> PageWidth * 0.70 </WIDTH>
<TEXT> Customer.AccountNumber </TEXT>
</COLUMNHEADER>
<ROW>
<COLUMNDATA>
<TEXT> "BILL TO:" </TEXT>
</COLUMNDATA>
<COLUMNDATA>
<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>
</COLUMNDATA>
</ROW>
<ROW></ROW>
<ROW>
<COLUMNDATA>
<TEXT> "SHIP TO:" </TEXT>
</COLUMNDATA>
<COLUMNDATA>
<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>
</COLUMNDATA>
</ROW>
</TABLE>
</THEN>
</IF>
</SUB>
<!--
=============================
SUB: PrintTransactionComment
=============================
-->
<SUB name="PrintTransactionComment">
<IF>
<CONDITION> Transaction.Type <> transactionDrop & Transaction.Type <> transactionPayOut </CONDITION>
<THEN>
<IF>
<CONDITION> Len(Transaction.Comment) </CONDITION>
<THEN>
<TABLE>
<BORDER> TBNone </BORDER>
<COLUMNHEADER>
<ALIGNMENT> "^" </ALIGNMENT>
<WIDTH> PageWidth </WIDTH>
<IF>
<CONDITION> Len(Transaction.ReferenceNumber) </CONDITION>
<THEN>
<TEXT> "Reference: " Transaction.ReferenceNumber </TEXT>
</THEN>
</IF>
</COLUMNHEADER>
<ROW>
<COLUMNDATA>
<TEXT skipblank="true" newline="true"> Transaction.Comment </TEXT>
</COLUMNDATA>
</ROW>
<ROW></ROW>
</TABLE>
</THEN>
</IF>
</THEN>
</IF>
</SUB>
<!--
=============================
SUB: PrintDropPayOut
=============================
-->
<SUB name="PrintDropPayout">
<IF>
<CONDITION> Transaction.Type = transactionDrop | Transaction.Type = transactionPayOut </CONDITION>
<THEN>
<TABLE>
<BORDER> TBNone </BORDER>
<COLUMNHEADER>
<ALIGNMENT> < </ALIGNMENT>
<WIDTH> PageWidth * 0.30 </WIDTH>
<IF>
<CONDITION> Transaction.Type = transactionPayout </CONDITION>
<THEN>
<TEXT newline="true"> "To:" </TEXT>
</THEN>
</IF>
<TEXT newline="true"> "Comment:" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> < </ALIGNMENT>
<WIDTH> PageWidth * 0.70 </WIDTH>
<IF>
<CONDITION> Transaction.Type = transactionPayout </CONDITION>
<THEN>
<TEXT newline="true"> Transaction.PayOutRecipient </TEXT>
</THEN>
</IF>
<TEXT newline="true"> Transaction.Comment </TEXT>
</COLUMNHEADER>
<ROW></ROW>
</TABLE>
<TABLE>
<BORDER> tbTop </BORDER>
<COLUMNHEADER>
<ALIGNMENT> "<~" </ALIGNMENT>
<WIDTH> PageWidth * 0.40 </WIDTH>
<TEXT> "Tender Type" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> ">~" </ALIGNMENT>
<WIDTH> PageWidth * 0.30 </WIDTH>
<TEXT> "In" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> ">~" </ALIGNMENT>
<WIDTH> PageWidth * 0.30 </WIDTH>
<TEXT> "Out" </TEXT>
</COLUMNHEADER>
<FOR each="tender">
<IF>
<CONDITION> (Tender.AmountIn <> 0) | (Tender.AmountOut <> 0) </CONDITION>
<THEN>
<ROW>
Tender.Descriptor.Description "|" Tender.AmountIn "|" Tender.AmountOut
</ROW>
</THEN>
</IF>
</FOR>
<ROW></ROW>
</TABLE>
</THEN>
</IF>
</SUB>
<SUB name="PrintAccountPayment">
<!--
=============================
Account Payment
=============================
-->
<IF>
<CONDITION> (Transaction.Type = transactionAccountPayment) </CONDITION>
<THEN>
<!--
Account Payment - Receivable date
-->
<IF>
<CONDITION> (Customer.AccountDateDueType = accountdueAccountReceivableDatePlusGracePeriod) </CONDITION>
<THEN>
<TABLE>
<BORDER> TBNone </BORDER>
<COLUMNHEADER>
<ALIGNMENT> "<" </ALIGNMENT>
<WIDTH> PageWidth * .42 </WIDTH>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> ">" </ALIGNMENT>
<WIDTH> PageWidth * .29 </WIDTH>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> ">" </ALIGNMENT>
<WIDTH> PageWidth * .29 </WIDTH>
</COLUMNHEADER>
<FOR each="accountreceivable">
<IF>
<CONDITION> (Customer.AccountReceivable.Payment <> 0) | (Customer.AccountReceivable.Balance <> 0) </CONDITION>
<THEN>
<ROW> "Payment||" Customer.AccountReceivable.Payment </ROW>
<ROW> " Reference|" Customer.AccountReceivable.Reference </ROW>
<ROW> " Inv. Date|" Customer.AccountReceivable.OriginalDate </ROW>
<ROW> " Due Date|" Customer.AccountReceivable.DueDate </ROW>
<ROW> " Orig. Amt.|" Customer.AccountReceivable.OriginalAmount </ROW>
<ROW> " Prev. Bal.|" Customer.AccountReceivable.PreviousBalance </ROW>
<ROW> " New Bal.|" Customer.AccountReceivable.Balance </ROW>
<ROW>
</ROW>
</THEN>
</IF>
</FOR>
</TABLE>
</THEN>
</IF>
<TABLE>
<BORDER> TBNone </BORDER>
<COLUMNHEADER>
<ALIGNMENT> ">~" </ALIGNMENT>
<WIDTH> PageWidth * .71 </WIDTH>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> ">~" </ALIGNMENT>
<WIDTH> PageWidth * .29 </WIDTH>
</COLUMNHEADER>
<ROW> "Total Payments|" Customer.AccountReceivables.TotalPayments </ROW>
<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>
</THEN>
</IF>
<IF>
<CONDITION> Tender.AmountInRounding <> 0 </CONDITION>
<THEN>
<ROW> "Rounding " Tender.Descriptor.Description "|" Tender.AmountInRounding </ROW>
</THEN>
</IF>
</FOR>
<FOR each="tender">
<IF>
<CONDITION> Tender.AmountOut <> 0 </CONDITION>
<THEN>
<ROW> "CHANGE " Tender.Descriptor.Description "|" Tender.AmountOut </ROW>
</THEN>
</IF>
<IF>
<CONDITION> Tender.AmountOutRounding <> 0 </CONDITION>
<THEN>
<ROW> "Rounding " Tender.Descriptor.Description "|" Tender.AmountOutRounding </ROW>
</THEN>
</IF>
</FOR>
<ROW></ROW>
</TABLE>
</THEN>
</IF>
</SUB>
<SUB name="PrintTransactionDetails">
<!--
=============================
Transaction Details
=============================
-->
<IF>
<CONDITION> Transaction.Type <> transactionDrop & Transaction.Type <> transactionPayout & Transaction.Type <> transactionNoSale & Transaction.Type <> transactionAccountPayment </CONDITION>
<THEN>
<TABLE>
<FONT> "Small" </FONT>
<BORDER> TBNone </BORDER>
<COLUMNHEADER>
<ALIGNMENT> "<~" </ALIGNMENT>
<WIDTH> PageWidth * 0.19 </WIDTH>
<TEXT> "Quantity" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> "<~" </ALIGNMENT>
<WIDTH> PageWidth * 0.52 </WIDTH>
<TEXT> "Description" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> ">~" </ALIGNMENT>
<WIDTH> PageWidth * 0.29 </WIDTH>
<TEXT> "Amount" </TEXT>
</COLUMNHEADER>
<ROW> "========================|=============================|=================" </ROW>
<FOR each="entry">
<IF>
<CONDITION> ShowLineDiscounts & (Entry.ExtendedDiscountPurchased <> 0) </CONDITION>
<THEN>
<ROW> Entry.Quantity "|" Entry.Description "|" Entry.ExtendedFullPrice </ROW>
<IF>
<CONDITION> Len(Entry.Comment) <> 0 </CONDITION>
<THEN>
<ROW> "| " Entry.Comment "|" </ROW>
<ROW> </ROW>
</THEN>
</IF>
<IF>
<CONDITION> Entry.ExtendedDiscountNegative <> 0 </CONDITION>
<THEN>
<ROW> "|Discount|" Entry.ExtendedDiscountNegative </ROW>
</THEN>
</IF>
</THEN>
<ELSE>
<ROW> Entry.Quantity "|" Entry.Description "|" Entry.ExtendedPrice </ROW>
<IF>
<CONDITION> Len(Entry.Comment) <> 0 </CONDITION>
<THEN>
<ROW> "| " Entry.Comment "|" </ROW>
<ROW> </ROW>
</THEN>
</IF>
</ELSE>
</IF>
<IF>
<CONDITION> Entry.Item.ItemType = itemtypeWeighed </CONDITION>
<THEN>
<ROW> "|" Entry.Quantity "" Entry.Item.UnitOfMeasure " @ " Entry.Price "/" Entry.Item.UnitOfMeasure "|" </ROW>
<IF>
<CONDITION> Entry.WeightFromScale = 0 </CONDITION>
<THEN>
<ROW> "|Manual Weight|" </ROW>
</THEN>
</IF>
</THEN>
<ELSE>
<IF>
<CONDITION> Entry.Quantity <> 1 </CONDITION>
<THEN>
<ROW> "|" Entry.Quantity " @ " Entry.Price "|" </ROW>
</THEN>
</IF>
</ELSE>
</IF>
<IF>
<CONDITION> ((Entry.QuantityOnOrder <> 0) | (Entry.QuantityRTD <> 0)) & (Transaction.Type <> transactionQuote) </CONDITION>
<THEN>
<ROW> "|RTD:|" Entry.QuantityRTD " " </ROW>
<ROW> "|On Order:|" Entry.QuantityOnOrder " " </ROW>
<ROW> "|Picked up:|" Entry.QuantityPurchased " " </ROW>
<ROW> "||" </ROW>
</THEN>
</IF>
</FOR>
</TABLE>
</THEN>
</IF>
</SUB>
<SUB name="PrintTransactionTotals">
<!--
=============================
Transaction Totals
=============================
-->
<IF>
<CONDITION> Transaction.Type <> transactionDrop & Transaction.Type <> transactionPayout & Transaction.Type <> transactionNoSale & Transaction.Type <> transactionAccountPayment </CONDITION>
<THEN>
<IF>
<CONDITION> Transaction.Type <> transactionAbortedTransaction </CONDITION>
<THEN>
<TABLE>
<FONT> "Small" </FONT>
<BORDER> TBNone </BORDER>
<COLUMNHEADER>
<ALIGNMENT> ">~" </ALIGNMENT>
<WIDTH> PageWidth * 0.71 </WIDTH>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> ">~" </ALIGNMENT>
<WIDTH> PageWidth * 0.29 </WIDTH>
<TEXT> "==================" </TEXT>
</COLUMNHEADER>
<ROW> "Sub Total|" Transaction.SubTotal </ROW>
<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> Shipping.Charge </CONDITION>
<THEN>
<ROW> Shipping.Carrier "|" Shipping.Charge </ROW>
<ROW> Shipping.Service "|" </ROW>
<ROW> Shipping.TrackingNumber "|" </ROW>
</THEN>
</IF>
<ROW> "Total|" Transaction.Total </ROW>
<ROW></ROW>
<IF>
<CONDITION> (Transaction.TotalDue <> Transaction.Total) </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 </CONDITION>
<THEN>
<IF>
<CONDITION> MaskCreditCard </CONDITION>
<THEN>
<ROW> "Card: " Tender.AccountNumberMasked "|" </ROW>
</THEN>
<ELSE>
<ROW> "Card: " Tender.AccountNumber "|" </ROW>
</ELSE>
</IF>
<ROW> "Auth: " Tender.ApprovalCode "|" </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.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.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 </CONDITION>
<THEN>
<IF>
<CONDITION> MaskCreditCard </CONDITION>
<THEN>
<ROW> "Card: " Tender.AccountNumberMasked "|" </ROW>
</THEN>
<ELSE>
<ROW> "Card: " Tender.AccountNumber "|" </ROW>
</ELSE>
</IF>
<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>
</THEN>
</IF>
</FOR>
</THEN>
<ELSE>
<ROW> "Change Due|" Transaction.TotalTenderOut </ROW>
</ELSE>
</IF>
<IF>
<CONDITION> (Transaction.TotalDue <> Transaction.Total) </CONDITION>
<THEN>
<ROW></ROW>
<ROW> "Remaining Deposit|" Transaction.DepositTotal </ROW>
<ROW> "New Balance|" Transaction.OrderBalanceNew </ROW>
</THEN>
</IF>
<ROW></ROW>
<ROW> "Total # of Items Purchased|" Transaction.totalquantity </ROW>
<ROW></ROW>
</TABLE>
</THEN>
<ELSE>
<TABLE>
<FONT> "Small" </FONT>
<BORDER> TBNone </BORDER>
<COLUMNHEADER>
<ALIGNMENT> "<~" </ALIGNMENT>
<WIDTH> PageWidth </WIDTH>
</COLUMNHEADER>
<ROW></ROW>
<ROW> "Transaction cancelled..." </ROW>
<ROW></ROW>
<ROW></ROW>
</TABLE>
</ELSE>
</IF>
</THEN>
</IF>
</SUB>
<SUB name="PrintVATAnalysis">
<!--
=============================
VAT Analysis
=============================
-->
<IF>
<CONDITION> (Transaction.Type <> transactionAbortedTransaction) & (Transaction.SubtotalPurchased <> 0) & (ShowVAT) & (Receipt.TaxSystem = taxsystemVAT) </CONDITION>
<THEN>
<IF>
<CONDITION> ShowFullVAT </CONDITION>
<THEN>
<TABLE>
<BORDER> TBNone </BORDER>
<COLUMNHEADER>
<ALIGNMENT> "^~" </ALIGNMENT>
<WIDTH> PageWidth </WIDTH>
</COLUMNHEADER>
<ROW>
</ROW>
<ROW>
</ROW>
<ROW> "_____________________________" </ROW>
<ROW> "VAT Analysis" </ROW>
<ROW>
</ROW>
</TABLE>
</THEN>
</IF>
<TABLE>
<BORDER> TBNone </BORDER>
<COLUMNHEADER>
<ALIGNMENT> "<~" </ALIGNMENT>
<WIDTH> PageWidth </WIDTH>
<TEXT> "VAT Number: " Store.VATRegistrationNumber </TEXT>
</COLUMNHEADER>
</TABLE>
<IF>
<CONDITION> ShowFullVAT </CONDITION>
<THEN>
<TABLE>
<BORDER> tbTop </BORDER>
<FONT> "Small" </FONT>
<COLUMNHEADER>
<ALIGNMENT> "<~" </ALIGNMENT>
<WIDTH> PageWidth * 0.16 </WIDTH>
<TEXT> "Rate" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> ">~" </ALIGNMENT>
<WIDTH> PageWidth * 0.28 </WIDTH>
<TEXT> "Exclusive" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> ">~" </ALIGNMENT>
<WIDTH> PageWidth * 0.28 </WIDTH>
<TEXT> "Tax" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> ">~" </ALIGNMENT>
<WIDTH> PageWidth * 0.28 </WIDTH>
<TEXT> "Price" </TEXT>
</COLUMNHEADER>
<FOR each="entry">
<IF>
<CONDITION> Entry.QuantityPurchased </CONDITION>
<THEN>
<ROW> Entry.TaxRate "|" Entry.ExtendedExclsvPricePurchased "|" Entry.Tax "|" Entry.ExtendedPricePurchased </ROW>
</THEN>
</IF>
</FOR>
<ROW>
</ROW>
<ROW>
</ROW>
<ROW> "Total|" Transaction.TotalExclsvPurchased "|" Transaction.SalesTaxPurchased "|" Transaction.TotalPurchased </ROW>
<ROW>
</ROW>
</TABLE>
</THEN>
<ELSE>
<TABLE>
<BORDER> TBNone </BORDER>
<COLUMNHEADER>
<ALIGNMENT> ">~" </ALIGNMENT>
<WIDTH> PageWidth </WIDTH>
<TEXT> "VAT Total: " Transaction.SalesTaxPurchased </TEXT>
</COLUMNHEADER>
<ROW>
</ROW>
</TABLE>
</ELSE>
</IF>
<TABLE>
<BORDER> TBNone </BORDER>
<COLUMNHEADER>
<ALIGNMENT> "^~" </ALIGNMENT>
<WIDTH> PageWidth </WIDTH>
</COLUMNHEADER>
<ROW> "_____________________________" </ROW>
<ROW>
</ROW>
</TABLE>
</THEN>
</IF>
</SUB>
<SUB name="PrintDiscounts">
<!--
=============================
Discounts
=============================
-->
<IF>
<CONDITION> ShowTotalDiscounts & ((Transaction.Discount > 0) & (Transaction.Type <> transactionAbortedTransaction)) </CONDITION>
<THEN>
<TABLE>
<BORDER> TBNone </BORDER>
<FONT> "Large" </FONT>
<COLUMNHEADER>
<ALIGNMENT> "^~" </ALIGNMENT>
<WIDTH> PageWidth </WIDTH>
<TEXT> "You saved " Transaction.Discount "!" </TEXT>
</COLUMNHEADER>
<ROW></ROW>
</TABLE>
</THEN>
</IF>
</SUB>
<SUB name="PrintBarcode">
<!--
=============================
Barcode
=============================
-->
<IF>
<CONDITION> ShowBarcode & (Transaction.ReceiptTransactionNumber <> 0) </CONDITION>
<THEN>
<BARCODE>
<STYLE> msS3of9 </STYLE>
<UPCNOTCHES> msUPCNBelow </UPCNOTCHES>
<LEFT> MarginLeft + PageWidth * 0.30 </LEFT>
<WIDTH> PageWidth * .40 </WIDTH>
<HEIGHT> 0.2 </HEIGHT>
<PRINTCAPTION> True </PRINTCAPTION>
<BARWIDTH> 0 </BARWIDTH>
<TEXT> Transaction.ReceiptTransactionNumber </TEXT>
</BARCODE>
</THEN>
</IF>
</SUB>
<SUB name="PrintDuplicate">
<!--
=============================
PrintDuplicate
=============================
-->
<TABLE>
<BORDER> TBNone </BORDER>
<FONT> "Large" </FONT>
<COLUMNHEADER>
<ALIGNMENT> "^~" </ALIGNMENT>
<WIDTH> PageWidth </WIDTH>
<TEXT> "DUPLICATE RECEIPT" </TEXT>
</COLUMNHEADER>
<ROW></ROW>
</TABLE>
</SUB>
<SUB name="DuplicateBefore">
<!--
=============================
DuplicateBefore
=============================
-->
<IF>
<CONDITION> ShowDuplicateBefore </CONDITION>
<THEN>
<CALL> "PrintDuplicate" </CALL>
</THEN>
</IF>
</SUB>
<SUB name="DuplicateAfter">
<!--
=============================
DuplicateAfter
=============================
-->
<IF>
<CONDITION> ShowDuplicateAfter </CONDITION>
<THEN>
<CALL> "PrintDuplicate" </CALL>
</THEN>
</IF>
</SUB>
<!--
=============================
MAIN DOCUMENT
=============================
-->
<DOCUMENT>
<CALL> "PrintCreditCardSlip" </CALL>
<CALL> "PrintHeader" </CALL>
<CALL> "PrintTransactionType" </CALL>
<CALL> "PrintCustomerData" </CALL>
<CALL> "PrintTransactionComment" </CALL>
<CALL> "PrintDropPayout" </CALL>
<CALL> "PrintAccountPayment" </CALL>
<CALL> "PrintTransactionDetails" </CALL>
<CALL> "PrintTransactionTotals" </CALL>
<CALL> "PrintVATAnalysis" </CALL>
<CALL> "PrintDiscounts" </CALL>
<CALL> "PrintBarcode" </CALL>
<CALL> "PrintFooter" </CALL>
</DOCUMENT>
</XML>
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156