a broker system for Supercredit
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

159 líneas
5.0KB

  1. var dashboard = {
  2. "type": "wide",
  3. "css": "dashboard",
  4. "rows": [
  5. { "view": "toolbar", "css": "webix_dark", "padding": { "right": 10, "left": 10 },
  6. "elements": [
  7. { "view": "menu", "id": "menu", "subMenuPos": "bottom", "submenuConfig": { "autowidth": true },
  8. "data": [
  9. {
  10. "value": "SFM",
  11. "icon": "wxi-dots",
  12. "submenu": [
  13. { "value": "Summary", "icon": "wxi-calendar" },
  14. { "value": "Pending Jobs", "icon": "mdi mdi-notebook-check" },
  15. { "value": "Mass Mailing", "icon": "mdi mdi-email" },
  16. { "$template": "Separator" },
  17. { "value": "Logout", "icon": "mdi mdi-exit-run" }
  18. ]
  19. },
  20. {
  21. "value": "Loans",
  22. "autowidth": true,
  23. "icon": "mdi mdi-bank-transfer",
  24. "submenu": {
  25. "data": [
  26. { "value": "Add", "icon": "mdi mdi-table-column-plus-before" },
  27. { "$template": "Separator" },
  28. { "value": "Export", "icon": "mdi mdi-file-export" },
  29. { "value": "Import", "icon": "mdi mdi-file-upload" },
  30. { "$template": "Separator" },
  31. { "value": "New", "icon": "mdi mdi-file-export", "badge": "20" },
  32. { "value": "Submitted", "icon": "mdi mdi-file-upload", "badge": "50" },
  33. { "value": "Approved", "icon": "mdi mdi-file-upload", "badge": "35" },
  34. { "value": "Rejected", "icon": "mdi mdi-file-upload", "badge": "10" },
  35. { "value": "Settled", "icon": "mdi mdi-file-upload", "badge": "99" }
  36. ]
  37. }
  38. },
  39. {
  40. "value": "Clients",
  41. "icon": "mdi mdi-account-supervisor-circle",
  42. "submenu": [
  43. { "value": "Add", "icon": "mdi mdi-account-plus" },
  44. { "value": "Search", "icon": "mdi mdi-account-search" },
  45. { "value": "Broadcast", "icon": "mdi mdi-account-off" }
  46. ]
  47. },
  48. {
  49. "value": "Broker",
  50. "icon": "mdi mdi-account-details",
  51. "submenu": [
  52. { "value": "Add", "icon": "mdi mdi-account-plus" },
  53. { "value": "Search", "icon": "mdi mdi-account-search" },
  54. { "$template": "Separator" },
  55. { "value": "Broadcast", "icon": "mdi mdi-account-off" },
  56. { "$template": "Separator" },
  57. { "value": "Unpaid", "icon": "mdi mdi-file-upload" }
  58. ]
  59. }
  60. ],
  61. "type": { "subsign": true },
  62. "height": 0
  63. },
  64. { "view": "label", "label": "SuperCredit ", "align": "right", "height": 0 }
  65. ]
  66. },
  67. {
  68. "cols": [
  69. {
  70. "rows": [
  71. { "url": "demo->5f82268d61c7b80018b278d8", "view": "list", "height": 0 },
  72. {
  73. "url": "demo->5f82268d61c7b80018b278d5",
  74. "type": "bar",
  75. "xAxis": "#value#",
  76. "yAxis": {},
  77. "view": "chart",
  78. "height": 229
  79. }
  80. ],
  81. "width": 248
  82. },
  83. {
  84. "width":0 ,
  85. "rows" : [
  86. {
  87. "view": "datatable",
  88. "columns": [
  89. { "id": "funder", "header": "Funder", "fillspace": true, "sort": "string" },
  90. { "id": "customer", "header": "Customers", "sort": "string", "width": 200 },
  91. { "id": "settlement", "header": "Settlement date", "sort": "string" },
  92. { "id": "loanamount", "header": "Loan Amount", "sort": "string" },
  93. {
  94. "id": "commission",
  95. "header": "Commission Margin",
  96. "sort": "string",
  97. "width": 200,
  98. "fillspace": false,
  99. "hidden": false,
  100. "css": "{'text-align':'center'}"
  101. },
  102. {
  103. "id": "net",
  104. "header": "Net Amount",
  105. "sort": "string",
  106. "width": 150,
  107. "fillspace": false,
  108. "hidden": false
  109. },
  110. { "id": "gst", "header": "GST", "fillspace": false, "hidden": false },
  111. { "id": "gross", "header": "Gross Amount", "fillspace": false, "hidden": false },
  112. { "id": "pay2broker", "header": "Pay to Broker", "width": 200, "fillspace": false, "hidden": false }
  113. ],
  114. "select": true,
  115. "scrollX": false,
  116. "url" : "data/summary.json",
  117. "width": 0
  118. },
  119. {
  120. "view": "datatable",
  121. "columns": [
  122. { "id": "funder", "header": "", "fillspace": true, "sort": "string" },
  123. { "id": "customer", "header": "", "sort": "string", "width": 200 },
  124. { "id": "settlement", "header": " ", "sort": "string" },
  125. { "id": "loanamount", "header": " ", "sort": "string" },
  126. {
  127. "id": "commission",
  128. "header": " ",
  129. "sort": "string",
  130. "width": 200,
  131. "fillspace": false,
  132. "hidden": false,
  133. "css": "{'text-align':'center'}"
  134. },
  135. {
  136. "id": "net",
  137. "header": " ",
  138. "sort": "string",
  139. "width": 150,
  140. "fillspace": false,
  141. "hidden": false
  142. },
  143. { "id": "gst", "header": "", "fillspace": false, "hidden": false },
  144. { "id": "gross", "header": "", "fillspace": false, "hidden": false },
  145. { "id": "pay2broker", "header": "Total", "width": 200, "fillspace": false, "hidden": false }
  146. ],
  147. "height": 200,
  148. "url" : "data/summary.json"
  149. }
  150. ]
  151. },
  152. ]
  153. }
  154. ]
  155. };
  156. webix.ui(dashboard);