Minor: General Ledger Report - print format improvements
This commit is contained in:
parent
f1af06c00d
commit
ebcb654649
@ -16,23 +16,24 @@
|
||||
<tr>
|
||||
{% if(data[i].posting_date) { %}
|
||||
<td>{%= dateutil.str_to_user(data[i].posting_date) %}</td>
|
||||
<td>{%= data[i].voucher_no %}</td>
|
||||
<td>{%= data[i].voucher_type%}
|
||||
<br>{%= data[i].voucher_no %}</td>
|
||||
<td>{%= data[i].account %}
|
||||
<br>{%= __("Against") %}: {%= data[i].account %}
|
||||
<br>{%= __("Remarks") %}: {%= data[i].remarks %}</td>
|
||||
<td style="text-align: right">{%= fmt_money(data[i].debit) %}</td>
|
||||
<td style="text-align: right">{%= fmt_money(data[i].credit) %}</td>
|
||||
<td style="text-align: right">{%= format_currency(data[i].debit) %}</td>
|
||||
<td style="text-align: right">{%= format_currency(data[i].credit) %}</td>
|
||||
{% } else { %}
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td><b>{%= data[i].account || " " %}</b></td>
|
||||
<td style="text-align: right">
|
||||
{%= data[i].account && fmt_money(data[i].debit) %}</td>
|
||||
{%= data[i].account && format_currency(data[i].debit) %}</td>
|
||||
<td style="text-align: right">
|
||||
{%= data[i].account && fmt_money(data[i].credit) %}</td>
|
||||
{%= data[i].account && format_currency(data[i].credit) %}</td>
|
||||
{% } %}
|
||||
</tr>
|
||||
{% } %}
|
||||
</tbody>
|
||||
</table>
|
||||
<p class="text-right text-muted">Printed On {%= dateutil.get_datetime_as_string() %}</p>
|
||||
<p class="text-right text-muted">Printed On {%= dateutil.str_to_user(dateutil.get_datetime_as_string()) %}</p>
|
||||
|
Loading…
x
Reference in New Issue
Block a user