mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-19 20:56:56 +00:00
fix: only show filters in print view if 'Include filters' is enabled
(cherry picked from commit 1979879b07)
# Conflicts:
# erpnext/accounts/report/general_ledger/general_ledger.html
Co-authored-by: Nareshkanna S <nareshkannashanmugam@gmail.com>
This commit is contained in:
@@ -164,6 +164,12 @@
|
|||||||
{% } %}
|
{% } %}
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
<div class="show-filters">
|
||||||
|
{% if subtitle %}
|
||||||
|
{{ subtitle }}
|
||||||
|
<hr>
|
||||||
|
{% endif %}
|
||||||
|
</div>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for(var i=0, l=data.length; i<l; i++) { %}
|
{% for(var i=0, l=data.length; i<l; i++) { %}
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@@ -34,6 +34,12 @@
|
|||||||
</h5>
|
</h5>
|
||||||
{% } %}
|
{% } %}
|
||||||
<hr>
|
<hr>
|
||||||
|
<div class="show-filters">
|
||||||
|
{% if subtitle %}
|
||||||
|
{{ subtitle }}
|
||||||
|
<hr>
|
||||||
|
{% endif %}
|
||||||
|
</div>
|
||||||
<table class="table table-bordered">
|
<table class="table table-bordered">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@@ -21,6 +21,12 @@
|
|||||||
{%= frappe.datetime.str_to_user(filters.to_date) %}
|
{%= frappe.datetime.str_to_user(filters.to_date) %}
|
||||||
</h5>
|
</h5>
|
||||||
<hr>
|
<hr>
|
||||||
|
<div class="show-filters">
|
||||||
|
{% if subtitle %}
|
||||||
|
{{ subtitle }}
|
||||||
|
<hr>
|
||||||
|
{% endif %}
|
||||||
|
</div>
|
||||||
<table class="table table-bordered">
|
<table class="table table-bordered">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
Reference in New Issue
Block a user