[TMP] Report Golem_member #9

Manually merged
fabien merged 15 commits from michel/GOLEM:michel_qweb_adherents into master 2018-03-08 16:19:22 +01:00
Showing only changes of commit d2d752992c - Show all commits

View File

@ -52,11 +52,31 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<xpath expr="//table[@id='table_activity_ref']" position="after">
<table class="table table-striped">
<thead><h1>Invoices</h1></thead>
<tr>
<th>Date</th>
<th>Number</th>
<th>Activity</th>
<th>Amount</th>
<th>State</th>
</tr>
<t t-foreach="docs" t-as="o">
<tr t-foreach="o.activity_registration_ids" t-as="l">
<td>
<spam t-field="l.invoice_id.date_invoice" />
</td>
<td>
<spam t-field="l.invoice_id.number" />
</td>
<td>
<spam t-field="l.invoice_line_id.product_id" />
</td>
<td>
<spam t-field="l.invoice_id.amount_total" />
</td>
<td>
<spam t-field="l.invoice_id.state" />
</td>
</tr>
</t>
</table>