Merge pull request #14679 from pratu16x7/hotfix

[fix] yet another python attribute fetch
This commit is contained in:
Prateeksha Singh 2018-06-26 12:20:26 +05:30 committed by GitHub
commit d53d2ed791
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@
<div class="row transaction-subheading">
<div class="col-xs-6">
<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>
</div>
<div class="col-xs-6 text-muted text-right small">