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