{% var visible_columns = row.get_visible_columns(["item_code", "warehouse", "item_name", "description", "amount", "stock_uom", "uom", "qty", "schedule_date"]); %} {% if(!doc) { %}
{%= __("Item") %}
{%= __("Qty") %}
{% } else { %}
{%= doc.item_code %} {% if(doc.item_name != doc.item_code) { %}
{%= doc.item_name %}{% } %} {% if(doc.item_name != doc.description) { %}

{%= doc.description %}

{% } %} {% include "templates/form_grid/includes/visible_cols.html" %} {% if(doc.schedule_date) { %}
{%= doc.get_formatted("schedule_date") %} {% } %}
{%= doc.get_formatted("qty") %} {%= doc.uom || doc.stock_uom %} {% var completed = 100 - cint((doc.qty - cint(doc.ordered_qty)) * 100 / doc.qty), title = __("Ordered"); %} {% include "templates/form_grid/includes/progress.html" %} {% if(doc.warehouse) { %}
{%= doc.warehouse %}
{% } %}
{% } %}