<?xml version="1.0" encoding="UTF-8"?>
<dashboard xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <layout>DashboardLayoutTwoCols</layout>
  <title/>
  <auto_reload>
    <enabled>false</enabled>
    <interval>300</interval>
  </auto_reload>
  <cells xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <cell id="0">
      <rank>0</rank>
      <dashlets>
        <dashlet id="CUSTOM_Overviewclient_ID_row0_col1_18" xsi:type="DashletGroupByPie">
          <rank>0</rank>
          <title>Satisfaction Client - Projets</title>
          <query>SELECT `Project` FROM Project WHERE (`Project`.`close_date` &gt;= '2025-01-01 00:00:00') AND (`Project`.`status` != 'cancelled') AND (`Project`.`delivery_type` != 'days_order') AND (`Project`.`type` = 'Delivery')</query>
          <group_by>user_satisfaction</group_by>
          <style>pie</style>
          <aggregation_function>count</aggregation_function>
          <aggregation_attribute/>
          <limit/>
          <order_by>attribute</order_by>
          <order_direction>desc</order_direction>
        </dashlet>
      </dashlets>
    </cell>
    <cell id="1">
      <rank>1</rank>
      <dashlets>
        <dashlet id="CUSTOM_Overviewclient_ID_row0_col0_17" xsi:type="DashletObjectList">
          <rank>0</rank>
          <title>Projets en cours</title>
          <query>SELECT `Project` FROM Project AS `Project` WHERE (`Project`.`status` IN ('executed', 'alert', 'warning')) AND commandesap != 811210014 AND (`Project`.`type` = 'Delivery')</query>
          <menu>false</menu>
        </dashlet>
      </dashlets>
    </cell>
    <cell id="2">
      <rank>2</rank>
      <dashlets>
        <dashlet id="CUSTOM_Overviewclient_ID_row0_col0_11" xsi:type="DashletGroupByPie">
          <rank>0</rank>
          <title>Satisfaction Client - Incidents</title>
          <query>SELECT `Incident` FROM Incident AS `Incident` JOIN Organization AS `Organization` ON `Incident`.org_id = `Organization`.id JOIN Organization AS `Organization1` ON `Organization`.parent_id BELOW `Organization1`.id WHERE (`Incident`.`close_date` &gt;= '2025-01-01 00:00:00')AND (`Incident`.`team_id` IN ('0', '2', '2307', '1698', '994', '3', '1894', '2027', '2028', '13')) AND (`Organization1`.`id` NOT IN ('215','1955','225','55','222','226','227','231','20','224')) </query>
          <group_by>user_satisfaction</group_by>
          <style>pie</style>
          <aggregation_function>count</aggregation_function>
          <aggregation_attribute/>
          <limit/>
          <order_by>attribute</order_by>
          <order_direction>desc</order_direction>
        </dashlet>
      </dashlets>
    </cell>
    <cell id="3">
      <rank>3</rank>
      <dashlets>
        <dashlet id="CUSTOM_Overviewclient_ID_row0_col1_12" xsi:type="DashletGroupByPie">
          <rank>0</rank>
          <title>Satisfaction Client - Demandes</title>
          <query>SELECT `UserRequest` FROM UserRequest AS `UserRequest` JOIN Organization AS `Organization` ON `UserRequest`.org_id = `Organization`.id JOIN Organization AS `Organization1` ON `Organization`.parent_id BELOW `Organization1`.id 
WHERE 
(`UserRequest`.`close_date` &gt;= '2025-01-01 00:00:00') 
AND (`UserRequest`.`parent_request_id` = '0') AND (`UserRequest`.`service_id` NOT IN ('12', '17','18', '22','32','33'))
AND (`UserRequest`.`team_id` IN ('0', '2', '2307', '1698', '994', '3', '1894', '2027', '2028', '13')) 
AND (`Organization1`.`id` NOT IN ('215','1955','225','55','226','227','231','222','20','224'))</query>
          <group_by>user_satisfaction</group_by>
          <style>pie</style>
          <aggregation_function>count</aggregation_function>
          <aggregation_attribute/>
          <limit/>
          <order_by>attribute</order_by>
          <order_direction>desc</order_direction>
        </dashlet>
      </dashlets>
    </cell>
    <cell id="4">
      <rank>4</rank>
      <dashlets>
        <dashlet id="CUSTOM_Overviewclient_ID_row1_col0_7" xsi:type="DashletGroupByTable">
          <rank>0</rank>
          <title>Incidents ouverts /équipe</title>
          <query>SELECT `Incident` FROM Incident AS `Incident` JOIN Organization AS `Organization` ON `Incident`.org_id = `Organization`.id JOIN Organization AS `Organization1` ON `Organization`.parent_id BELOW `Organization1`.id 
WHERE 
(`Incident`.`status` NOT IN ('closed', 'resolved'))
AND (`Incident`.`team_id` IN ('0', '2', '2307', '1698', '994', '3', '1894', '2027', '2028', '13'))
AND (`Incident`.`parent_incident_id` = '0') 
AND (`Organization1`.`id` NOT IN ('215','1955','225','222','55','226','227','231','20','224'))</query>
          <group_by>team_id</group_by>
          <style>table</style>
          <aggregation_function>count</aggregation_function>
          <aggregation_attribute/>
          <limit/>
          <order_by>function</order_by>
          <order_direction>desc</order_direction>
        </dashlet>
      </dashlets>
    </cell>
    <cell id="5">
      <rank>5</rank>
      <dashlets>
        <dashlet id="CUSTOM_Overviewclient_ID_row1_col1_6" xsi:type="DashletGroupByTable">
          <rank>0</rank>
          <title>Demandes ouvertes /équipe</title>
          <query>SELECT `UserRequest` FROM UserRequest AS `UserRequest` JOIN Organization AS `Organization` ON `UserRequest`.org_id = `Organization`.id JOIN Organization AS `Organization1` ON `Organization`.parent_id BELOW `Organization1`.id 
WHERE 
(`UserRequest`.`status` NOT IN ('closed', 'resolved')) 
AND (`UserRequest`.`team_id` IN ('0', '2', '2307', '1698', '994', '3', '1894', '2027', '2028', '13')) 
AND (`UserRequest`.`parent_request_id` = '0') 
AND (`Organization1`.`id` NOT IN ('215','1955','222','225','55','226','227','231','20','224'))</query>
          <group_by>team_id</group_by>
          <style>table</style>
          <aggregation_function>count</aggregation_function>
          <aggregation_attribute/>
          <limit/>
          <order_by>function</order_by>
          <order_direction>desc</order_direction>
        </dashlet>
      </dashlets>
    </cell>
    <cell id="6">
      <rank>6</rank>
      <dashlets>
        <dashlet id="CUSTOM_Overviewclient_ID_row2_col0_15" xsi:type="DashletGroupByTable">
          <rank>0</rank>
          <title>Incidents ouverts /priorité</title>
          <query>SELECT `Incident` FROM Incident AS `Incident` JOIN Organization AS `Organization` ON `Incident`.org_id = `Organization`.id JOIN Organization AS `Organization1` ON `Organization`.parent_id BELOW `Organization1`.id 
WHERE 
(`Incident`.`status` NOT IN ('closed', 'resolved'))
AND (`Incident`.`team_id` IN ('0', '2', '2307', '1698', '994', '3', '1894', '2027', '2028', '13'))
AND (`Incident`.`parent_incident_id` = '0') 
AND (`Organization1`.`id` NOT IN ('215','1955','225','222','55','226','227','231','20','224'))</query>
          <group_by>priority</group_by>
          <style>table</style>
          <aggregation_function>count</aggregation_function>
          <aggregation_attribute/>
          <limit/>
          <order_by>attribute</order_by>
          <order_direction>desc</order_direction>
        </dashlet>
      </dashlets>
    </cell>
    <cell id="7">
      <rank>7</rank>
      <dashlets>
        <dashlet id="CUSTOM_Overviewclient_ID_row2_col1_16" xsi:type="DashletGroupByTable">
          <rank>0</rank>
          <title>Demandes ouvertes /priorité</title>
          <query>SELECT `UserRequest` FROM UserRequest AS `UserRequest` JOIN Organization AS `Organization` ON `UserRequest`.org_id = `Organization`.id JOIN Organization AS `Organization1` ON `Organization`.parent_id BELOW `Organization1`.id 
WHERE 
(`UserRequest`.`status` NOT IN ('closed', 'resolved')) 
AND (`UserRequest`.`team_id` IN ('0', '2', '2307', '1698', '994', '3', '1894', '2027', '2028', '13')) 
AND (`UserRequest`.`parent_request_id` = '0') 
AND (`Organization1`.`id` NOT IN ('215','1955','222','225','55','226','227','231','20','224'))</query>
          <group_by>priority</group_by>
          <style>table</style>
          <aggregation_function>count</aggregation_function>
          <aggregation_attribute/>
          <limit/>
          <order_by>attribute</order_by>
          <order_direction>desc</order_direction>
        </dashlet>
      </dashlets>
    </cell>
    <cell id="8">
      <rank>8</rank>
      <dashlets>
        <dashlet id="CUSTOM_Overviewclient_ID_row3_col0_13" xsi:type="DashletObjectList">
          <rank>0</rank>
          <title>Contrats</title>
          <query>SELECT `CustomerContract` FROM CustomerContract AS `CustomerContract` WHERE ((`CustomerContract`.`status` = 'production') AND (`CustomerContract`.`name` LIKE '%~%'))</query>
          <menu>false</menu>
        </dashlet>
      </dashlets>
    </cell>
    <cell id="9">
      <rank>9</rank>
      <dashlets>
        <dashlet id="CUSTOM_Overviewclient_ID_row3_col1_14" xsi:type="DashletObjectList">
          <rank>0</rank>
          <title>Parc Client</title>
          <query>SELECT `Tenedis_Template` FROM Tenedis_Template AS `Tenedis_Template` WHERE ((`Tenedis_Template`.`finalclass`  = 'Interdata_Assets') AND (`Tenedis_Template`.`status` = 'production'))</query>
          <menu>false</menu>
        </dashlet>
      </dashlets>
    </cell>
    <cell id="10">
      <rank>10</rank>
      <dashlets>
        <dashlet id="0" xsi:type="DashletEmptyCell">
          <rank>0</rank>
        </dashlet>
      </dashlets>
    </cell>
    <cell id="11">
      <rank>11</rank>
      <dashlets>
        <dashlet id="0" xsi:type="DashletEmptyCell">
          <rank>0</rank>
        </dashlet>
      </dashlets>
    </cell>
  </cells>
</dashboard>
