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