|
@ -74,28 +74,9 @@ |
|
|
</th> |
|
|
</th> |
|
|
</t> |
|
|
</t> |
|
|
</tr> |
|
|
</tr> |
|
|
<t t-foreach="data['datas']" t-as="value" |
|
|
<t t-foreach="data['datas'][0]['asset_cash'][0]" |
|
|
t-key="value_index"> |
|
|
|
|
|
<t t-if="value_index == 0"> |
|
|
|
|
|
<t t-foreach="value['asset_cash'][0]" |
|
|
|
|
|
t-as="datas" t-key="datas_index"> |
|
|
t-as="datas" t-key="datas_index"> |
|
|
<t t-set="account_name" |
|
|
|
|
|
t-value="datas['name']"/> |
|
|
|
|
|
<t t-set="account_value" t-value="0"/> |
|
|
|
|
|
<t t-foreach="data['datas']" |
|
|
|
|
|
t-as="values" |
|
|
|
|
|
t-key="values_index"> |
|
|
|
|
|
<t t-foreach="values['asset_cash'][0]" |
|
|
|
|
|
t-as="datas" t-key="datas_index"> |
|
|
|
|
|
<t t-if="account_name == datas['name']"> |
|
|
|
|
|
<t t-if="datas['amount'] != '0.00'"> |
|
|
<t t-if="datas['amount'] != '0.00'"> |
|
|
<t t-set="account_value" |
|
|
|
|
|
t-value="1"/> |
|
|
|
|
|
</t> |
|
|
|
|
|
</t> |
|
|
|
|
|
</t> |
|
|
|
|
|
</t> |
|
|
|
|
|
<t t-if="account_value == 1"> |
|
|
|
|
|
<tr style="border-bottom: 1px solid gainsboro;"> |
|
|
<tr style="border-bottom: 1px solid gainsboro;"> |
|
|
<th colspan="6" |
|
|
<th colspan="6" |
|
|
style="font-weight: normal;"> |
|
|
style="font-weight: normal;"> |
|
@ -103,17 +84,17 @@ |
|
|
<t t-esc="datas['name']"/> |
|
|
<t t-esc="datas['name']"/> |
|
|
</span> |
|
|
</span> |
|
|
</th> |
|
|
</th> |
|
|
|
|
|
<!-- Assuming you want to iterate over all values to display --> |
|
|
<t t-foreach="data['datas']" |
|
|
<t t-foreach="data['datas']" |
|
|
t-as="values" |
|
|
t-as="values" t-key="values_index"> |
|
|
t-key="values_index"> |
|
|
|
|
|
<t t-foreach="values['asset_cash'][0]" |
|
|
<t t-foreach="values['asset_cash'][0]" |
|
|
t-as="datas" |
|
|
t-as="account" |
|
|
t-key="datas_index"> |
|
|
t-key="account_index"> |
|
|
<t t-if="account_name == datas['name']"> |
|
|
<t t-if="account['name'] == datas['name']"> |
|
|
<th class="text-end" |
|
|
<th class="text-end" |
|
|
style="font-weight: normal;"> |
|
|
style="font-weight: normal;"> |
|
|
<span> |
|
|
<span> |
|
|
<t t-esc="datas['amount']"/> |
|
|
<t t-esc="account['amount']"/> |
|
|
</span> |
|
|
</span> |
|
|
</th> |
|
|
</th> |
|
|
</t> |
|
|
</t> |
|
@ -122,8 +103,6 @@ |
|
|
</tr> |
|
|
</tr> |
|
|
</t> |
|
|
</t> |
|
|
</t> |
|
|
</t> |
|
|
</t> |
|
|
|
|
|
</t> |
|
|
|
|
|
<tr style="border-bottom: 1px solid gainsboro;"> |
|
|
<tr style="border-bottom: 1px solid gainsboro;"> |
|
|
<th colspan="6" style="font-weight: normal;"> |
|
|
<th colspan="6" style="font-weight: normal;"> |
|
|
<span style="margin-left: 6%;">Receivables |
|
|
<span style="margin-left: 6%;">Receivables |
|
@ -162,12 +141,6 @@ |
|
|
</t> |
|
|
</t> |
|
|
<t t-if="account_value == 1"> |
|
|
<t t-if="account_value == 1"> |
|
|
<tr style="border-bottom: 1px solid gainsboro;"> |
|
|
<tr style="border-bottom: 1px solid gainsboro;"> |
|
|
<th colspan="6" |
|
|
|
|
|
style="font-weight: normal;"> |
|
|
|
|
|
<span style="margin-left: 8%;"> |
|
|
|
|
|
<t t-esc="datas['name']"/> |
|
|
|
|
|
</span> |
|
|
|
|
|
</th> |
|
|
|
|
|
<t t-foreach="data['datas']" |
|
|
<t t-foreach="data['datas']" |
|
|
t-as="values" |
|
|
t-as="values" |
|
|
t-key="values_index"> |
|
|
t-key="values_index"> |
|
@ -175,6 +148,12 @@ |
|
|
t-as="datas" |
|
|
t-as="datas" |
|
|
t-key="datas_index"> |
|
|
t-key="datas_index"> |
|
|
<t t-if="account_name == datas['name']"> |
|
|
<t t-if="account_name == datas['name']"> |
|
|
|
|
|
<th colspan="6" |
|
|
|
|
|
style="font-weight: normal;"> |
|
|
|
|
|
<span style="margin-left: 8%;"> |
|
|
|
|
|
<t t-esc="datas['name']"/> |
|
|
|
|
|
</span> |
|
|
|
|
|
</th> |
|
|
<th class="text-end" |
|
|
<th class="text-end" |
|
|
style="font-weight: normal;"> |
|
|
style="font-weight: normal;"> |
|
|
<span> |
|
|
<span> |
|
@ -228,12 +207,6 @@ |
|
|
</t> |
|
|
</t> |
|
|
<t t-if="account_value == 1"> |
|
|
<t t-if="account_value == 1"> |
|
|
<tr style="border-bottom: 1px solid gainsboro;"> |
|
|
<tr style="border-bottom: 1px solid gainsboro;"> |
|
|
<th colspan="6" |
|
|
|
|
|
style="font-weight: normal;"> |
|
|
|
|
|
<span style="margin-left: 8%;"> |
|
|
|
|
|
<t t-esc="datas['name']"/> |
|
|
|
|
|
</span> |
|
|
|
|
|
</th> |
|
|
|
|
|
<t t-foreach="data['datas']" |
|
|
<t t-foreach="data['datas']" |
|
|
t-as="values" |
|
|
t-as="values" |
|
|
t-key="values_index"> |
|
|
t-key="values_index"> |
|
@ -241,6 +214,12 @@ |
|
|
t-as="datas" |
|
|
t-as="datas" |
|
|
t-key="datas_index"> |
|
|
t-key="datas_index"> |
|
|
<t t-if="account_name == datas['name']"> |
|
|
<t t-if="account_name == datas['name']"> |
|
|
|
|
|
<th colspan="6" |
|
|
|
|
|
style="font-weight: normal;"> |
|
|
|
|
|
<span style="margin-left: 8%;"> |
|
|
|
|
|
<t t-esc="datas['name']"/> |
|
|
|
|
|
</span> |
|
|
|
|
|
</th> |
|
|
<th class="text-end" |
|
|
<th class="text-end" |
|
|
style="font-weight: normal;"> |
|
|
style="font-weight: normal;"> |
|
|
<span> |
|
|
<span> |
|
@ -293,12 +272,6 @@ |
|
|
</t> |
|
|
</t> |
|
|
<t t-if="account_value == 1"> |
|
|
<t t-if="account_value == 1"> |
|
|
<tr style="border-bottom: 1px solid gainsboro;"> |
|
|
<tr style="border-bottom: 1px solid gainsboro;"> |
|
|
<th colspan="6" |
|
|
|
|
|
style="font-weight: normal;"> |
|
|
|
|
|
<span style="margin-left: 8%;"> |
|
|
|
|
|
<t t-esc="datas['name']"/> |
|
|
|
|
|
</span> |
|
|
|
|
|
</th> |
|
|
|
|
|
<t t-foreach="data['datas']" |
|
|
<t t-foreach="data['datas']" |
|
|
t-as="values" |
|
|
t-as="values" |
|
|
t-key="values_index"> |
|
|
t-key="values_index"> |
|
@ -306,6 +279,12 @@ |
|
|
t-as="datas" |
|
|
t-as="datas" |
|
|
t-key="datas_index"> |
|
|
t-key="datas_index"> |
|
|
<t t-if="account_name == datas['name']"> |
|
|
<t t-if="account_name == datas['name']"> |
|
|
|
|
|
<th colspan="6" |
|
|
|
|
|
style="font-weight: normal;"> |
|
|
|
|
|
<span style="margin-left: 8%;"> |
|
|
|
|
|
<t t-esc="datas['name']"/> |
|
|
|
|
|
</span> |
|
|
|
|
|
</th> |
|
|
<th class="text-end" |
|
|
<th class="text-end" |
|
|
style="font-weight: normal;"> |
|
|
style="font-weight: normal;"> |
|
|
<span> |
|
|
<span> |
|
@ -374,12 +353,6 @@ |
|
|
</t> |
|
|
</t> |
|
|
<t t-if="account_value == 1"> |
|
|
<t t-if="account_value == 1"> |
|
|
<tr style="border-bottom: 1px solid gainsboro;"> |
|
|
<tr style="border-bottom: 1px solid gainsboro;"> |
|
|
<th colspan="6" |
|
|
|
|
|
style="font-weight: normal;"> |
|
|
|
|
|
<span style="margin-left: 8%;"> |
|
|
|
|
|
<t t-esc="datas['name']"/> |
|
|
|
|
|
</span> |
|
|
|
|
|
</th> |
|
|
|
|
|
<t t-foreach="data['datas']" |
|
|
<t t-foreach="data['datas']" |
|
|
t-as="values" |
|
|
t-as="values" |
|
|
t-key="values_index"> |
|
|
t-key="values_index"> |
|
@ -387,6 +360,12 @@ |
|
|
t-as="datas" |
|
|
t-as="datas" |
|
|
t-key="datas_index"> |
|
|
t-key="datas_index"> |
|
|
<t t-if="account_name == datas['name']"> |
|
|
<t t-if="account_name == datas['name']"> |
|
|
|
|
|
<th colspan="6" |
|
|
|
|
|
style="font-weight: normal;"> |
|
|
|
|
|
<span style="margin-left: 8%;"> |
|
|
|
|
|
<t t-esc="datas['name']"/> |
|
|
|
|
|
</span> |
|
|
|
|
|
</th> |
|
|
<th class="text-end" |
|
|
<th class="text-end" |
|
|
style="font-weight: normal;"> |
|
|
style="font-weight: normal;"> |
|
|
<span> |
|
|
<span> |
|
@ -440,12 +419,6 @@ |
|
|
</t> |
|
|
</t> |
|
|
<t t-if="account_value == 1"> |
|
|
<t t-if="account_value == 1"> |
|
|
<tr style="border-bottom: 1px solid gainsboro;"> |
|
|
<tr style="border-bottom: 1px solid gainsboro;"> |
|
|
<th colspan="6" |
|
|
|
|
|
style="font-weight: normal;"> |
|
|
|
|
|
<span style="margin-left: 8%;"> |
|
|
|
|
|
<t t-esc="datas['name']"/> |
|
|
|
|
|
</span> |
|
|
|
|
|
</th> |
|
|
|
|
|
<t t-foreach="data['datas']" |
|
|
<t t-foreach="data['datas']" |
|
|
t-as="values" |
|
|
t-as="values" |
|
|
t-key="values_index"> |
|
|
t-key="values_index"> |
|
@ -453,6 +426,12 @@ |
|
|
t-as="datas" |
|
|
t-as="datas" |
|
|
t-key="datas_index"> |
|
|
t-key="datas_index"> |
|
|
<t t-if="account_name == datas['name']"> |
|
|
<t t-if="account_name == datas['name']"> |
|
|
|
|
|
<th colspan="6" |
|
|
|
|
|
style="font-weight: normal;"> |
|
|
|
|
|
<span style="margin-left: 8%;"> |
|
|
|
|
|
<t t-esc="datas['name']"/> |
|
|
|
|
|
</span> |
|
|
|
|
|
</th> |
|
|
<th class="text-end" |
|
|
<th class="text-end" |
|
|
style="font-weight: normal;"> |
|
|
style="font-weight: normal;"> |
|
|
<span> |
|
|
<span> |
|
@ -537,12 +516,6 @@ |
|
|
</t> |
|
|
</t> |
|
|
<t t-if="account_value == 1"> |
|
|
<t t-if="account_value == 1"> |
|
|
<tr style="border-bottom: 1px solid gainsboro;"> |
|
|
<tr style="border-bottom: 1px solid gainsboro;"> |
|
|
<th colspan="6" |
|
|
|
|
|
style="font-weight: normal;"> |
|
|
|
|
|
<span style="margin-left: 8%;"> |
|
|
|
|
|
<t t-esc="datas['name']"/> |
|
|
|
|
|
</span> |
|
|
|
|
|
</th> |
|
|
|
|
|
<t t-foreach="data['datas']" |
|
|
<t t-foreach="data['datas']" |
|
|
t-as="values" |
|
|
t-as="values" |
|
|
t-key="values_index"> |
|
|
t-key="values_index"> |
|
@ -550,6 +523,12 @@ |
|
|
t-as="datas" |
|
|
t-as="datas" |
|
|
t-key="datas_index"> |
|
|
t-key="datas_index"> |
|
|
<t t-if="account_name == datas['name']"> |
|
|
<t t-if="account_name == datas['name']"> |
|
|
|
|
|
<th colspan="6" |
|
|
|
|
|
style="font-weight: normal;"> |
|
|
|
|
|
<span style="margin-left: 8%;"> |
|
|
|
|
|
<t t-esc="datas['name']"/> |
|
|
|
|
|
</span> |
|
|
|
|
|
</th> |
|
|
<th class="text-end" |
|
|
<th class="text-end" |
|
|
style="font-weight: normal;"> |
|
|
style="font-weight: normal;"> |
|
|
<span> |
|
|
<span> |
|
@ -602,12 +581,6 @@ |
|
|
</t> |
|
|
</t> |
|
|
<t t-if="account_value == 1"> |
|
|
<t t-if="account_value == 1"> |
|
|
<tr style="border-bottom: 1px solid gainsboro;"> |
|
|
<tr style="border-bottom: 1px solid gainsboro;"> |
|
|
<th colspan="6" |
|
|
|
|
|
style="font-weight: normal;"> |
|
|
|
|
|
<span style="margin-left: 8%;"> |
|
|
|
|
|
<t t-esc="datas['name']"/> |
|
|
|
|
|
</span> |
|
|
|
|
|
</th> |
|
|
|
|
|
<t t-foreach="data['datas']" |
|
|
<t t-foreach="data['datas']" |
|
|
t-as="values" |
|
|
t-as="values" |
|
|
t-key="values_index"> |
|
|
t-key="values_index"> |
|
@ -615,6 +588,12 @@ |
|
|
t-as="datas" |
|
|
t-as="datas" |
|
|
t-key="datas_index"> |
|
|
t-key="datas_index"> |
|
|
<t t-if="account_name == datas['name']"> |
|
|
<t t-if="account_name == datas['name']"> |
|
|
|
|
|
<th colspan="6" |
|
|
|
|
|
style="font-weight: normal;"> |
|
|
|
|
|
<span style="margin-left: 8%;"> |
|
|
|
|
|
<t t-esc="datas['name']"/> |
|
|
|
|
|
</span> |
|
|
|
|
|
</th> |
|
|
<th class="text-end" |
|
|
<th class="text-end" |
|
|
style="font-weight: normal;"> |
|
|
style="font-weight: normal;"> |
|
|
<span> |
|
|
<span> |
|
@ -683,12 +662,6 @@ |
|
|
</t> |
|
|
</t> |
|
|
<t t-if="account_value == 1"> |
|
|
<t t-if="account_value == 1"> |
|
|
<tr style="border-bottom: 1px solid gainsboro;"> |
|
|
<tr style="border-bottom: 1px solid gainsboro;"> |
|
|
<th colspan="6" |
|
|
|
|
|
style="font-weight: normal;"> |
|
|
|
|
|
<span style="margin-left: 8%;"> |
|
|
|
|
|
<t t-esc="datas['name']"/> |
|
|
|
|
|
</span> |
|
|
|
|
|
</th> |
|
|
|
|
|
<t t-foreach="data['datas']" |
|
|
<t t-foreach="data['datas']" |
|
|
t-as="values" |
|
|
t-as="values" |
|
|
t-key="values_index"> |
|
|
t-key="values_index"> |
|
@ -696,6 +669,12 @@ |
|
|
t-as="datas" |
|
|
t-as="datas" |
|
|
t-key="datas_index"> |
|
|
t-key="datas_index"> |
|
|
<t t-if="account_name == datas['name']"> |
|
|
<t t-if="account_name == datas['name']"> |
|
|
|
|
|
<th colspan="6" |
|
|
|
|
|
style="font-weight: normal;"> |
|
|
|
|
|
<span style="margin-left: 8%;"> |
|
|
|
|
|
<t t-esc="datas['name']"/> |
|
|
|
|
|
</span> |
|
|
|
|
|
</th> |
|
|
<th class="text-end" |
|
|
<th class="text-end" |
|
|
style="font-weight: normal;"> |
|
|
style="font-weight: normal;"> |
|
|
<span> |
|
|
<span> |
|
@ -796,12 +775,6 @@ |
|
|
</t> |
|
|
</t> |
|
|
<t t-if="account_value == 1"> |
|
|
<t t-if="account_value == 1"> |
|
|
<tr style="border-bottom: 1px solid gainsboro;"> |
|
|
<tr style="border-bottom: 1px solid gainsboro;"> |
|
|
<th colspan="6" |
|
|
|
|
|
style="font-weight: normal;"> |
|
|
|
|
|
<span style="margin-left: 8%;"> |
|
|
|
|
|
<t t-esc="datas['name']"/> |
|
|
|
|
|
</span> |
|
|
|
|
|
</th> |
|
|
|
|
|
<t t-foreach="data['datas']" |
|
|
<t t-foreach="data['datas']" |
|
|
t-as="values" |
|
|
t-as="values" |
|
|
t-key="values_index"> |
|
|
t-key="values_index"> |
|
@ -809,6 +782,12 @@ |
|
|
t-as="datas" |
|
|
t-as="datas" |
|
|
t-key="datas_index"> |
|
|
t-key="datas_index"> |
|
|
<t t-if="account_name == datas['name']"> |
|
|
<t t-if="account_name == datas['name']"> |
|
|
|
|
|
<th colspan="6" |
|
|
|
|
|
style="font-weight: normal;"> |
|
|
|
|
|
<span style="margin-left: 8%;"> |
|
|
|
|
|
<t t-esc="datas['name']"/> |
|
|
|
|
|
</span> |
|
|
|
|
|
</th> |
|
|
<th class="text-end" |
|
|
<th class="text-end" |
|
|
style="font-weight: normal;"> |
|
|
style="font-weight: normal;"> |
|
|
<span> |
|
|
<span> |
|
@ -877,12 +856,6 @@ |
|
|
</t> |
|
|
</t> |
|
|
<t t-if="account_value == 1"> |
|
|
<t t-if="account_value == 1"> |
|
|
<tr style="border-bottom: 1px solid gainsboro;"> |
|
|
<tr style="border-bottom: 1px solid gainsboro;"> |
|
|
<th colspan="6" |
|
|
|
|
|
style="font-weight: normal;"> |
|
|
|
|
|
<span style="margin-left: 8%;"> |
|
|
|
|
|
<t t-esc="datas['name']"/> |
|
|
|
|
|
</span> |
|
|
|
|
|
</th> |
|
|
|
|
|
<t t-foreach="data['datas']" |
|
|
<t t-foreach="data['datas']" |
|
|
t-as="values" |
|
|
t-as="values" |
|
|
t-key="values_index"> |
|
|
t-key="values_index"> |
|
@ -890,6 +863,12 @@ |
|
|
t-as="datas" |
|
|
t-as="datas" |
|
|
t-key="datas_index"> |
|
|
t-key="datas_index"> |
|
|
<t t-if="account_name == datas['name']"> |
|
|
<t t-if="account_name == datas['name']"> |
|
|
|
|
|
<th colspan="6" |
|
|
|
|
|
style="font-weight: normal;"> |
|
|
|
|
|
<span style="margin-left: 8%;"> |
|
|
|
|
|
<t t-esc="datas['name']"/> |
|
|
|
|
|
</span> |
|
|
|
|
|
</th> |
|
|
<th class="text-end" |
|
|
<th class="text-end" |
|
|
style="font-weight: normal;"> |
|
|
style="font-weight: normal;"> |
|
|
<span> |
|
|
<span> |
|
|