2018-03-19 10:43:43 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<flectra>
|
|
|
|
<template id="stock_ageing_report.stock_ageing_report_template">
|
|
|
|
<t t-call="web.html_container">
|
|
|
|
<t t-call="web.external_layout">
|
|
|
|
<div class="page">
|
|
|
|
<h3>
|
|
|
|
<center>Stock Ageing Report</center>
|
|
|
|
</h3>
|
|
|
|
<br/>
|
|
|
|
<div>
|
|
|
|
<table class="table">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td><b>Company: </b></td>
|
|
|
|
<td t-foreach="data['company']" t-as="company_id">
|
|
|
|
<span t-esc="company_id.name"/>
|
|
|
|
</td>
|
|
|
|
<td><b>Period Length(days): </b></td>
|
|
|
|
<td t-foreach="data['period_length']" t-as="period_length">
|
|
|
|
<span t-esc="period_length"/>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2018-08-21 08:54:37 +02:00
|
|
|
<td><b>Branch: </b></td>
|
2018-03-19 10:43:43 +01:00
|
|
|
<td t-foreach="data['branch']" t-as="branch_id">
|
|
|
|
<span t-esc="branch_id.name"/>
|
|
|
|
</td>
|
|
|
|
<td><b>Date: </b></td>
|
|
|
|
<td t-foreach="data['date']" t-as="date">
|
|
|
|
<span t-esc="date"/>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><b>Warehouse: </b></td>
|
|
|
|
<td t-foreach="data['warehouse']" t-as="warehouse_id">
|
|
|
|
<span t-esc="warehouse_id"/>
|
|
|
|
</td>
|
|
|
|
<td><b>Location: </b></td>
|
|
|
|
<td t-foreach="data['location']" t-as="location_id">
|
|
|
|
<span t-esc="location_id"/>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><b>Product Category: </b></td>
|
|
|
|
<td t-foreach="data['product_category']" t-as="product_category_id">
|
|
|
|
<span t-esc="product_category_id"/>
|
|
|
|
</td>
|
|
|
|
<td></td>
|
|
|
|
<td></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<br/>
|
|
|
|
<table class="table table-condensed"
|
|
|
|
style="border-bottom: 0px solid white !important;">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Products</th>
|
|
|
|
<th t-foreach="data['period_list']" t-as="period">
|
|
|
|
<span t-esc="period"/>
|
|
|
|
</th>
|
2018-08-21 08:54:37 +02:00
|
|
|
<th>Total Qty</th>
|
|
|
|
<th>Total Cost</th>
|
2018-03-19 10:43:43 +01:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr t-foreach="data['product_list']" t-as="product">
|
|
|
|
<td>
|
|
|
|
<span t-esc="product['product_id']"/>
|
|
|
|
</td>
|
|
|
|
<td t-foreach="product['qty_period_list']" t-as="qty">
|
|
|
|
<span t-esc="qty"/>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<span t-esc="product['qty_available']"/>
|
|
|
|
</td>
|
2018-08-21 08:54:37 +02:00
|
|
|
<td>
|
|
|
|
<span t-esc="product['total_amount']"/>
|
|
|
|
</td>
|
2018-03-19 10:43:43 +01:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</t>
|
|
|
|
</t>
|
|
|
|
</template>
|
|
|
|
</flectra>
|