brotherton-erpnext/erpnext/accounts/report/general_ledger/general_ledger.html

39 lines
1.3 KiB
HTML
Raw Normal View History

2014-06-12 13:22:47 +00:00
<h2 class="text-center">Statement of Account</h2>
<h4 class="text-center">{%= filters.account || "General Ledger" %}</h3>
<hr>
<table class="table table-bordered">
<thead>
<tr>
<th style="width: 10%">{%= __("Date") %}</th>
<th style="width: 15%">{%= __("Ref") %}</th>
<th style="width: 45%">{%= __("Party") %}</th>
<th style="width: 15%">{%= __("Debit") %}</th>
<th style="width: 15%">{%= __("Credit") %}</th>
</tr>
</thead>
<tbody>
{% for(var i=0, l=data.length; i<l; i++) { %}
<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].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>
{% } else { %}
<td></td>
<td></td>
<td><b>{%= data[i].account || "&nbsp;" %}</b></td>
<td style="text-align: right">
{%= data[i].account && fmt_money(data[i].debit) %}</td>
<td style="text-align: right">
{%= data[i].account && fmt_money(data[i].credit) %}</td>
{% } %}
</tr>
{% } %}
</tbody>
</table>
<p class="text-right text-muted">Printed On {%= dateutil.get_datetime_as_string() %}</p>