overview.xml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <?xml version="1.0"?>
  2. <dashboard xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  3. <layout>DashboardLayoutTwoCols</layout>
  4. <title>UI:RequestMgmtMenuOverview:Title</title>
  5. <cells>
  6. <cell>
  7. <dashlet id="1" xsi:type="DashletGroupByPie">
  8. <title>UI-RequestManagementOverview-RequestByType-last-14-days</title>
  9. <query>SELECT UserRequest WHERE DATE_SUB(NOW(), INTERVAL 14 DAY) &lt; start_date</query>
  10. <group_by>request_type</group_by>
  11. <style>pie</style>
  12. </dashlet>
  13. </cell>
  14. <cell>
  15. <dashlet id="2" xsi:type="DashletGroupByBars">
  16. <title>UI-RequestManagementOverview-Last-14-days</title>
  17. <query>SELECT UserRequest WHERE DATE_SUB(NOW(), INTERVAL 14 DAY) &lt; start_date</query>
  18. <group_by>start_date:day_of_month</group_by>
  19. <style>bars</style>
  20. </dashlet>
  21. </cell>
  22. <cell>
  23. <dashlet id="3" xsi:type="DashletGroupByTable">
  24. <title>UI-RequestManagementOverview-OpenRequestByStatus</title>
  25. <query>SELECT UserRequest WHERE status NOT IN ('closed','rejected')</query>
  26. <group_by>status</group_by>
  27. <style>table</style>
  28. </dashlet>
  29. </cell>
  30. <cell>
  31. <dashlet id="4" xsi:type="DashletGroupByTable">
  32. <title>UI-RequestManagementOverview-OpenRequestByAgent</title>
  33. <query>SELECT UserRequest WHERE status NOT IN ('closed','rejected')</query>
  34. <group_by>agent_id</group_by>
  35. <style>table</style>
  36. </dashlet>
  37. </cell>
  38. <cell>
  39. <dashlet id="5" xsi:type="DashletGroupByTable">
  40. <title>UI-RequestManagementOverview-OpenRequestByType</title>
  41. <query>SELECT UserRequest WHERE status NOT IN ('closed','rejected')</query>
  42. <group_by>finalclass</group_by>
  43. <style>table</style>
  44. </dashlet>
  45. </cell>
  46. <cell>
  47. <dashlet id="6" xsi:type="DashletGroupByTable">
  48. <title>UI-RequestManagementOverview-OpenRequestByCustomer</title>
  49. <query>SELECT UserRequest WHERE status NOT IN ('closed','rejected')</query>
  50. <group_by>org_id</group_by>
  51. <style>table</style>
  52. </dashlet>
  53. </cell>
  54. <cell>
  55. <dashlet id="0" xsi:type="DashletEmptyCell"/>
  56. </cell>
  57. <cell>
  58. <dashlet id="0" xsi:type="DashletEmptyCell"/>
  59. </cell>
  60. </cells>
  61. </dashboard>