'If' condition with 'and'
XML:
<TOTAL_DUE>220</TOTAL_DUE>
<?if:number(TOTAL_DUE)<0?>
No payment is due, your account is up to date
<?end if?>
i did the below code as well and its working fine:
XML:
code:
<?xdofx:if instr(PAYINFO_OBJ,'cc')>0?>
PAYMENT IS DUE
<?end if?>
-----------------------------------------------------------------
NOW I WANT TO COMBINE BOTH THE STATEMENTS:
code:
<?if:((number(TOTAL_DUE)>0) AND xdofx:instr(PAYINFO_OBJ,'cc'))?>
PAYMENT IS DUE
<?end if?>
BUT ITS NOT WORKING, CAN ANY ONE HELP ME WITH THE SAME.