Skip to content
Snippets Groups Projects
Commit 225d3501 authored by Marco Folco's avatar Marco Folco
Browse files

Merge branch 'SOF-90-Quitar_cantidad_prestaciones' into '12.0-stage'

[MOD] benefit report template

See merge request !108
parents f8e55ff8 c3658695
No related branches found
No related tags found
1 merge request!108[MOD] benefit report template
......@@ -31,6 +31,7 @@
<t t-foreach="records[lot_number][insurance]" t-as="professional">
<t t-foreach="records[lot_number][insurance][professional]" t-as="descriptor">
<t t-set="record_count" t-value="record_count+len(records[lot_number][insurance][professional][descriptor])"/>
<t t-set="descriptor_str" t-value="records[lot_number][insurance][professional][descriptor][0]['descriptor']"/>
<t t-foreach="records[lot_number][insurance][professional][descriptor]" t-as="benefit">
<table class="table table-sm o_main_table" style="table-layout:fixed;font-size:0.8em;">
<tr>
......@@ -42,10 +43,10 @@
<td style="width:10%;"><span t-esc="benefit['lens']"/></td>
</tr>
</table>
<hr style="height:1px;border-width:0;color:gainsboro;background-color:gainsboro;"/>
<p style="text-align:right;font-size:0.8em;">Descriptors applied by <strong t-esc="professional"/> through <strong t-esc="insurance"/> for <strong t-esc="benefit['descriptor']"/> = <strong t-esc="len(records[lot_number][insurance][professional][descriptor])"/></p>
<hr style="height:1px;border-width:0;color:black;background-color:black;"/>
</t>
<hr style="height:1px;border-width:0;color:gainsboro;background-color:gainsboro;"/>
<p style="text-align:right;font-size:0.8em;">Descriptors applied by <strong t-esc="professional"/> through <strong t-esc="insurance"/> for <strong t-esc="descriptor_str"/> = <strong t-esc="len(records[lot_number][insurance][professional][descriptor])"/></p>
<hr style="height:1px;border-width:0;color:black;background-color:black;"/>
</t>
</t>
</t>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment