{% extends 'scm/base.html' %} {% block content %}

Goods Receipt

{% if messages %} {% for message in messages %}
{{ message }}
{% endfor %} {% endif %} {% if can_approve_gr %}
Goods Receipt - Pending SCM Approval
{% for gr_item in pending_grs %} {% empty %} {% endfor %}
GR No GR Date PO No Warehouse Received By Status Action
{{ gr_item.gr_no }} {{ gr_item.gr_date|date:"d-m-Y" }} {{ gr_item.po.po_no }} {{ gr_item.warehouse }} {{ gr_item.received_by }} {{ gr_item.status }} {% if can_approve_gr %}
{% csrf_token %}
{% else %} SCM approval required {% endif %}
No Goods Receipt submitted for SCM approval.
{% endif %} {% if not can_approve_gr %}
Goods Receipt - Draft
{% for draft in draft_grs %} {% empty %}{% endfor %}
GR NoGR DatePO NoWarehouseStatusAction
{{ draft.gr_no }}{{ draft.gr_date|date:"d-m-Y" }}{{ draft.po.po_no }}{{ draft.warehouse }}{{ draft.status }} Edit / Submit
No draft Goods Receipt.
Purchase Orders Available for Receiving
{% for item in pending_pos %} {% empty %} {% endfor %}
PO No PO Date Title Vendor Delivery Date Status Action
{{ item.po.po_no }} {{ item.po.po_date|date:"d-m-Y" }} {{ item.po.po_title }} {{ item.po.vendor }} {{ item.po.delivery_date|date:"d-m-Y" }} {{ item.receipt_status }} Receive
No Outstanding Purchase Order.
{% endif %}
{% endblock %}