Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
12258 Lượt xem

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........

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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" ]]
Ảnh đại diện
Huỷ bỏ

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

Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 8 24
1036
0
thg 3 24
6
3
thg 5 16
3820
3
thg 9 24
19451
2
thg 3 24
2273