Merge pull request #12570 from rohitwaghchaure/currency_in_balance_column

Added currency in balance column in general ledger print
This commit is contained in:
Saurabh 2018-01-22 16:35:37 +07:00 committed by GitHub
commit e72915847c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,12 +17,12 @@
<table class="table table-bordered">
<thead>
<tr>
<th style="width: 15%">{%= __("Date") %}</th>
<th style="width: 12%">{%= __("Date") %}</th>
<th style="width: 15%">{%= __("Ref") %}</th>
<th style="width: 25%">{%= __("Party") %}</th>
<th style="width: 15%">{%= __("Debit") %}</th>
<th style="width: 15%">{%= __("Credit") %}</th>
<th style="width: 15%">{%= __("Balance") %}</th>
<th style="width: 18%">{%= __("Balance") %}</th>
</tr>
</thead>
<tbody>
@ -76,9 +76,11 @@
{% } %}
{% } %}
{% 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 { %}
<td style="text-align: right">{%= data[i].balance %}</td>
<td style="text-align: right">{%= get_currency_symbol()%}
{%= data[i].balance %}</td>
{% } %}
</tr>
{% } %}