Merge pull request #12570 from rohitwaghchaure/currency_in_balance_column
Added currency in balance column in general ledger print
This commit is contained in:
commit
e72915847c
@ -17,12 +17,12 @@
|
|||||||
<table class="table table-bordered">
|
<table class="table table-bordered">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th style="width: 15%">{%= __("Date") %}</th>
|
<th style="width: 12%">{%= __("Date") %}</th>
|
||||||
<th style="width: 15%">{%= __("Ref") %}</th>
|
<th style="width: 15%">{%= __("Ref") %}</th>
|
||||||
<th style="width: 25%">{%= __("Party") %}</th>
|
<th style="width: 25%">{%= __("Party") %}</th>
|
||||||
<th style="width: 15%">{%= __("Debit") %}</th>
|
<th style="width: 15%">{%= __("Debit") %}</th>
|
||||||
<th style="width: 15%">{%= __("Credit") %}</th>
|
<th style="width: 15%">{%= __("Credit") %}</th>
|
||||||
<th style="width: 15%">{%= __("Balance") %}</th>
|
<th style="width: 18%">{%= __("Balance") %}</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -76,9 +76,11 @@
|
|||||||
{% } %}
|
{% } %}
|
||||||
{% } %}
|
{% } %}
|
||||||
{% if(filters.print_in_account_currency) { %}
|
{% if(filters.print_in_account_currency) { %}
|
||||||
<td style="text-align: right">{%= data[i].balance_in_account_currency %}</td>
|
<td style="text-align: right">{%= get_currency_symbol(data[i].account_currency)%}
|
||||||
|
{%= data[i].balance_in_account_currency %}</td>
|
||||||
{% } else { %}
|
{% } else { %}
|
||||||
<td style="text-align: right">{%= data[i].balance %}</td>
|
<td style="text-align: right">{%= get_currency_symbol()%}
|
||||||
|
{%= data[i].balance %}</td>
|
||||||
{% } %}
|
{% } %}
|
||||||
</tr>
|
</tr>
|
||||||
{% } %}
|
{% } %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user