โค้ด: เลือกทั้งหมด
<p><span><input type="checkbox" />Quotation(RFQ) </span></p>
โค้ด: เลือกทั้งหมด
t-field = "o.quotation"
if ยังไงบ้างครับ
Moderator: mindphp
โค้ด: เลือกทั้งหมด
<p><span><input type="checkbox" />Quotation(RFQ) </span></p>
โค้ด: เลือกทั้งหมด
t-field = "o.quotation"
code check boxthatsawan เขียน:เอา code เต็ม
t-field = "o.quotation" ใส่ไปอย่างไง
ต้องการผลอย่างไร
โค้ด: เลือกทั้งหมด
<td><p><span><input type="checkbox"/>Quotation(RFQ)</span></p></td>
โค้ด: เลือกทั้งหมด
checked="checked"
โค้ด: เลือกทั้งหมด
<t t-if="o.quotation" == 1>
<input checked="checked" type="checkbox"/>
</t>
โค้ด: เลือกทั้งหมด
<t t-if="o.quotation" == 0>
<input type="checkbox"/>
</t>
โค้ด: เลือกทั้งหมด
<span class="d-inline-block text-center o_thread_tooltip_snailmail">
<t t-if="status === 'sent'">
<i class='fa fa-check o_thread_tooltip_snailmail_icon' title="Sent" role="img" aria-label="Sent"/>
Sent
</t>
<t t-elif="status === 'canceled'">
<i class='fa fa-trash-o o_thread_tooltip_snailmail_icon' title="Canceled" role="img" aria-label="Canceled"/>
Canceled
</t>
<t t-elif="status === 'pending'">
<i class='fa fa-clock-o o_thread_tooltip_snailmail_icon' title="Awaiting Dispatch" role="img" aria-label="Awaiting Dispatch"/>
Awaiting Dispatch
</t>
<t t-else="">
<i class='fa fa-exclamation text-danger o_thread_tooltip_snailmail_icon' title="Error" role="img" aria-label="Error"/>
Error
</t>
</span>
สมาชิกกำลังดูบอร์ดนี้: ไม่มีสมาชิกใหม่ และบุคลทั่วไป 25