{% extends 'adminBase.html.twig' %} {% block content %}

Purchase Order Detail

{% if pr_info[0]['fld13'] == '1' %} {{ pr_info[0]['description'] }} {% elseif pr_info[0]['fld13'] == '2' %} {{ pr_info[0]['description'] }} {% elseif pr_info[0]['fld13'] == '3' %} {{ pr_info[0]['description'] }} {% elseif pr_info[0]['fld13'] == '4' %} {{ pr_info[0]['description'] }} {% elseif pr_info[0]['fld13'] == '5' %} {{ pr_info[0]['description']}} {% elseif pr_info[0]['fld13'] == '6' %} {{ pr_info[0]['description'] }} {% endif %}

List of Items

{% for data in items %} {% endfor %}
Item Code Description QTY Estimated Cost Total Cost Status
{{ data.fld2 }} {{ data.fld3 }} {{ data.fld7 }} {{ data.fld8}} {{ data.fld9 }} {% if pr_info[0]['fld13'] == '1' %} {% if data.fld11 == '1' %} {% else %} {% endif %} {% elseif pr_info[0]['fld13'] == '2' %} {% if data.fld12 == '1' %} {% else %} {% endif %} {% elseif pr_info[0]['fld13'] == '3' %} {% if data.fld13 == '1' %} {% else %} {% endif %} {% elseif pr_info[0]['fld13'] == '4' %} {% if data.fld14 == '1' %} {% else %} {% endif %} {% elseif pr_info[0]['fld13'] == '5' %} {% if data.fld15 == '1' %} {% else %} {% endif %} {% endif %}
{% if pr_info[0]['fld13'] == '1' %} {% elseif pr_info[0]['fld13'] == '2' %} {% elseif pr_info[0]['fld13'] == '3' %} {% elseif pr_info[0]['fld13'] == '4' %} {% elseif pr_info[0]['fld13'] == '5' %} {% endif %}
{% endblock %}