mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-21 14:09:19 +00:00
fix: minor changes in print templates
(cherry picked from commit 44e0b36093)
This commit is contained in:
@@ -72,6 +72,10 @@
|
|||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.report-subtitle {
|
||||||
|
margin: 10px 0 14px;
|
||||||
|
}
|
||||||
|
|
||||||
.text-center { text-align: center; }
|
.text-center { text-align: center; }
|
||||||
.text-right { text-align: right; font-variant-numeric: tabular-nums; }
|
.text-right { text-align: right; font-variant-numeric: tabular-nums; }
|
||||||
.text-left { text-align: left; }
|
.text-left { text-align: left; }
|
||||||
@@ -97,6 +101,11 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{% if (subtitle && subtitle.trim()) { %}
|
||||||
|
<div class="report-subtitle">
|
||||||
|
{{ subtitle }}
|
||||||
|
</div>
|
||||||
|
{% } else { %}
|
||||||
<div class="report-meta">
|
<div class="report-meta">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<div>
|
<div>
|
||||||
@@ -116,6 +125,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{% } %}
|
||||||
|
|
||||||
<div class="report-table">
|
<div class="report-table">
|
||||||
<table>
|
<table>
|
||||||
|
|||||||
@@ -72,6 +72,10 @@
|
|||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.report-subtitle {
|
||||||
|
margin: 10px 0 14px;
|
||||||
|
}
|
||||||
|
|
||||||
.text-center { text-align: center; }
|
.text-center { text-align: center; }
|
||||||
.text-right { text-align: right; font-variant-numeric: tabular-nums; }
|
.text-right { text-align: right; font-variant-numeric: tabular-nums; }
|
||||||
.text-left { text-align: left; }
|
.text-left { text-align: left; }
|
||||||
@@ -97,6 +101,11 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{% if (subtitle && subtitle.trim()) { %}
|
||||||
|
<div class="report-subtitle">
|
||||||
|
{{ subtitle }}
|
||||||
|
</div>
|
||||||
|
{% } else { %}
|
||||||
<div class="report-meta">
|
<div class="report-meta">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<div>
|
<div>
|
||||||
@@ -116,6 +125,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{% } %}
|
||||||
|
|
||||||
<div class="report-table">
|
<div class="report-table">
|
||||||
<table>
|
<table>
|
||||||
|
|||||||
Reference in New Issue
Block a user