|
|
@ -58,7 +58,8 @@ |
|
|
|
<div class="form-group "> |
|
|
|
<div class="show-gl" aria-atomic="true" id="" data-target-input=""> |
|
|
|
<li role="presentation"> |
|
|
|
<a role="menuitem" style="background-color:aqua; font-weight:bold;" |
|
|
|
<a role="menuitem" |
|
|
|
style="background-color:aqua; font-weight:bold;" |
|
|
|
t-att-data-account-id="account['id']" class="show-gl"> |
|
|
|
View General Ledger |
|
|
|
</a> |
|
|
@ -77,22 +78,22 @@ |
|
|
|
<td class="mon_fld"> |
|
|
|
<t t-esc="currency[0]"/> |
|
|
|
<t t-out="Math.round(account['Init_balance']['debit'] * Math.pow(10, currency[3])) / Math.pow(10, currency[3])"/> |
|
|
|
<!-- <t t-raw="account['Init_balance']['debit']"/>--> |
|
|
|
<!-- <t t-raw="account['Init_balance']['debit']"/>--> |
|
|
|
</td> |
|
|
|
<td class="mon_fld"> |
|
|
|
<t t-esc="currency[0]"/> |
|
|
|
<!-- <t t-raw="account['Init_balance']['credit']"/>--> |
|
|
|
<!-- <t t-raw="account['Init_balance']['credit']"/>--> |
|
|
|
<t t-out="Math.round(account['Init_balance']['credit'] * Math.pow(10, currency[3])) / Math.pow(10, currency[3])"/> |
|
|
|
</td> |
|
|
|
</t> |
|
|
|
<t t-else=""> |
|
|
|
<td class="mon_fld"> |
|
|
|
<!-- <t t-raw="account['Init_balance']['debit']"/>--> |
|
|
|
<!-- <t t-raw="account['Init_balance']['debit']"/>--> |
|
|
|
<t t-out="Math.round(account['Init_balance']['debit'] * Math.pow(10, currency[3])) / Math.pow(10, currency[3])"/> |
|
|
|
<t t-esc="currency[0]"/> |
|
|
|
</td> |
|
|
|
<td class="mon_fld"> |
|
|
|
<!-- <t t-raw="account['Init_balance']['credit']"/>--> |
|
|
|
<!-- <t t-raw="account['Init_balance']['credit']"/>--> |
|
|
|
<t t-out="Math.round(account['Init_balance']['credit'] * Math.pow(10, currency[3])) / Math.pow(10, currency[3])"/> |
|
|
|
<t t-esc="currency[0]"/> |
|
|
|
</td> |
|
|
@ -163,14 +164,14 @@ |
|
|
|
<td class="mon_fld" style=""> |
|
|
|
<strong> |
|
|
|
<t t-esc="currency[0]"/> |
|
|
|
<!-- <t t-raw="Math.round(debit_total * Math.pow(10, 2)) / Math.pow(10, 2)"/>--> |
|
|
|
<!-- <t t-raw="Math.round(debit_total * Math.pow(10, 2)) / Math.pow(10, 2)"/>--> |
|
|
|
<t t-esc="debit_total"/> |
|
|
|
</strong> |
|
|
|
</td> |
|
|
|
<td class="mon_fld" style=""> |
|
|
|
<strong> |
|
|
|
<t t-esc="currency[0]"/> |
|
|
|
<!-- <t t-raw="Math.round(credit_total * Math.pow(10, 2)) / Math.pow(10, 2)"/>--> |
|
|
|
<!-- <t t-raw="Math.round(credit_total * Math.pow(10, 2)) / Math.pow(10, 2)"/>--> |
|
|
|
<t t-esc="credit_total"/> |
|
|
|
</strong> |
|
|
|
</td> |
|
|
@ -216,93 +217,108 @@ |
|
|
|
<br></br> |
|
|
|
<div class="sub_container_right row" style="width:30%;height:3%;top:0px;position: relative;"> |
|
|
|
|
|
|
|
<div class="time_range" style=""> |
|
|
|
<a type="button" class="dropdown-toggle" data-bs-toggle="dropdown" > |
|
|
|
<span class="fa fa-calendar" title="Dates" role="img" aria-label="Dates"></span> |
|
|
|
Date Range |
|
|
|
</a> |
|
|
|
<div class="dropdown-menu" role="menu"> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="" for="date_from">Start Date :</label> |
|
|
|
<div class="input-group date" id="date_from" data-target-input="nearest"> |
|
|
|
<!-- <t t-set='date_formatted'><t t-options='{"widget": "date"}' t-esc="filter_data.date_from"/></t>--> |
|
|
|
<!-- <input type="text" name="date_from" class="form-control datetimepicker-input" t-att-value="date_formatted" data-target="#date_from" t-att-name="prefix"/>--> |
|
|
|
<input type="text" name="date_from" class="form-control datetimepicker-input" data-target="#date_from" t-att-name="prefix"/> |
|
|
|
|
|
|
|
<div class="input-group-append" data-target="#date_from" data-bs-toggle="datetimepicker"> |
|
|
|
<span class="input-group-text"> |
|
|
|
<span class="fa fa-calendar" role="img" aria-label="Calendar"></span> |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<label class="" for="date_to">End Date :</label> |
|
|
|
<div class="input-group date" id="date_to" data-target-input="nearest"> |
|
|
|
|
|
|
|
<input type="text" name="date_to" class="form-control datetimepicker-input" data-target="#date_to" t-att-name="prefix"/> |
|
|
|
<div class="input-group-append" data-target="#date_to" data-bs-toggle="datetimepicker"> |
|
|
|
<span class="input-group-text"> |
|
|
|
<span class="fa fa-calendar" role="img" aria-label="Calendar"></span> |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="time_range" style=""> |
|
|
|
<a type="button" class="dropdown-toggle" data-bs-toggle="dropdown"> |
|
|
|
<span class="fa fa-calendar" title="Dates" role="img" aria-label="Dates"></span> |
|
|
|
Date Range |
|
|
|
</a> |
|
|
|
<div class="dropdown-menu" role="menu"> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="" for="date_from">Start Date :</label> |
|
|
|
<div class="input-group date" id="date_from" data-target-input="nearest"> |
|
|
|
<!-- <t t-set='date_formatted'><t t-options='{"widget": "date"}' t-esc="filter_data.date_from"/></t>--> |
|
|
|
<!-- <input type="text" name="date_from" class="form-control datetimepicker-input" t-att-value="date_formatted" data-target="#date_from" t-att-name="prefix"/>--> |
|
|
|
<input type="text" name="date_from" class="form-control datetimepicker-input" |
|
|
|
data-target="#date_from" t-att-name="prefix"/> |
|
|
|
|
|
|
|
<div class="input-group-append" data-target="#date_from" |
|
|
|
data-bs-toggle="datetimepicker"> |
|
|
|
<span class="input-group-text"> |
|
|
|
<span class="fa fa-calendar" role="img" aria-label="Calendar"></span> |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="journals_filter" style=""> |
|
|
|
<a type="button" class="dropdown-toggle" data-bs-toggle="dropdown"> |
|
|
|
<span class="fa fa-book"></span> |
|
|
|
Journals: |
|
|
|
</a> |
|
|
|
<select class="dropdown-menu journals" name="states[]" multiple="multiple"> |
|
|
|
<div role="separator" class="dropdown-divider"></div> |
|
|
|
<t t-foreach="filter_data.journals_list" t-as="journal"> |
|
|
|
|
|
|
|
<t t-if="journal[0]=='divider'"> |
|
|
|
<div role="separator" class="dropdown-divider"/> |
|
|
|
<label class="" for="date_to">End Date :</label> |
|
|
|
<div class="input-group date" id="date_to" data-target-input="nearest"> |
|
|
|
|
|
|
|
<option disabled="disabled" role="menuitem" t-attf-value="{{journal[0]}}"> |
|
|
|
<t t-esc="journal[1]"/> |
|
|
|
</option> |
|
|
|
<div role="separator" class="dropdown-divider"/> |
|
|
|
</t> |
|
|
|
<input type="text" name="date_to" class="form-control datetimepicker-input" |
|
|
|
data-target="#date_to" t-att-name="prefix"/> |
|
|
|
<div class="input-group-append" data-target="#date_to" data-bs-toggle="datetimepicker"> |
|
|
|
<span class="input-group-text"> |
|
|
|
<span class="fa fa-calendar" role="img" aria-label="Calendar"></span> |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="journals_filter" style=""> |
|
|
|
<a type="button" class="dropdown-toggle" data-bs-toggle="dropdown"> |
|
|
|
<span class="fa fa-book"></span> |
|
|
|
Journals: |
|
|
|
</a> |
|
|
|
<select class="dropdown-menu journals" name="states[]" multiple="multiple"> |
|
|
|
<div role="separator" class="dropdown-divider"></div> |
|
|
|
<t t-foreach="filter_data.journals_list" t-as="journal"> |
|
|
|
|
|
|
|
<t t-if="journal[0]=='divider'"> |
|
|
|
<div role="separator" class="dropdown-divider"/> |
|
|
|
|
|
|
|
<option disabled="disabled" role="menuitem" t-attf-value="{{journal[0]}}"> |
|
|
|
<t t-esc="journal[1]"/> |
|
|
|
</option> |
|
|
|
<div role="separator" class="dropdown-divider"/> |
|
|
|
</t> |
|
|
|
|
|
|
|
<t t-else=""> |
|
|
|
<option t-attf-value="{{journal[0]}}"> |
|
|
|
<t t-esc="journal[1]"/> |
|
|
|
</option> |
|
|
|
</t> |
|
|
|
|
|
|
|
</t> |
|
|
|
</select> |
|
|
|
<span id="journal_res"></span> |
|
|
|
</div> |
|
|
|
<t t-else=""> |
|
|
|
<option t-attf-value="{{journal[0]}}"> |
|
|
|
<t t-esc="journal[1]"/> |
|
|
|
</option> |
|
|
|
</t> |
|
|
|
|
|
|
|
<div class="search-Target-move" style=""> |
|
|
|
<a type="button" class="dropdown-toggle" data-bs-toggle="dropdown"> |
|
|
|
<span class="fa fa-filter"></span> |
|
|
|
Target Move: |
|
|
|
</a> |
|
|
|
<select id="entries" class="dropdown-menu target_move" name="states[]"> |
|
|
|
<div role="separator" class="dropdown-divider"></div> |
|
|
|
<option value="Posted">Posted Entries</option> |
|
|
|
<option value="All">All Entries</option> |
|
|
|
</select> |
|
|
|
<span id="post_res"></span> |
|
|
|
</div> |
|
|
|
<div style=""> |
|
|
|
<button type="button" id="apply_filter" class="btn btn-primary" |
|
|
|
style="top:0px;height:30px;color:white;background-color: #00A0AD;border-color: #00A0AD;"> |
|
|
|
Apply |
|
|
|
</button> |
|
|
|
</t> |
|
|
|
</select> |
|
|
|
<span id="journal_res"></span> |
|
|
|
</div> |
|
|
|
<div class="search-Target-move" style=""> |
|
|
|
<a type="button" class="dropdown-toggle" data-bs-toggle="dropdown"> |
|
|
|
<span class="fa fa-filter"></span> |
|
|
|
Target Move: |
|
|
|
</a> |
|
|
|
<select id="entries" class="dropdown-menu target_move" name="states[]"> |
|
|
|
<div role="separator" class="dropdown-divider"></div> |
|
|
|
<option value="Posted">Posted Entries</option> |
|
|
|
<option value="All">All Entries</option> |
|
|
|
</select> |
|
|
|
<span id="post_res"></span> |
|
|
|
</div> |
|
|
|
<div class="search-display_account" style=""> |
|
|
|
<a type="button" class="dropdown-toggle" data-bs-toggle="dropdown"> |
|
|
|
<span class="fa fa-filter"></span> |
|
|
|
Display Accounts: |
|
|
|
</a> |
|
|
|
<select id="display_accounts" class="dropdown-menu display_account" name="states[]"> |
|
|
|
<div role="separator" class="dropdown-divider"></div> |
|
|
|
<option value="movement">With movements</option> |
|
|
|
<option value="all">All</option> |
|
|
|
<option value="not_zero">With balance is not equal to 0</option> |
|
|
|
</select> |
|
|
|
<span id="display_account_res"></span> |
|
|
|
</div> |
|
|
|
<div style=""> |
|
|
|
<button type="button" id="apply_filter" class="btn btn-primary" |
|
|
|
style="top:0px;height:30px;color:white;background-color: #00A0AD;border-color: #00A0AD;"> |
|
|
|
Apply |
|
|
|
</button> |
|
|
|
|
|
|
|
</div> |
|
|
|
<!-- </div>--> |
|
|
|
</div> |
|
|
|
<!-- </div>--> |
|
|
|
|
|
|
|
|
|
|
|
<!-- </div>--> |
|
|
|
<!-- </div>--> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|