Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
12273 Переглядів

the value comes from payment method field if the payment_method field = "prepayment"

then this string have to print in rml reprot = "2946 W. Springer Ct., Mayfield, KY, 42066"

else

                   " 22586 ann arbor trail dearborn heits mi 48127"

Thanks........

Аватар
Відмінити
Найкраща відповідь

Try this in rml:

[[ (payment_method_field == "prepayment" and "2946 W. Springer Ct., Mayfield, KY, 42066") or "22586 ann arbor trail dearborn heits mi 48127" ]]
Аватар
Відмінити

Just for info : i needed to replace " with ' to make it run.

Найкраща відповідь

i 've same problem with u, Ali..but it's little bit different with my problem. i've condition that if total object of line item surpass my limit number, then the rest will be printed into another page.

Big appreciate for your response Thank you.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
серп. 24
1047
0
бер. 24
6
3
трав. 16
3823
3
вер. 24
19468
2
бер. 24
2278