mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-05 21:29:11 +00:00
style(PSA): fix indentation
This commit is contained in:
@@ -6,39 +6,39 @@
|
|||||||
.print-format td {
|
.print-format td {
|
||||||
vertical-align:middle !important;
|
vertical-align:middle !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<div id="header-html" class="hidden-pdf">
|
<div id="header-html" class="hidden-pdf">
|
||||||
{% if letter_head.content %}
|
{% if letter_head.content %}
|
||||||
<div class="letter-head text-center">{{ letter_head.content }}</div>
|
<div class="letter-head text-center">{{ letter_head.content }}</div>
|
||||||
<hr style="height:2px;border-width:0;color:black;background-color:black;">
|
<hr style="height:2px;border-width:0;color:black;background-color:black;">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div id="footer-html" class="visible-pdf">
|
<div id="footer-html" class="visible-pdf">
|
||||||
{% if letter_head.footer %}
|
{% if letter_head.footer %}
|
||||||
<div class="letter-head-footer">
|
<div class="letter-head-footer">
|
||||||
<hr style="border-width:0;color:black;background-color:black;padding-bottom:2px;">
|
<hr style="border-width:0;color:black;background-color:black;padding-bottom:2px;">
|
||||||
{{ letter_head.footer }}
|
{{ letter_head.footer }}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2 class="text-center" style="margin-top:0">{{ _(report.report_name) }}</h2>
|
<h2 class="text-center" style="margin-top:0">{{ _(report.report_name) }}</h2>
|
||||||
<h4 class="text-center">
|
<h4 class="text-center">
|
||||||
{{ filters.customer_name }}
|
{{ filters.customer_name }}
|
||||||
</h4>
|
</h4>
|
||||||
<h6 class="text-center">
|
<h6 class="text-center">
|
||||||
{% if (filters.tax_id) %}
|
{% if (filters.tax_id) %}
|
||||||
{{ _("Tax Id: ") }}{{ filters.tax_id }}
|
{{ _("Tax Id: ") }}{{ filters.tax_id }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</h6>
|
</h6>
|
||||||
<h5 class="text-center">
|
<h5 class="text-center">
|
||||||
{{ _(filters.ageing_based_on) }}
|
{{ _(filters.ageing_based_on) }}
|
||||||
{{ _("Until") }}
|
{{ _("Until") }}
|
||||||
{{ frappe.format(filters.report_date, 'Date') }}
|
{{ frappe.format(filters.report_date, 'Date') }}
|
||||||
</h5>
|
</h5>
|
||||||
|
|
||||||
<div class="clearfix">
|
<div class="clearfix">
|
||||||
<div class="pull-left">
|
<div class="pull-left">
|
||||||
{% if(filters.payment_terms) %}
|
{% if(filters.payment_terms) %}
|
||||||
<strong>{{ _("Payment Terms") }}:</strong> {{ filters.payment_terms }}
|
<strong>{{ _("Payment Terms") }}:</strong> {{ filters.payment_terms }}
|
||||||
@@ -49,9 +49,9 @@
|
|||||||
<strong>{{ _("Credit Limit") }}:</strong> {{ frappe.utils.fmt_money(filters.credit_limit) }}
|
<strong>{{ _("Credit Limit") }}:</strong> {{ frappe.utils.fmt_money(filters.credit_limit) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if(filters.show_future_payments) %}
|
{% if(filters.show_future_payments) %}
|
||||||
{% set balance_row = data.slice(-1).pop() %}
|
{% set balance_row = data.slice(-1).pop() %}
|
||||||
{% for i in report.columns %}
|
{% for i in report.columns %}
|
||||||
{% if i.fieldname == 'age' %}
|
{% if i.fieldname == 'age' %}
|
||||||
@@ -142,8 +142,8 @@
|
|||||||
|
|
||||||
</table>
|
</table>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<table class="table table-bordered">
|
<table class="table table-bordered">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
{% if(report.report_name == "Accounts Receivable" or report.report_name == "Accounts Payable") %}
|
{% if(report.report_name == "Accounts Receivable" or report.report_name == "Accounts Payable") %}
|
||||||
@@ -331,13 +331,13 @@
|
|||||||
<td style="text-align: right"><b>{{ frappe.utils.fmt_money(data|sum(attribute="credit_note"), currency=data[0]["currency"]) }}</b></td>
|
<td style="text-align: right"><b>{{ frappe.utils.fmt_money(data|sum(attribute="credit_note"), currency=data[0]["currency"]) }}</b></td>
|
||||||
<td style="text-align: right"><b>{{ frappe.utils.fmt_money(data|sum(attribute="outstanding"), currency=data[0]["currency"]) }}</b></td>
|
<td style="text-align: right"><b>{{ frappe.utils.fmt_money(data|sum(attribute="outstanding"), currency=data[0]["currency"]) }}</b></td>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<br>
|
<br>
|
||||||
{% if ageing %}
|
{% if ageing %}
|
||||||
<h4 class="text-center">{{ _("Ageing Report based on ") }} {{ ageing.ageing_based_on }}
|
<h4 class="text-center">{{ _("Ageing Report based on ") }} {{ ageing.ageing_based_on }}
|
||||||
{{ _("up to " ) }} {{ frappe.format(filters.report_date, 'Date')}}
|
{{ _("up to " ) }} {{ frappe.format(filters.report_date, 'Date')}}
|
||||||
</h4>
|
</h4>
|
||||||
<table class="table table-bordered">
|
<table class="table table-bordered">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th style="width: 25%">0 - 30 Days</th>
|
<th style="width: 25%">0 - 30 Days</th>
|
||||||
@@ -356,11 +356,11 @@
|
|||||||
<td>{{ frappe.utils.fmt_money(ageing.range5, currency=filters.presentation_currency) }}</td>
|
<td>{{ frappe.utils.fmt_money(ageing.range5, currency=filters.presentation_currency) }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if terms_and_conditions %}
|
{% if terms_and_conditions %}
|
||||||
<div>
|
<div>
|
||||||
{{ terms_and_conditions }}
|
{{ terms_and_conditions }}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<p class="text-right text-muted">{{ _("Printed On ") }}{{ frappe.utils.now() }}</p>
|
<p class="text-right text-muted">{{ _("Printed On ") }}{{ frappe.utils.now() }}</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user