|
|
@ -1,4 +1,3 @@ |
|
|
|
|
|
|
|
<templates> |
|
|
|
<t t-name="AgeingTemp"> |
|
|
|
<div class=""> |
|
|
@ -26,23 +25,20 @@ |
|
|
|
<tr> |
|
|
|
<th colspan="6">Partner</th> |
|
|
|
<th class="mon_fld">Not Due</th> |
|
|
|
<th class="mon_fld">0-20</th> |
|
|
|
<th class="mon_fld">20-40</th> |
|
|
|
<th class="mon_fld">40-60</th> |
|
|
|
<th class="mon_fld">60-80</th> |
|
|
|
<th class="mon_fld">80+</th> |
|
|
|
<th class="mon_fld">0-30</th> |
|
|
|
<th class="mon_fld">30-60</th> |
|
|
|
<th class="mon_fld">60-90</th> |
|
|
|
<th class="mon_fld">90-120</th> |
|
|
|
<th class="mon_fld">120+</th> |
|
|
|
|
|
|
|
<th class="mon_fld">Total</th> |
|
|
|
</tr> |
|
|
|
</thead> |
|
|
|
<tbody style="width:100%;"> |
|
|
|
</tbody> |
|
|
|
<tbody> |
|
|
|
<t t-set="none_value" t-value="_"/> |
|
|
|
<t t-foreach="report_lines[0]" t-as="account"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<t t-set="common_id" t-value="0"/> |
|
|
|
|
|
|
|
<tr style="border: 1.5px solid black;" class="gl-line" |
|
|
@ -58,61 +54,136 @@ |
|
|
|
</span> |
|
|
|
<t t-if="currency[1] == 'before'"> |
|
|
|
<td style="text-align:right;"> |
|
|
|
<t t-if="account['direction'] == 0"> |
|
|
|
<span>-</span> |
|
|
|
</t> |
|
|
|
<t t-else=""> |
|
|
|
<t t-esc="currency[0]"/> |
|
|
|
<t t-raw="account['direction']"/> |
|
|
|
<t t-esc="Math.round(account['direction'] * Math.pow(10, 2)) / Math.pow(10, 2)"/> |
|
|
|
</t> |
|
|
|
|
|
|
|
</td> |
|
|
|
<td style="text-align:right;"> |
|
|
|
<t t-if="account['4'] == 0"> |
|
|
|
<span>-</span> |
|
|
|
</t> |
|
|
|
<t t-else=""> |
|
|
|
<t t-esc="currency[0]"/> |
|
|
|
<t t-raw="account['4']"/> |
|
|
|
<t t-esc="Math.round(account['4'] * Math.pow(10, 2)) / Math.pow(10, 2)"/> |
|
|
|
</t> |
|
|
|
</td> |
|
|
|
<td style="text-align:right;"> |
|
|
|
<t t-if="account['3'] == 0"> |
|
|
|
<span>-</span> |
|
|
|
</t> |
|
|
|
<t t-else=""> |
|
|
|
<t t-esc="currency[0]"/> |
|
|
|
<t t-raw="account['3']"/> |
|
|
|
<t t-esc="Math.round(account['3'] * Math.pow(10, 2)) / Math.pow(10, 2)"/> |
|
|
|
</t> |
|
|
|
</td> |
|
|
|
<td style="text-align:right;"> |
|
|
|
<t t-if="account['2'] == 0"> |
|
|
|
<span>-</span> |
|
|
|
</t> |
|
|
|
<t t-else=""> |
|
|
|
<t t-esc="currency[0]"/> |
|
|
|
<t t-raw="account['2']"/> |
|
|
|
<t t-esc="Math.round(account['2'] * Math.pow(10, 2)) / Math.pow(10, 2)"/> |
|
|
|
</t> |
|
|
|
</td> |
|
|
|
<td style="text-align:right;"> |
|
|
|
<t t-if="account['1'] == 0"> |
|
|
|
<span>-</span> |
|
|
|
</t> |
|
|
|
<t t-else=""> |
|
|
|
<t t-esc="currency[0]"/> |
|
|
|
<t t-raw="account['1']"/> |
|
|
|
<t t-esc="Math.round(account['1'] * Math.pow(10, 2)) / Math.pow(10, 2)"/> |
|
|
|
</t> |
|
|
|
</td> |
|
|
|
<td style="text-align:right;"> |
|
|
|
<t t-if="account['0'] == 0"> |
|
|
|
<span>-</span> |
|
|
|
</t> |
|
|
|
<t t-else=""> |
|
|
|
<t t-esc="currency[0]"/> |
|
|
|
<t t-raw="account['0']"/> |
|
|
|
<t t-esc="Math.round(account['0'] * Math.pow(10, 2)) / Math.pow(10, 2)"/> |
|
|
|
</t> |
|
|
|
</td> |
|
|
|
<td style="text-align:right;"> |
|
|
|
<t t-if="account['total'] == 0"> |
|
|
|
<span>-</span> |
|
|
|
</t> |
|
|
|
<t t-else=""> |
|
|
|
<t t-esc="currency[0]"/> |
|
|
|
<t t-raw="account['total']"/> |
|
|
|
<t t-esc="Math.round(account['total'] * Math.pow(10, 2)) / Math.pow(10, 2)"/> |
|
|
|
</t> |
|
|
|
</td> |
|
|
|
</t> |
|
|
|
<t t-else=""> |
|
|
|
<td style="text-align:right;"> |
|
|
|
<t t-raw="account['direction']"/><t t-esc="currency[0]"/> |
|
|
|
<t t-if="account['direction'] == 0"> |
|
|
|
<span>-</span> |
|
|
|
</t> |
|
|
|
<t t-else=""> |
|
|
|
<t t-esc="Math.round(account['direction'] * Math.pow(10, 2)) / Math.pow(10, 2)"/> |
|
|
|
<t t-esc="currency[0]"/> |
|
|
|
</t> |
|
|
|
</td> |
|
|
|
<td style="text-align:right;"> |
|
|
|
<t t-raw="account['4']"/><t t-esc="currency[0]"/> |
|
|
|
<t t-if="account['4'] == 0"> |
|
|
|
<span>-</span> |
|
|
|
</t> |
|
|
|
<t t-else=""> |
|
|
|
<t t-esc="Math.round(account['4'] * Math.pow(10, 2)) / Math.pow(10, 2)"/> |
|
|
|
<t t-esc="currency[0]"/> |
|
|
|
</t> |
|
|
|
</td> |
|
|
|
<td style="text-align:right;"> |
|
|
|
<t t-raw="account['3']"/><t t-esc="currency[0]"/> |
|
|
|
<t t-if="account['3'] == 0"> |
|
|
|
<span>-</span> |
|
|
|
</t> |
|
|
|
<t t-else=""> |
|
|
|
<t t-esc="Math.round(account['3'] * Math.pow(10, 2)) / Math.pow(10, 2)"/> |
|
|
|
<t t-esc="currency[0]"/> |
|
|
|
</t> |
|
|
|
</td> |
|
|
|
<td style="text-align:right;"> |
|
|
|
<t t-raw="account['2']"/><t t-esc="currency[0]"/> |
|
|
|
<t t-if="account['2'] == 0"> |
|
|
|
<span>-</span> |
|
|
|
</t> |
|
|
|
<t t-else=""> |
|
|
|
<t t-esc="Math.round(account['2'] * Math.pow(10, 2)) / Math.pow(10, 2)"/> |
|
|
|
<t t-esc="currency[0]"/> |
|
|
|
</t> |
|
|
|
</td> |
|
|
|
<td style="text-align:right;"> |
|
|
|
<t t-raw="account['1']"/><t t-esc="currency[0]"/> |
|
|
|
<t t-if="account['1'] == 0"> |
|
|
|
<span>-</span> |
|
|
|
</t> |
|
|
|
<t t-else=""> |
|
|
|
<t t-esc="Math.round(account['1'] * Math.pow(10, 2)) / Math.pow(10, 2)"/> |
|
|
|
<t t-esc="currency[0]"/> |
|
|
|
</t> |
|
|
|
</td> |
|
|
|
<td style="text-align:right;"> |
|
|
|
<t t-raw="account['0']"/><t t-esc="currency[0]"/> |
|
|
|
<t t-if="account['0'] == 0"> |
|
|
|
<span>-</span> |
|
|
|
</t> |
|
|
|
<t t-else=""> |
|
|
|
<t t-esc="Math.round(account['0'] * Math.pow(10, 2)) / Math.pow(10, 2)"/> |
|
|
|
<t t-esc="currency[0]"/> |
|
|
|
</t> |
|
|
|
</td> |
|
|
|
<td style="text-align:right;"> |
|
|
|
<t t-raw="account['total']"/><t t-esc="currency[0]"/> |
|
|
|
<t t-if="account['total'] == 0"> |
|
|
|
<span>-</span> |
|
|
|
</t> |
|
|
|
<t t-else=""> |
|
|
|
<t t-esc="Math.round(account['total'] * Math.pow(10, 2)) / Math.pow(10, 2)"/> |
|
|
|
<t t-esc="currency[0]"/> |
|
|
|
</t> |
|
|
|
</td> |
|
|
|
|
|
|
|
</t> |
|
|
|
<!-- |
|
|
|
|
|
|
|
< </div>--> |
|
|
|
</td> |
|
|
|
<tr t-attf-class="collapse a{{account['partner_id']}}"> |
|
|
|
<td colspan="14"> |
|
|
@ -132,14 +203,18 @@ |
|
|
|
</t> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<t t-name="AgeingFilterView"> |
|
|
|
<div class="" style="position: relative;"> |
|
|
|
<div class="sub_container_left"> |
|
|
|
<div class="report_print"> |
|
|
|
<button type="button" class="btn btn-primary" id="pdf" style="left:10px; height:30px;position: relative;color:white;background-color: #00A0AD;border-color: #00A0AD; padding:3px;">Print (PDF)</button> |
|
|
|
<button type="button" class="btn btn-primary" id="xlsx" style="left:10px; height:30px;position: relative;color:white;background-color: #00A0AD;border-color: #00A0AD; padding:3px;">Export (XLSX)</button> |
|
|
|
<button type="button" class="btn btn-primary" id="pdf" |
|
|
|
style="left:10px; height:30px;position: relative;color:white;background-color: #00A0AD;border-color: #00A0AD; padding:3px;"> |
|
|
|
Print (PDF) |
|
|
|
</button> |
|
|
|
<button type="button" class="btn btn-primary" id="xlsx" |
|
|
|
style="left:10px; height:30px;position: relative;color:white;background-color: #00A0AD;border-color: #00A0AD; padding:3px;"> |
|
|
|
Export (XLSX) |
|
|
|
</button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<br></br> |
|
|
@ -147,7 +222,7 @@ |
|
|
|
<div class="" style="right:80x;"> |
|
|
|
|
|
|
|
<br></br> |
|
|
|
<div class="row" style="right:80px;top:0px;position: absolute;width:50;"> |
|
|
|
<div class="row" style="right:100px;top:0px;position: absolute;width:50;"> |
|
|
|
<div class="time_range" style=""> |
|
|
|
<a type="button" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> |
|
|
|
<span class="fa fa-calendar" title="Dates" role="img" aria-label="Dates"></span> |
|
|
@ -228,7 +303,10 @@ Target Move: |
|
|
|
|
|
|
|
</div> |
|
|
|
<div style=""> |
|
|
|
<button type="button" id="apply_filter" class="btn btn-primary" style="top:0px;height:30px;right:20px;position: absolute;color:white;background-color: #00A0AD;border-color: #00A0AD;">Apply</button> |
|
|
|
<button type="button" id="apply_filter" class="btn btn-primary" |
|
|
|
style="top:0px;height:30px;right:20px;position: absolute;color:white;background-color: #00A0AD;border-color: #00A0AD;"> |
|
|
|
Apply |
|
|
|
</button> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -246,11 +324,11 @@ Target Move: |
|
|
|
<th>JRNL</th> |
|
|
|
<th>Account</th> |
|
|
|
<th>Not Due</th> |
|
|
|
<th >0-20</th> |
|
|
|
<th >21-40</th> |
|
|
|
<th >41-60</th> |
|
|
|
<th >61-80</th> |
|
|
|
<th >80+</th> |
|
|
|
<th>0-30</th> |
|
|
|
<th>30-60</th> |
|
|
|
<th>60-90</th> |
|
|
|
<th>90-120</th> |
|
|
|
<th>120+</th> |
|
|
|
|
|
|
|
</tr> |
|
|
|
</thead> |
|
|
|