style: Fixed indentation for visible heirarchy

This commit is contained in:
marination 2021-10-27 10:57:48 +05:30
parent f5594c865d
commit 3a32596784

View File

@ -12,7 +12,7 @@
{% endblock %}
{% block header_actions %}
<div class="dropdown">
<div class="dropdown">
<button class="btn btn-outline-secondary dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
<span class="font-md">{{ _('Actions') }}</span>
<b class="caret"></b>
@ -26,13 +26,11 @@
{{ _("Print") }}
</a>
</ul>
</div>
</div>
{% endblock %}
{% block page_content %}
<div class="row transaction-subheading">
<div class="row transaction-subheading">
<div class="col-6">
<span class="font-md indicator-pill {{ doc.indicator_color or ("blue" if doc.docstatus==1 else "darkgrey") }}">
{% if doc.doctype == "Quotation" and not doc.docstatus %}
@ -50,9 +48,9 @@
</p>
{% endif %}
</div>
</div>
</div>
<p class="small my-3">
<p class="small my-3">
{%- set party_name = doc.supplier_name if doc.doctype in ['Supplier Quotation', 'Purchase Invoice', 'Purchase Order'] else doc.customer_name %}
<b>{{ party_name }}</b>
@ -60,13 +58,13 @@
<br>
{{ doc.contact_display }}
{% endif %}
</p>
</p>
{% if doc._header %}
{{ doc._header }}
{% endif %}
{% if doc._header %}
{{ doc._header }}
{% endif %}
<div class="order-container">
<div class="order-container">
<!-- items -->
<table class="order-item-table w-100 table">
<thead class="order-items order-item-header">
@ -106,12 +104,11 @@
{% include "erpnext/templates/includes/order/order_taxes.html" %}
</table>
</div>
</div>
</div>
{% if enabled_checkout and ((doc.doctype=="Sales Order" and doc.per_billed <= 0)
{% if enabled_checkout and ((doc.doctype=="Sales Order" and doc.per_billed <= 0)
or (doc.doctype=="Sales Invoice" and doc.outstanding_amount > 0)) %}
<div class="panel panel-default">
<div class="panel panel-default">
<div class="panel-heading">
<div class="row">
<div class="form-column col-sm-6 address-title">
@ -153,12 +150,12 @@
</div>
</div>
</div>
{% endif %}
</div>
{% endif %}
{% if attachments %}
<div class="order-item-table">
{% if attachments %}
<div class="order-item-table">
<div class="row order-items order-item-header text-muted">
<div class="col-sm-12 h6 text-uppercase">
{{ _("Attachments") }}
@ -173,14 +170,15 @@
{% endfor %}
</div>
</div>
</div>
{% endif %}
</div>
{% if doc.terms %}
<div class="terms-and-condition text-muted small">
</div>
{% endif %}
</div>
{% if doc.terms %}
<div class="terms-and-condition text-muted small">
<hr><p>{{ doc.terms }}</p>
</div>
{% endif %}
</div>
{% endif %}
{% endblock %}
{% block script %}