{%extends 'base.html' %} {%load static%} {%load helpers%} {% load i18n %} {% load humanize %} {% get_current_language as LANGUAGE_CODE %} {%block styles%} {% if LANGUAGE_CODE == 'ar' %} custom-rtl. {%else%} {%endif%} {%endblock%} {% block content %}
{% csrf_token %}
الرجاء إختيار تاريخ
الرجاء إختيار تاريخ
{% trans "اختر المصنع" %}

{% trans 'Dashboard' %}
{% trans 'This Data Is For The Period' %}
{% trans 'From' %} {{date_from|date:'Y-m-d'}} {% trans 'To' %} {{date_to|date:'Y-m-d'}}

{{total_maintenance_cost|as_integer|intcomma }} ({% get_currency %})

{% trans 'Total Maintainance Cost' %}

{% sum_of_data total_schedule_maintenance_cost total_unschedule_maintenance_cost as total_sc_unsc %}

{% trans 'Scheduled' %} : {{total_schedule_maintenance_cost|safe}}

{% trans 'Unscheduled' %} : {{total_unschedule_maintenance_cost|safe}}

{{total_schedule_maintenance_cost|as_integer|intcomma}} ({% get_currency %})

{% trans 'Total Scheduled Maintainance Cost' %}

{% sum_of_data total_schedule_cost_operations total_schedule_cost_spare_parts total_schedule_cost_other_costs as total_sc_unsc %}

{% trans 'Operation Cost' %} : {{total_schedule_cost_operations|safe}}

{% trans 'Spare Cost' %}: {{total_schedule_cost_spare_parts|safe}}

{% trans 'Human Cost' %} : {{total_schedule_cost_human_resource|safe}}

{% trans 'Other Cost' %} : {{total_schedule_cost_other_costs|safe}}

{{total_unschedule_maintenance_cost|as_integer|intcomma}} ({% get_currency %})

{% trans 'Total Unscheduled Maintainance Cost' %}

{% sum_of_data total_unschedule_cost_operations total_unschedule_cost_spare_parts total_unschedule_cost_other_costs as total_sc_unsc %}

{% trans 'Operation Cost' %} : {{total_unschedule_cost_operations|safe}}

{% trans 'Spare Cost' %} : {{total_unschedule_cost_spare_parts|safe}}

{% trans 'Human Cost' %} : {{total_unschedule_cost_human_resource|safe}}

{% trans 'Other Cost' %}: {{total_unschedule_cost_other_costs|safe}}

{% include 'charts-parts/maintenance-yearly-cost-and-budget-chart.html' %}
{% include 'charts-parts/maintenance-yearly-cost-chart.html' %}
{% include 'charts-parts/maintenance-type-cost-chart.html' %}
{% include 'charts-parts/maintenance-monthly-cost-chart.html' %}
{% comment %}

Total Maintainance Cost

{{total_maintenance_cost|as_integer|intcomma }} ({% get_currency %})

{% include 'charts-parts/total-mintenance-cost-schedule-and-unschedule.html' %}

Total Scheduled Maintainance Cost

{{total_schedule_maintenance_cost|as_integer|intcomma}} ({% get_currency %})

{% include 'charts-parts/total-mintenance-cost-schedule.html' %}

Total Unscheduled Maintainance Cost

{{total_unschedule_maintenance_cost|as_integer|intcomma}} ({% get_currency %})

{% include 'charts-parts/total-mintenance-cost-unschedule.html' %}
{% endcomment %}
{% include 'charts-parts/assets-total-maintenance-cost-chart.html' %}
{% include 'charts-parts/equipments-total-maintenance-cost-chart.html' %}
{% include 'charts-parts/malfunctions-count-chart.html' %}

{{getNaive_DoneMaintenanceOrder_sum}}

{% trans 'Maintainance Order Count'%}


{% include 'charts-parts/total-mintenance-count-schedule-and-unschedule.html' %}

{{getscheduled_DoneMaintenanceOrder_sum}}

{% trans 'Scheduled Maintainance Order Count' %}


{% include 'charts-parts/total-mintenance-count-schedule.html' %}

{{getunscheduled_DoneMaintenanceOrder_sum}}

{% trans 'Unscheduled Maintainance Order Count' %}


{% include 'charts-parts/total-mintenance-count-unschedule.html' %}
{% include 'charts-parts/statistics.html' %}
{% endblock %} {% block Extrajavascripts %} {% endblock %}