[fix] yet another python attribute fetch

This commit is contained in:
Prateeksha Singh 2018-06-26 12:18:29 +05:30
parent d8031d1a53
commit 34aeefc0a1

View File

@ -20,7 +20,7 @@
<div class="row transaction-subheading"> <div class="row transaction-subheading">
<div class="col-xs-6"> <div class="col-xs-6">
<span class="indicator {{ doc.indicator_color or ("blue" if doc.docstatus==1 else "darkgrey") }}"> <span class="indicator {{ doc.indicator_color or ("blue" if doc.docstatus==1 else "darkgrey") }}">
{{ _(doc.indicator_title) or _(doc.status) or _("Submitted") }} {{ _(doc.get("status")) or _(doc.get("indicator_title")) or _("Submitted") }}
</span> </span>
</div> </div>
<div class="col-xs-6 text-muted text-right small"> <div class="col-xs-6 text-muted text-right small">