|
@ -1,9 +1,8 @@ |
|
|
|
|
|
|
|
|
<templates> |
|
|
<templates> |
|
|
<t t-name="DaybookTemp"> |
|
|
<t t-name="DaybookTemp"> |
|
|
<div class=""> |
|
|
<div class=""> |
|
|
<div class=""> |
|
|
<div class=""> |
|
|
<h1> |
|
|
<h1 style="padding:10px"> |
|
|
Day Book |
|
|
Day Book |
|
|
</h1> |
|
|
</h1> |
|
|
|
|
|
|
|
@ -40,22 +39,62 @@ |
|
|
data-toggle="collapse" |
|
|
data-toggle="collapse" |
|
|
t-att-data-account-id="account['id']" |
|
|
t-att-data-account-id="account['id']" |
|
|
t-attf-data-target=".a{{account['id']}}"> |
|
|
t-attf-data-target=".a{{account['id']}}"> |
|
|
|
|
|
<t t-if="currency[1] == 'before'"> |
|
|
|
|
|
|
|
|
<td colspan="6" style="border: 0px solid black;"> |
|
|
<td colspan="6" style="border: 0px solid black;"> |
|
|
<i class="fa fa-caret-down" role="img" aria-label="Unfolded" title="Unfolded"></i> |
|
|
<i class="fa fa-caret-down" role="img" aria-label="Unfolded" |
|
|
|
|
|
title="Unfolded"></i> |
|
|
<span> |
|
|
<span> |
|
|
<t t-esc="account['date']"/> |
|
|
<t t-esc="account['date']"/> |
|
|
</span> |
|
|
</span> |
|
|
<td class="mon_fld"> |
|
|
<td class="mon_fld"> |
|
|
<t t-raw="account['debit']"/><t t-esc="currency[0]"/> |
|
|
<t t-esc="currency[0]"/> |
|
|
|
|
|
|
|
|
|
|
|
<t t-raw="account['debit']"/> |
|
|
</td> |
|
|
</td> |
|
|
<td class="mon_fld"> |
|
|
<td class="mon_fld"> |
|
|
<t t-raw="account['credit']"/><t t-esc="currency[0]"/> |
|
|
<t t-esc="currency[0]"/> |
|
|
|
|
|
|
|
|
|
|
|
<t t-raw="account['credit']"/> |
|
|
</td> |
|
|
</td> |
|
|
<td class="mon_fld"> |
|
|
<td class="mon_fld"> |
|
|
<t t-raw="account['balance']"/><t t-esc="currency[0]"/> |
|
|
<t t-esc="currency[0]"/> |
|
|
|
|
|
|
|
|
|
|
|
<t t-raw="account['balance']"/> |
|
|
</td> |
|
|
</td> |
|
|
<t t-set="common_id" t-value="'a'+account['id']"/> |
|
|
<t t-set="common_id" t-value="'a'+account['id']"/> |
|
|
</td> |
|
|
</td> |
|
|
|
|
|
</t> |
|
|
|
|
|
<t t-else=""> |
|
|
|
|
|
<td colspan="6" style="border: 0px solid black;"> |
|
|
|
|
|
<i class="fa fa-caret-down" role="img" aria-label="Unfolded" |
|
|
|
|
|
title="Unfolded"></i> |
|
|
|
|
|
<span> |
|
|
|
|
|
<t t-esc="account['date']"/> |
|
|
|
|
|
</span> |
|
|
|
|
|
<td class="mon_fld"> |
|
|
|
|
|
|
|
|
|
|
|
<t t-raw="account['debit']"/> |
|
|
|
|
|
<t t-esc="currency[0]"/> |
|
|
|
|
|
|
|
|
|
|
|
</td> |
|
|
|
|
|
<td class="mon_fld"> |
|
|
|
|
|
|
|
|
|
|
|
<t t-raw="account['credit']"/> |
|
|
|
|
|
<t t-esc="currency[0]"/> |
|
|
|
|
|
|
|
|
|
|
|
</td> |
|
|
|
|
|
<td class="mon_fld"> |
|
|
|
|
|
|
|
|
|
|
|
<t t-raw="account['balance']"/> |
|
|
|
|
|
<t t-esc="currency[0]"/> |
|
|
|
|
|
|
|
|
|
|
|
</td> |
|
|
|
|
|
<t t-set="common_id" t-value="'a'+account['id']"/> |
|
|
|
|
|
</td> |
|
|
|
|
|
|
|
|
|
|
|
</t> |
|
|
|
|
|
|
|
|
<tr t-attf-class="collapse a{{account['id']}}"> |
|
|
<tr t-attf-class="collapse a{{account['id']}}"> |
|
|
<td colspan="10"> |
|
|
<td colspan="10"> |
|
|
<ul> |
|
|
<ul> |
|
@ -71,14 +110,18 @@ |
|
|
</t> |
|
|
</t> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<t t-name="DayFilterView"> |
|
|
<t t-name="DayFilterView"> |
|
|
<div class="" style="position: relative;"> |
|
|
<div class="" style="position: relative;"> |
|
|
<div class="sub_container_left"> |
|
|
<div class="sub_container_left"> |
|
|
<div class="report_print"> |
|
|
<div class="report_print"> |
|
|
<button type="button" class="btn btn-primary" id="pdf" style="height:25px;position: relative;color:white;background-color: #00A0AD;border-color: #00A0AD;">Print (PDF)</button> |
|
|
<button type="button" class="btn btn-primary" id="pdf" |
|
|
<button type="button" class="btn btn-primary" id="xlsx" style="height:25px;position: relative;color:white;background-color: #00A0AD;border-color: #00A0AD;">Export (XLSX)</button> |
|
|
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> |
|
|
</div> |
|
|
</div> |
|
|
<br></br> |
|
|
<br></br> |
|
@ -91,19 +134,19 @@ |
|
|
<div class="time_range" style=""> |
|
|
<div class="time_range" style=""> |
|
|
<a type="button" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> |
|
|
<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> |
|
|
<span class="fa fa-calendar" title="Dates" role="img" aria-label="Dates"></span> |
|
|
Date Range |
|
|
Date Range |
|
|
</a> |
|
|
</a> |
|
|
<div class="dropdown-menu" role="menu"> |
|
|
<div class="dropdown-menu" role="menu"> |
|
|
<div class="" > |
|
|
<div class=""> |
|
|
<label class="" for="date_from">Start Date :</label> |
|
|
<label class="" for="date_from">Start Date :</label> |
|
|
<div class=""> |
|
|
<div class=""> |
|
|
<div class="" aria-atomic="true" id="" > |
|
|
<div class="" aria-atomic="true" id=""> |
|
|
<input type="date" id="date_from"></input> |
|
|
<input type="date" id="date_from"></input> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<label class="" for="date_to">End Date :</label> |
|
|
<label class="" for="date_to">End Date :</label> |
|
|
<div class=""> |
|
|
<div class=""> |
|
|
<div class="" aria-atomic="true" id="" > |
|
|
<div class="" aria-atomic="true" id=""> |
|
|
<input type="date" id="date_to"></input> |
|
|
<input type="date" id="date_to"></input> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
@ -113,12 +156,13 @@ Date Range |
|
|
<div class="journals_filter" style=""> |
|
|
<div class="journals_filter" style=""> |
|
|
<a type="button" class="dropdown-toggle" data-toggle="dropdown"> |
|
|
<a type="button" class="dropdown-toggle" data-toggle="dropdown"> |
|
|
<span class="fa fa-book"></span> |
|
|
<span class="fa fa-book"></span> |
|
|
Journals: |
|
|
Journals: |
|
|
</a> |
|
|
</a> |
|
|
<select class="dropdown-menu journals" name="states[]" multiple="multiple"> |
|
|
<select class="dropdown-menu journals" name="states[]" multiple="multiple"> |
|
|
<div role="separator" class="dropdown-divider"></div> |
|
|
<div role="separator" class="dropdown-divider"></div> |
|
|
<t t-foreach="filter_data.journals_list" t-as="journal"> |
|
|
<t t-foreach="filter_data.journals_list" t-as="journal"> |
|
|
<option t-attf-value="{{journal[0]}}"><t t-esc="journal[1]"/> |
|
|
<option t-attf-value="{{journal[0]}}"> |
|
|
|
|
|
<t t-esc="journal[1]"/> |
|
|
</option> |
|
|
</option> |
|
|
</t> |
|
|
</t> |
|
|
</select> |
|
|
</select> |
|
@ -127,7 +171,7 @@ Journals: |
|
|
<div class="accounts_filter"> |
|
|
<div class="accounts_filter"> |
|
|
<a type="button" class="dropdown-toggle" data-toggle="dropdown"> |
|
|
<a type="button" class="dropdown-toggle" data-toggle="dropdown"> |
|
|
<span class="fa fa-book"></span> |
|
|
<span class="fa fa-book"></span> |
|
|
Accounts: |
|
|
Accounts: |
|
|
</a> |
|
|
</a> |
|
|
<select class="dropdown-menu account" name="states[]" multiple="multiple"> |
|
|
<select class="dropdown-menu account" name="states[]" multiple="multiple"> |
|
|
<t t-foreach="filter_data.accounts_list" t-as="account"> |
|
|
<t t-foreach="filter_data.accounts_list" t-as="account"> |
|
@ -143,12 +187,12 @@ Accounts: |
|
|
<div class="search-Target-move" style=""> |
|
|
<div class="search-Target-move" style=""> |
|
|
<a type="button" class="dropdown-toggle" data-toggle="dropdown"> |
|
|
<a type="button" class="dropdown-toggle" data-toggle="dropdown"> |
|
|
<span class="fa fa-filter"></span> |
|
|
<span class="fa fa-filter"></span> |
|
|
Target Move: |
|
|
Target Move: |
|
|
</a> |
|
|
</a> |
|
|
<select id="entries" class="dropdown-menu target_move" name="states[]" > |
|
|
<select id="entries" class="dropdown-menu target_move" name="states[]"> |
|
|
<div role="separator" class="dropdown-divider"></div> |
|
|
<div role="separator" class="dropdown-divider"></div> |
|
|
<option value="all">All Entries </option> |
|
|
<option value="Posted">Posted Entries</option> |
|
|
<option value="posted">Posted Entries</option> |
|
|
<option value="All">All Entries</option> |
|
|
</select> |
|
|
</select> |
|
|
<span id="post_res"></span> |
|
|
<span id="post_res"></span> |
|
|
</div> |
|
|
</div> |
|
@ -156,7 +200,10 @@ Target Move: |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
<div style=""> |
|
|
<div style=""> |
|
|
<button type="button" id="apply_filter" class="btn btn-primary" style="top:0px;height:25px;right:0px;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> |
|
|
</div> |
|
|
</div> |
|
@ -174,9 +221,9 @@ Target Move: |
|
|
<th>Partner</th> |
|
|
<th>Partner</th> |
|
|
<th>Move</th> |
|
|
<th>Move</th> |
|
|
<th>Entry Label</th> |
|
|
<th>Entry Label</th> |
|
|
<th >Debit</th> |
|
|
<th>Debit</th> |
|
|
<th >Credit</th> |
|
|
<th>Credit</th> |
|
|
<th >Balance</th> |
|
|
<th>Balance</th> |
|
|
|
|
|
|
|
|
</tr> |
|
|
</tr> |
|
|
</thead> |
|
|
</thead> |
|
@ -219,13 +266,13 @@ Target Move: |
|
|
<td t-att-style="style"> |
|
|
<td t-att-style="style"> |
|
|
<t t-esc="account_line.lname"/> |
|
|
<t t-esc="account_line.lname"/> |
|
|
</td> |
|
|
</td> |
|
|
<t t-if="account_line.currency_position == 'before'"> |
|
|
<t t-if="currency_position == 'before'"> |
|
|
<td t-att-style="style" class="text-right"> |
|
|
<td t-att-style="style" class="text-right"> |
|
|
<t t-if="account_line.debit == 0"> |
|
|
<t t-if="account_line.debit == 0"> |
|
|
<span>-</span> |
|
|
<span>-</span> |
|
|
</t> |
|
|
</t> |
|
|
<t t-else=""> |
|
|
<t t-else=""> |
|
|
<t t-esc="account_line.currency_code"/> |
|
|
<t t-esc="currency_symbol"/> |
|
|
<t t-esc="Math.round(account_line.debit * Math.pow(10, 2)) / Math.pow(10, 2)"/> |
|
|
<t t-esc="Math.round(account_line.debit * Math.pow(10, 2)) / Math.pow(10, 2)"/> |
|
|
</t> |
|
|
</t> |
|
|
</td> |
|
|
</td> |
|
@ -234,7 +281,7 @@ Target Move: |
|
|
<span>-</span> |
|
|
<span>-</span> |
|
|
</t> |
|
|
</t> |
|
|
<t t-else=""> |
|
|
<t t-else=""> |
|
|
<t t-esc="account_line.currency_code"/> |
|
|
<t t-esc="currency_symbol"/> |
|
|
<t t-esc="Math.round(account_line.credit * Math.pow(10, 2)) / Math.pow(10, 2)"/> |
|
|
<t t-esc="Math.round(account_line.credit * Math.pow(10, 2)) / Math.pow(10, 2)"/> |
|
|
</t> |
|
|
</t> |
|
|
</td> |
|
|
</td> |
|
@ -243,7 +290,7 @@ Target Move: |
|
|
<span>-</span> |
|
|
<span>-</span> |
|
|
</t> |
|
|
</t> |
|
|
<t t-else=""> |
|
|
<t t-else=""> |
|
|
<t t-esc="account_line.currency_code"/> |
|
|
<t t-esc="currency_symbol"/> |
|
|
<t t-esc="Math.round(account_line.balance * Math.pow(10, 2)) / Math.pow(10, 2)"/> |
|
|
<t t-esc="Math.round(account_line.balance * Math.pow(10, 2)) / Math.pow(10, 2)"/> |
|
|
</t> |
|
|
</t> |
|
|
</td> |
|
|
</td> |
|
@ -255,7 +302,7 @@ Target Move: |
|
|
</t> |
|
|
</t> |
|
|
<t t-else=""> |
|
|
<t t-else=""> |
|
|
<t t-esc="Math.round(account_line.debit * Math.pow(10, 2)) / Math.pow(10, 2)"/> |
|
|
<t t-esc="Math.round(account_line.debit * Math.pow(10, 2)) / Math.pow(10, 2)"/> |
|
|
<t t-esc="account_line.currency_code"/> |
|
|
<t t-esc="currency_symbol"/> |
|
|
</t> |
|
|
</t> |
|
|
</td> |
|
|
</td> |
|
|
<td t-att-style="style" class="amt"> |
|
|
<td t-att-style="style" class="amt"> |
|
@ -264,7 +311,7 @@ Target Move: |
|
|
</t> |
|
|
</t> |
|
|
<t t-else=""> |
|
|
<t t-else=""> |
|
|
<t t-esc="Math.round(account_line.credit * Math.pow(10, 2)) / Math.pow(10, 2)"/> |
|
|
<t t-esc="Math.round(account_line.credit * Math.pow(10, 2)) / Math.pow(10, 2)"/> |
|
|
<t t-esc="account_line.currency_code"/> |
|
|
<t t-esc="currency_symbol"/> |
|
|
</t> |
|
|
</t> |
|
|
</td> |
|
|
</td> |
|
|
<td t-att-style="style" class="amt"> |
|
|
<td t-att-style="style" class="amt"> |
|
@ -273,7 +320,7 @@ Target Move: |
|
|
</t> |
|
|
</t> |
|
|
<t t-else=""> |
|
|
<t t-else=""> |
|
|
<t t-esc="Math.round(account_line.balance * Math.pow(10, 2)) / Math.pow(10, 2)"/> |
|
|
<t t-esc="Math.round(account_line.balance * Math.pow(10, 2)) / Math.pow(10, 2)"/> |
|
|
<t t-esc="account_line.currency_code"/> |
|
|
<t t-esc="currency_symbol"/> |
|
|
</t> |
|
|
</t> |
|
|
</td> |
|
|
</td> |
|
|
|
|
|
|
|
|