{% extends 'base.html' %} {% load static %} {% block title %}Dashboard | IQBlending{% endblock %} {% block content %}

BLENDING PLATFORM

Blend Details


{% if d1 %}

BLEND DETAILS

BLEND NUMBER : {{ d.blend_number }} / ({{ d.blend_number_2 }})   {% if d.result == 'PASS' %}{{d.result}}{% elif d.result == 'FAIL' %}{{d.result}}{% endif %} {% if d.status == 'APPROVED' %} & APPROVED{% endif %}
PRODUCT : {{ d.product }}
TANK NUMBER : {{ d.tank_number }}
DATE BLENDED : {{ d.date_blended }}
VOLUME : {{ d.volume_in_ltr }} Litres
STATUS : {{ d.status }}

ALCOHOL

ALCOHOL STRENGTH : {{ d.alcohol_strength }} %

ALCOHOL SOURCE : {{ d.alcohol_source }}

ALCOHOL TASTING SCORE : {{ d.alcohol_tasting_score }}


DEMIN WATER

DEMIN WATER PLANT : {{ d.demin_water_plant }}

DEMIN WATER PH : {{ d.demin_water_ph }}

DEMIN WATER CONDUCTIVITY : {{ d.demin_water_conductivity }} µ

DEMIN WATER CHLORINE : {{ d.demin_water_chlorine }}

DEMIN WATER IRON : {{ d.demin_water_iron }}

DEMIN WATER CALCIUM : {{ d.demin_water_calcium }}

DEMIN WATER CAUSTIC CODE : {{ d.demin_water_caustic_code }}

DEMIN WATER HCL CODE : {{ d.demin_water_hcl_code }}


SUGAR SYRUP

SUGAR BRIX : {{ d.sugar_brix }}

SUGAR PH : {{ d.sugar_ph }}

SUGAR CONDUCTIVITY : {{ d.sugar_conductivity }}

SUGAR TEMPERATURE : {{ d.sugar_temperature }}

SUGAR PASS OR FAIL : {{ d.sugar_pass_or_fail }}


PRODUCT

PRODUCT ALCOHOLIC STRENGTH : {{ d.product_alcoholic_strength }} %

PRODUCT COLOR : {{ d.product_color }}

PRODUCT PH : {{ d.product_ph }}

PRODUCT CONDUCTIVITY : {{ d.product_conductivity }} µ

PRODUCT TASTING RESULT : {{ d.product_tasting_result }}

PRODUCT BRIX : {{ d.product_brix }}

RESULT : {{ d.result }}

STATUS : {{ d.status }}

HYGIENE : {{ d.hygiene }}

COMMENT : {{ d.comment }}

FORMS IMAGES UPLOADED : {{ d.forms_images_uploaded }}


BLENDED

BLENDING INSPECTOR : {{ d.blending_inspector }} at {{d.datetime}}


CHECKED

CHECKED BY BMO : {{ d.checked_by }} at {{d.checked_by_date}}

BMO COMMENT : {{ d.checked_comment }}

{% if d.is_approved %}

APPROVED

APPROVED BY : {{ d.approved_by }} at {{d.approval_date}}

APPROVER COMMENT : {{ d.approver_comment }}

{% endif %}
{% endif %}
{% if disputes|length > 0 %}
DISPUTES
    {% for d in disputes %}
  1. {{d.dispute|upper}}

    Created by {{d.created_by}} at {{d.datetime_created}}

    {% if d.status == 'OPEN' %}CLOSE{% else %}STATUS : {{d.status}}{% endif %}

  2. {% endfor %}

{% else %}
NO DISPUTES FOUND

{% endif %}
{% if d2 %}
INGREDIENTS
{% for r in d2 %} {% endfor %}
INGREDIENT QUANTITY SUPPLIER CODE SUPPLY DATE RECORDED BY DATE RECORDED
{{ forloop.counter }} {{r.ingredient}} {{r.quantity}} {{r.supplier}} {{r.ingredient_code}} {{r.date_of_supply}} {{r.username}} {{r.datetime}}
{% else %}
No Ingredients have been added to this Blend
{% endif %} {% if d.status == 'BLENDED' %}
{% csrf_token %}
CBMO CHECK FORM


{% endif %} {% if d.status == 'CHECKED' %}
{% csrf_token %}
BLEND BOTTLED FORM


{% endif %} {% if d.status == 'CHECKED' %}
{% csrf_token %}

QAM APPROVAL FORM



{% endif %}
{% if d.status != 'BLENDED' %} {% if user_data.role == 'SUPERADMIN' or user_data.role == 'ADMIN' %} ADD INGREDIENT {% endif %} {% else %} ADD INGREDIENT UPDATE {% endif %} DISPUTE PRINT DESPATCH PRINT REPORT {% if d.status != 'BOTTLED' %} JOIN BLEND {% endif %} {% if user_data.role == 'SUPERADMIN' or user_data.role == 'ADMIN' %} {% if d.status == 'BLENDED' %} {% endif %} {% if d.status == 'CHECKED' %} {% endif %} {% endif %} {% if user_data.role == 'SUPERADMIN' or user_data.role == 'MANAGER-ADMIN' %} {% if d.status == 'CHECKED' %} {% endif %} {% endif %}

{% endblock %}