Discussion Forum: Thread 103103

 Author: melbourne_josh View Messages Posted By melbourne_josh
 Posted: Nov 7, 2010 18:40
 Subject: SUGGEST: NOT macro modifier
 Viewed: 105 times
 Topic: Suggestions
 Status:Open
 Vote:[Yes|No]
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

melbourne_josh (1474)

Location:  Australia, Victoria
Member Since Contact Type Status
Jul 4, 2006 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: Sculpture Supplies
I allow payment by multiple currencies in my store, and I allow bank deposit
as a payment method. I want to detect in my invoice if my customer has picked
a foreign currency as a payment currency and raise a flag (perhaps by inserting
*** ERROR: wrong currency *** into my invoice)

Please add a macro tag that negates the immediately following conditional
macro. If it is not immediately followed by a conditional macro tag, it has
no effect. For example: "That's the wrong
currency for a bank deposit" would have an effect if
and only if the currency code was AUD, "" would have no
effect, "" would display the payment type (the
NOT has no effect), " allowed" would only display " allowed" (the
NOT has no effect).

At the moment I can detect each non-local currency individually, but it would
be much less error-prone to say "if this currency do this. If not this currency,
do the other." Especially if one accepts dozens of currencies.

Other uses are: User wants urgent shipping but doesn't pick the instantaneous
payment type, or a customer picks currency that the store doesn't allow for locals
(e.g., locals can't pay in USD, only Kroner).