Interchange Developer Resource


[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date ][Interchange by thread ]

[ic] [if] [/if] inside loop list HELP



I need to include a [if] [/if] inside loop list in the order_detail.html page.

somethink like this:

loop list="[scratch arg]"]
 <TABLE BORDER=0> [html-table fr='class="contentbar1"'] 
<B>ORDER NUMBER	 [scratch arg] 
....... 
...... 
<B>Payment Method 	[if [loop-data transactions payment_method] eq COD] 
			Cash on delivery 
[else]
 			[ loop-data transactions payment_method] 
[/else]
[/if]

I found [if-loop-data database fieldname] but only checks if it exists.


best regards Salvador Caballé

_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users


Search for: Match: Format: Sort by: