{%= list.get_avatar_and_id(doc) %}
{% if(doc.status=="Draft") { %}
{%= doc.status %}
{% } else if(doc.status=="Submitted" && doc.per_ordered < 100) { %}
{%= __("Pending") %}
{% } else if(doc.status=="Submitted" && doc.per_ordered == 100) { %}
{%= __("Completed") %}
{% } else if(doc.status=="Stopped") { %}
{%= __("Stopped") %}
{% } %}