{% extends 'base.html.twig' %} {% set titleName = "Products Analytics" %} {% block title %} POWER DATA | {{titleName}} {% endblock %} {% block page %}{{titleName}}{% endblock %} {% block breadcrumb %} {% if titleName != "Home" %} {{titleName}} {% endif %} {% endblock %} {% block css %} {% endblock %} {% block content %}
{% for message in app.flashes('success') %} {% endfor %} {% for message in app.flashes('error') %} {% endfor %}
{% for interval in arrayOfIntervals %}

List of warehouse Products " {{ interval }} " [ {{ startDate }} - {{ endDate }} ]

{% if arrayTransactions[interval] is defined %} {% for transaction in arrayTransactions[interval] %} {% if transaction["stockWarehouse"] > 0 %} {% endif %} {% endfor %} {% endif %}
Jumia SKU Stock Total Details Comment
{{ transaction["jumiaSKU"] }} {{ transaction["stockWarehouse"] }} {{ transaction["total"] }} {{ transaction["details"] }} {{ transaction["cmnt"] }}
{% endfor %}

Tendance of 15 last days

List of stock warehouse - {{ arrayStockJumiaProducts|length - 1 }} products

{% for product in arrayStockJumiaProducts %} {% endfor %}
ShopSku SellerSku Name Stock W
{{ product["shopSku"] }} {{ product["sellerSku"] }} {{ product["name"] }} {{ product["stockWarehouse"] }}

List of proposition - products - {{ allSales }} sales

{% set productCounter = 0 %} {% for product in arrayOfProposition %} {% if product["numberOfSales"] >= 3 and product["stockDbr"] >= 3 and product["stockWarehouse"] <= 2 %} {% set productCounter = productCounter + 1 %} {% endif %} {% endfor %}
RefDbr Name Stock Dbr Number Of Sales Number Of Days Stars Moyenne Moyenne Global
{{ product["refDbr"] }} {{ product["name"] }} {{ product["stockDbr"] }} {{ product["numberOfSales"] }} {{ product["salesDays"]|length }} {{ product["stars"] }} {{ product["averageC"] }} {{ product["averageX"] }}

Bar Chart of last 4 months

{% endblock %} {% block script %} {% endblock %}