{%= list.get_avatar_and_id(doc) %}
{% if(doc.outstanding_amount > 0 && doc.docstatus==1) { %} {% if(frappe.datetime.get_diff(doc.due_date) < 0) { %} {%= __("Overdue: ") + comment_when(doc.due_date) %} {% } else { %} {%= doc.get_formatted("due_date") %} {% } %} {% } %} {% if(doc.outstanding_amount==0 && doc.docstatus==1) { %} {%= __("Paid") %} {% } %} {% if(doc.docstatus===0) { %} {%= __("Draft") %} {% } %}
{%= doc.get_formatted("grand_total_import") %}