|
Posted by Rob F.ùجrë,Љìš'+¢ÊµÊ& on June 7, 2005, 8:55 am
Please log in for more thread options Actually I found a more generic way of doing this, It works in most cases.:
<COLUMNHEADER>
<ALIGNMENT> ">~" </ALIGNMENT>
<IF>
<CONDITION> Customer.ChargeAccount = TRUE</CONDITION>
<THEN><WIDTH> PageWidth * 0.40 </WIDTH>
<TEXT> "INVOICE" </TEXT></THEN>
<ELSE><WIDTH> PageWidth * 0.40 </WIDTH>
<TEXT> Transaction.ReceiptTransactionName </TEXT></ELSE>
</IF>
</COLUMNHEADER>
"Glenn Adams [MVP - Retail Mgmt]" wrote:
> Well, you could try putting the whole receipt inside a for loop, but you'll
> probably end up getting multiple copies of the receipt.
>
> You could also potentially build a COM add-in that would manipulate either
> the receipt format or the active printer based on the selected tenders.
>
> Unfortunately, there's not really a simple way to get just this one little
> change. Look at the way the default template handles Credit Card Slips-
> maybe that will give you some ideas.
>
>
> --
> Glenn Adams
> Tiber Creek Consulting
> http://www.tibercreek.com
> glenn@tibercreek.com
> ----------------------------------------------
> Please DO NOT respond to me directly but post all responses here in the
> newsgroup so that all can share the information
>
>
>
> > Do I have any other options?
> >
> > "Glenn Adams [MVP - Retail Mgmt]" wrote:
> >
> >> Tender is only valid within a "FOR EACH Tender" Construct...
> >>
> >> --
> >> Glenn Adams
> >> Tiber Creek Consulting
> >> http://www.tibercreek.com
> >> glenn@tibercreek.com
> >> ----------------------------------------------
> >> Please DO NOT respond to me directly but post all responses here in the
> >> newsgroup so that all can share the information
> >>
> >>
> >>
> >> >I have been making receipts for over a year and I have the following
> >> >code
> >> > which I thought would print the receipt type in the top right of a full
> >> > page
> >> > receipt (which it does) except for when it is an "On Account" order
> >> > type
> >> > where if my statement made sense, it would print INVOICE in the corner
> >> > instead; it is however still printing Sales Receipt for an On Account
> >> > ticket;
> >> > any suggesstions?
> >> >
> >> > <BORDER> tbNone </BORDER>
> >> > <COLUMNHEADER>
> >> > <ALIGNMENT> ">~" </ALIGNMENT>
> >> > <IF>
> >> > <CONDITION> Tender.Descriptor.TenderType = tenderAccount </CONDITION>
> >> > <THEN><WIDTH> PageWidth * 0.40 </WIDTH>
> >> > <TEXT> "INVOICE" </TEXT></THEN>
> >> > <ELSE><WIDTH> PageWidth * 0.40 </WIDTH>
> >> > <TEXT> Transaction.ReceiptTransactionName </TEXT></ELSE>
> >> > </IF>
> >> > </COLUMNHEADER>
> >>
> >>
> >>
>
>
>
|