Commit 30b62b75 by Michelle Yang

pet transaction report updated

parent bfabb938
...@@ -4,10 +4,30 @@ ...@@ -4,10 +4,30 @@
<t t-call="web.html_container"> <t t-call="web.html_container">
<t t-foreach="docs" t-as="doc"> <t t-foreach="docs" t-as="doc">
<t t-call="web.external_layout"> <t t-call="web.external_layout">
<h2>Pet Transaction (<t t-esc="doc.pet_transaction_id"/>)</h2> <h2>Pet Transaction</h2>
<group> <h3><t t-esc="doc.pet_transaction_id"/></h3>
Customer name: <t t-esc="doc.customer_id.name"/> <table padding="15px">
</group> <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> </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