mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 03:39:11 +00:00
fix: Show Offers section only if offers exist
This commit is contained in:
@@ -45,6 +45,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<!-- Offers -->
|
<!-- Offers -->
|
||||||
|
{% if doc.offers %}
|
||||||
<br>
|
<br>
|
||||||
<h3>Offers</h3>
|
<h3>Offers</h3>
|
||||||
<div class="offer-container">
|
<div class="offer-container">
|
||||||
@@ -70,6 +71,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<!-- Add to Cart / View in Cart, Contact Us -->
|
<!-- Add to Cart / View in Cart, Contact Us -->
|
||||||
<div class="mt-5 mb-5">
|
<div class="mt-5 mb-5">
|
||||||
|
|||||||
Reference in New Issue
Block a user