mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-18 06:22:12 +00:00
fix: Handle None value for item description in customer portal invoice view (backport #43823) (#43889)
fix: Handle None value for item description in customer portal invoice view
(cherry picked from commit ceb449c75b)
Co-authored-by: ljain112 <ljain112@gmail.com>
This commit is contained in:
@@ -173,11 +173,11 @@
|
|||||||
<div class="col-xs-8 col-sm-10">
|
<div class="col-xs-8 col-sm-10">
|
||||||
{{ d.item_code }}
|
{{ d.item_code }}
|
||||||
<div class="text-muted small item-description">
|
<div class="text-muted small item-description">
|
||||||
{{ html2text(d.description) | truncate(140) }}
|
{{ html2text(d.description or "") | truncate(140) }}
|
||||||
</div>
|
</div>
|
||||||
<span class="text-muted mt-2 d-l-n order-qty">
|
<span class="text-muted mt-2 d-l-n order-qty">
|
||||||
{{ _("Qty ") }}({{ d.get_formatted("qty") }})
|
{{ _("Qty ") }}({{ d.get_formatted("qty") }})
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|||||||
Reference in New Issue
Block a user