Commit 30b62b75 by Michelle Yang

pet transaction report updated

parent bfabb938
......@@ -4,10 +4,30 @@
<t t-call="web.html_container">
<t t-foreach="docs" t-as="doc">
<t t-call="web.external_layout">
<h2>Pet Transaction (<t t-esc="doc.pet_transaction_id"/>)</h2>
<group>
Customer name: <t t-esc="doc.customer_id.name"/>
</group>
<h2>Pet Transaction</h2>
<h3><t t-esc="doc.pet_transaction_id"/></h3>
<table padding="15px">
<tr>
<td><b>Customer name:</b></td>
<td><t t-esc="doc.customer_id.name"/></td>
</tr>
<tr>
<td><b>Pet Shop:</b></td>
<td><t t-esc="doc.pet_shop_id.name"/></td>
</tr>
<tr>
<td><b>Pet:</b></td>
<td><t t-esc="doc.pet_id.name"/></td>
</tr>
<tr>
<td><b>Transaction Date:</b></td>
<td><t t-esc="doc.transaction_date"/></td>
</tr>
<tr>
<td><b>Price:</b></td>
<td><t t-esc="doc.price"/></td>
</tr>
</table>
</t>
</t>
</t>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment