Browse Source

Sep 28 : [ADD] Initial Commit 'legal_case_management_dashboard'

pull/284/head
RisvanaCybro 2 years ago
parent
commit
b49a41a21e
  1. 46
      legal_case_management_dashboard/README.rst
  2. 22
      legal_case_management_dashboard/__init__.py
  3. 54
      legal_case_management_dashboard/__manifest__.py
  4. 22
      legal_case_management_dashboard/controllers/__init__.py
  5. 262
      legal_case_management_dashboard/controllers/legal_case_management_dashboard.py
  6. 7
      legal_case_management_dashboard/doc/RELEASE_NOTES.md
  7. BIN
      legal_case_management_dashboard/static/description/assets/icons/check.png
  8. BIN
      legal_case_management_dashboard/static/description/assets/icons/chevron.png
  9. BIN
      legal_case_management_dashboard/static/description/assets/icons/cogs.png
  10. BIN
      legal_case_management_dashboard/static/description/assets/icons/consultation.png
  11. BIN
      legal_case_management_dashboard/static/description/assets/icons/ecom-black.png
  12. BIN
      legal_case_management_dashboard/static/description/assets/icons/education-black.png
  13. BIN
      legal_case_management_dashboard/static/description/assets/icons/hotel-black.png
  14. BIN
      legal_case_management_dashboard/static/description/assets/icons/license.png
  15. BIN
      legal_case_management_dashboard/static/description/assets/icons/lifebuoy.png
  16. BIN
      legal_case_management_dashboard/static/description/assets/icons/manufacturing-black.png
  17. BIN
      legal_case_management_dashboard/static/description/assets/icons/pos-black.png
  18. BIN
      legal_case_management_dashboard/static/description/assets/icons/puzzle.png
  19. BIN
      legal_case_management_dashboard/static/description/assets/icons/restaurant-black.png
  20. BIN
      legal_case_management_dashboard/static/description/assets/icons/service-black.png
  21. BIN
      legal_case_management_dashboard/static/description/assets/icons/trading-black.png
  22. BIN
      legal_case_management_dashboard/static/description/assets/icons/training.png
  23. BIN
      legal_case_management_dashboard/static/description/assets/icons/update.png
  24. BIN
      legal_case_management_dashboard/static/description/assets/icons/user.png
  25. BIN
      legal_case_management_dashboard/static/description/assets/icons/wrench.png
  26. BIN
      legal_case_management_dashboard/static/description/assets/misc/categories.png
  27. BIN
      legal_case_management_dashboard/static/description/assets/misc/check-box.png
  28. BIN
      legal_case_management_dashboard/static/description/assets/misc/compass.png
  29. BIN
      legal_case_management_dashboard/static/description/assets/misc/corporate.png
  30. BIN
      legal_case_management_dashboard/static/description/assets/misc/customer-support.png
  31. BIN
      legal_case_management_dashboard/static/description/assets/misc/cybrosys-logo.png
  32. BIN
      legal_case_management_dashboard/static/description/assets/misc/features.png
  33. BIN
      legal_case_management_dashboard/static/description/assets/misc/logo.png
  34. BIN
      legal_case_management_dashboard/static/description/assets/misc/pictures.png
  35. BIN
      legal_case_management_dashboard/static/description/assets/misc/pie-chart.png
  36. BIN
      legal_case_management_dashboard/static/description/assets/misc/right-arrow.png
  37. BIN
      legal_case_management_dashboard/static/description/assets/misc/star.png
  38. BIN
      legal_case_management_dashboard/static/description/assets/misc/support.png
  39. BIN
      legal_case_management_dashboard/static/description/assets/misc/whatsapp.png
  40. BIN
      legal_case_management_dashboard/static/description/assets/modules/advanced_dynamic_dashboard.png
  41. BIN
      legal_case_management_dashboard/static/description/assets/modules/odoo_dynamic_dashboard.png
  42. BIN
      legal_case_management_dashboard/static/description/assets/modules/odoo_website_helpdesk_dashboard.png
  43. BIN
      legal_case_management_dashboard/static/description/assets/modules/product_management_app.png
  44. BIN
      legal_case_management_dashboard/static/description/assets/modules/project_dashboard_odoo.png
  45. BIN
      legal_case_management_dashboard/static/description/assets/modules/salon_management.png
  46. BIN
      legal_case_management_dashboard/static/description/assets/screenshots/1.png
  47. BIN
      legal_case_management_dashboard/static/description/assets/screenshots/2.png
  48. BIN
      legal_case_management_dashboard/static/description/assets/screenshots/3.png
  49. BIN
      legal_case_management_dashboard/static/description/assets/screenshots/4.png
  50. BIN
      legal_case_management_dashboard/static/description/assets/screenshots/5.png
  51. BIN
      legal_case_management_dashboard/static/description/assets/screenshots/6.png
  52. BIN
      legal_case_management_dashboard/static/description/assets/screenshots/hero.gif
  53. BIN
      legal_case_management_dashboard/static/description/banner.png
  54. BIN
      legal_case_management_dashboard/static/description/icon.png
  55. BIN
      legal_case_management_dashboard/static/description/icons/check.png
  56. BIN
      legal_case_management_dashboard/static/description/icons/chevron.png
  57. BIN
      legal_case_management_dashboard/static/description/icons/cogs.png
  58. BIN
      legal_case_management_dashboard/static/description/icons/consultation.png
  59. BIN
      legal_case_management_dashboard/static/description/icons/ecom-black.png
  60. BIN
      legal_case_management_dashboard/static/description/icons/education-black.png
  61. BIN
      legal_case_management_dashboard/static/description/icons/hotel-black.png
  62. BIN
      legal_case_management_dashboard/static/description/icons/license.png
  63. BIN
      legal_case_management_dashboard/static/description/icons/lifebuoy.png
  64. BIN
      legal_case_management_dashboard/static/description/icons/manufacturing-black.png
  65. BIN
      legal_case_management_dashboard/static/description/icons/pos-black.png
  66. BIN
      legal_case_management_dashboard/static/description/icons/puzzle.png
  67. BIN
      legal_case_management_dashboard/static/description/icons/restaurant-black.png
  68. BIN
      legal_case_management_dashboard/static/description/icons/service-black.png
  69. BIN
      legal_case_management_dashboard/static/description/icons/trading-black.png
  70. BIN
      legal_case_management_dashboard/static/description/icons/training.png
  71. BIN
      legal_case_management_dashboard/static/description/icons/update.png
  72. BIN
      legal_case_management_dashboard/static/description/icons/user.png
  73. BIN
      legal_case_management_dashboard/static/description/icons/wrench.png
  74. 699
      legal_case_management_dashboard/static/description/index.html
  75. 32
      legal_case_management_dashboard/static/src/css/style.css
  76. BIN
      legal_case_management_dashboard/static/src/image/brief_case.png
  77. BIN
      legal_case_management_dashboard/static/src/image/client.jpg
  78. BIN
      legal_case_management_dashboard/static/src/image/dollar_img.png
  79. BIN
      legal_case_management_dashboard/static/src/image/evidence-img.png
  80. BIN
      legal_case_management_dashboard/static/src/image/img_trial.png
  81. BIN
      legal_case_management_dashboard/static/src/image/lawyer img.png
  82. 345
      legal_case_management_dashboard/static/src/js/dashboard_action.js
  83. 204
      legal_case_management_dashboard/static/src/xml/dashboard_template.xml
  84. 12
      legal_case_management_dashboard/views/legal_case_management_dashboard_menus.xml

46
legal_case_management_dashboard/README.rst

@ -0,0 +1,46 @@
.. image:: https://img.shields.io/badge/licence-LGPL--3-green.svg
:target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
Legal Case Management Dashboard
===============================
This module helps to View Overview of the Legal Case Management firm.
Configuration
-------------
- www.odoo.com/documentation/16.0/setup/install.html
- Install our custom addon with legal_case_management module.
Company
-------
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__
License
-------
General Public License, Version 3 (LGPL v3).
(https://www.gnu.org/licenses/lgpl-3.0-standalone.html)
Credits
-------
Developer: (V16) Mohammed Dilshad Tk, Contact: odoo@cybrosys.com
Contacts
--------
* Mail Contact : odoo@cybrosys.com
* Website : https://cybrosys.com
Bug Tracker
-----------
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported.
Maintainer
==========
.. image:: https://cybrosys.com/images/logo.png
:target: https://cybrosys.com
This module is maintained by Cybrosys Technologies.
For support and more information, please visit `Our Website <https://cybrosys.com/>`__
Further information
===================
HTML Description: `<static/description/index.html>`__

22
legal_case_management_dashboard/__init__.py

@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Mohammed Dilshad Tk (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
###############################################################################
from . import controllers

54
legal_case_management_dashboard/__manifest__.py

@ -0,0 +1,54 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Mohammed Dilshad Tk (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
###############################################################################
{
'name': "Legal Case Management Dashboard",
'version': '16.0.1.0.0',
'category': 'Industries',
'summary': """Legal Case Management Dashboard to get an overview of
legal case management module.""",
'description': """This module helps you to view an detailed overview of all
working of the Legal Case Management management module with graphs and
dashboard clickable cards in odoo 16.""",
'author': 'Cybrosys Techno Solutions',
'company': 'Cybrosys Techno Solutions',
'maintainer': 'Cybrosys Techno Solutions',
'website': 'https://www.cybrosys.com',
'depends': ['legal_case_management'],
'data': [
'views/legal_case_management_dashboard_menus.xml',
],
'assets': {
'web.assets_backend': [
'legal_case_management_dashboard/static/src/js/dashboard_action.js',
'legal_case_management_dashboard/static/src/xml'
'/dashboard_template.xml',
'legal_case_management_dashboard/static/src/css/style.css',
"https://www.gstatic.com/charts/loader.js",
"https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.4/Chart.js",
],
},
'images': ['static/description/banner.png'],
'license': 'LGPL-3',
'installable': True,
'auto_install': False,
'application': False,
}

22
legal_case_management_dashboard/controllers/__init__.py

@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Mohammed Dilshad Tk (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
###############################################################################
from . import legal_case_management_dashboard

262
legal_case_management_dashboard/controllers/legal_case_management_dashboard.py

@ -0,0 +1,262 @@
"""Legal Case Management Dashboard"""
# -*- coding: utf-8 -*-
###############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Mohammed Dilshad Tk (odoo@cybrosys.com)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
###############################################################################
from datetime import date, timedelta
from odoo import fields, http
from odoo.http import request
class CaseDashboard(http.Controller):
"""Values for chart and dashboard when filter not applied"""
@http.route('/case/dashboard', type='json', auth='user')
def _get_case_dashboard_values(self):
"""Values for charts, graph and dashboard cards without filtering"""
moves, inv, client, inv_list, lawyers = [], [], [], [], []
data_list = [['Month', 'Income']]
stage_count = [['Stage', 'Cases']]
case_category = [['Category', 'Number']]
lawyer_object = None
draft_count, in_progress_count, invoiced_count, reject_count = 0, 0, 0, 0
won_count, lost_count, cancel_count, inv_amt = 0, 0, 0, 0
today_date = fields.Date.today()
cases = request.env['case.registration'].search([])
# getting last 1 year month range for bar chart
for num in range(0, 13):
month_sub = timedelta(days=num * 30)
current_first_date = today_date.replace(day=5)
range_date = current_first_date - month_sub
first_day = range_date.replace(day=1)
last_day = range_date.replace(day=1) + timedelta(days=32)
last_day = last_day.replace(day=1) - timedelta(days=1)
month_name = range_date.strftime("%b")
monthly_invoice = 0
for invoices in request.env['account.move'].search([]):
if invoices.case_ref:
inv_date = invoices.invoice_date
if first_day < inv_date < last_day:
monthly_invoice += invoices.amount_total
data_list.append([month_name, monthly_invoice])
# Calculate count of case in different category's
for category_id in request.env['case.category'].search([]):
case_count = request.env['case.registration'].search_count(
[('case_category_id', '=', category_id.id)])
case_category.append([category_id.name, case_count])
for case in cases:
# lawyers.append(case.lawyer_id.id)
for invoices in request.env['account.move'].search([]):
if case.name == invoices.case_ref:
# add case name, amount invoiced into list then it look
# like [Case0001, 5500.5]
inv_list.append([case.name, invoices.amount_total])
if case.state == 'draft':
draft_count += 1
if case.state == 'in_progress':
in_progress_count += 1
if case.state == 'invoiced':
invoiced_count += 1
if case.state == 'reject':
reject_count += 1
if case.state == 'won':
won_count += 1
if case.state == 'lost':
lost_count += 1
if case.state == 'cancel':
cancel_count += 1
client.append(case.client_id.id)
for total_invoices in request.env['account.move'].search(
[('case_ref', '=', case.name)]):
if total_invoices:
inv.append(total_invoices)
moves.append(total_invoices.id)
inv_amt += total_invoices.amount_total
case_dict = {}
for case, amount in inv_list:
if case in case_dict:
case_dict[case] += amount # add amount to existing case
else:
case_dict[case] = amount # add new case to dictionary
# Add all invoice amount to each case names and in to list
total_inv_lis = [[case, amount] for case, amount in case_dict.items()]
sorted_cases = sorted(total_inv_lis, key=lambda case: case[1],
reverse=True)
top_10_cases = sorted_cases[:10]
# appending count of each stages into stage_count
stage_count.append(['Draft', draft_count])
stage_count.append(['In Progress', in_progress_count])
stage_count.append(['Invoiced', invoiced_count])
stage_count.append(['Reject', reject_count])
stage_count.append(['Won', won_count])
stage_count.append(['Lost', lost_count])
stage_count.append(['Cancel', cancel_count])
evidence = request.env['legal.evidence'].search([])
trial = request.env['legal.trial'].search([])
lawyers = request.env['hr.employee'].search([]).filtered(
lambda employee: not employee.parent_id and
employee.is_lawyer is True)
# extract integer from lawyers list which contains false
lawyer_list = list(filter(lambda x: x is not False, lawyers))
#append['Case', 'Revenue']in to 0th index of list for pass to donut chart
top_10_cases.insert(0, ['Case', 'Revenue'])
user_id = request.env.uid
login_user = request.env['res.users'].search(
[('employee_id.user_id', '=', user_id)])
if login_user.has_group('legal_case_management.lawyer_access'):
if not login_user.has_group('legal_case_management.admin_access'):
lawyer_object = login_user.employee_id
else:
lawyer_object = None
return {'total_case': len(cases),
'invoices': inv,
'total_invoiced': round(inv_amt, 4),
'lawyers': len(lawyer_list),
'lawyer_ids': lawyer_list,
'evidences': len(evidence),
'trials': len(trial),
'clients': len(list(set(client))),#remove duplicates from list
'clients_in_case': client,
'case_category': case_category,
'data_list': data_list,
'stage_count': stage_count,
'invoice_list': total_inv_lis,
'top_10_cases': top_10_cases,
'user_id': user_id,
'lawyer_object': lawyer_object,
}
class AddLawyerSelectionFieldController(http.Controller):
"""Add lawyers as selection values in Dashboard"""
@http.route('/selection/field/lawyer', type='json', auth='user',
csrf=False)
def add_lawyer_selection_field(self):
"""Adding lawyers to selection of filter"""
return [{'name': lawyer.name,
'id': lawyer.id
} for lawyer in request.env['hr.employee'].search(
[('is_lawyer', '=', True), ('parent_id', '=', False)])]
def date_filter(self):
""" Month filter for dashboard """
today_date = fields.Date.today()
first_day_of_month = date(today_date.year, today_date.month, 1)
# subtract one day from the first day of the current month to get
# the last day of the previous month
last_day_of_last_month = first_day_of_month - timedelta(days=1)
six_months_ago = today_date - timedelta(days=30 * 6)
first_day_of_six_months_ago = date(six_months_ago.year,
six_months_ago.month, 1)
twelve_months_ago = today_date - timedelta(days=30 * 12)
first_day_of_twelve_months_ago = date(twelve_months_ago.year,
twelve_months_ago.month, 1)
return {
'first_day_of_last_month': date(last_day_of_last_month.year,
last_day_of_last_month.month, 1),
'last_day_of_last_month': last_day_of_last_month,
'first_day_of_six_months_ago': first_day_of_six_months_ago,
'first_day_of_twelve_months_ago': first_day_of_twelve_months_ago,
}
@http.route('/dashboard/filter', type='json', auth='user')
def fetch_dashboard_filter_value(self, **kw):
"""Lawyer wise and stage wise filter"""
trial_list, clients, case_list, evidence_list, lawyer_ids, inv_amt = [], \
[], [], [], [], 0
data = kw['data']
if data['stage'] == 'null':
stage_list = ['draft', 'in_progress', 'invoiced', 'won', 'lost',
'cancel']
else:
stage_list = [data['stage']]
if data['lawyer'] == 'admin':
lawyer_list = [lawyer.id for lawyer in
request.env['hr.employee'].search(
[('is_lawyer', '=', True),
('parent_id', '=', False)])]
else:
lawyer_list = [int(data['lawyer'])]
lawyer_list = [lawyer.id for lawyer in
request.env['hr.employee'].search(
[('id', 'in', lawyer_list)])]
if data['month_wise'] != 'null':
month_wise_list = [data['month_wise']]
filter_start_date = None
filter_end_date = self.date_filter()
filter_end_date = filter_end_date['last_day_of_last_month']
if month_wise_list[0] == 'last_month':
filter_start_date = self.date_filter()
filter_start_date = filter_start_date['first_day_of_last_month']
elif month_wise_list[0] == 'last_6_months':
filter_start_date = self.date_filter()
filter_start_date = filter_start_date[
'first_day_of_six_months_ago']
elif month_wise_list[0] == 'last_12_months':
filter_start_date = self.date_filter()
filter_start_date = filter_start_date[
'first_day_of_twelve_months_ago']
if data['lawyer'] == 'admin':
registration_ids = request.env['case.registration'].search(
[('start_date', '>=', filter_start_date),
('start_date', '<=', filter_end_date),
('state', 'in', stage_list)])
else:
lawyer_list = data['lawyer']
registration_ids = request.env['case.registration'].search(
[('start_date', '>=', filter_start_date),
('start_date', '<=', filter_end_date),
('state', 'in', stage_list),
('lawyer_id.id', 'in', [lawyer_list])])
lawyer_list = [lawyer.id for lawyer in
request.env['hr.employee'].search(
[('id', '=', lawyer_list)])]
else:
if data['lawyer'] == 'admin':
registration_ids = request.env['case.registration'].search(
[('state', 'in', stage_list)])
lawyer_list = [lawyer.id for lawyer in
request.env['hr.employee'].search(
[('is_lawyer', '=', True),
('parent_id', '=', False)])]
else:
registration_ids = request.env['case.registration'].search(
[('state', 'in', stage_list),
('lawyer_id.id', 'in', lawyer_list)])
for registration_id in registration_ids:
lawyer_ids.append(registration_id.lawyer_id.id)
case_list.append(registration_id.id)
clients.append(request.env['res.partner'].browse(
registration_id.client_id.id).id)
inv_amt += sum(request.env['account.move'].search(
[('case_ref', '=', registration_id.name)]).mapped(
'amount_total'))
trial_list = [trial.id for trial in request.env['legal.trial'].search(
[('case_id.id', 'in', case_list),
('case_id.lawyer_id.id', 'in', lawyer_list)])]
evidence_list = [evidence.id for evidence in
request.env['legal.evidence'].search(
[('case_id.id', 'in', case_list)])]
return {'total_case': case_list,
'total_invoiced': round(inv_amt, 4),
'lawyers': lawyer_ids,
'evidences': evidence_list,
'trials': trial_list,
'clients': clients }

7
legal_case_management_dashboard/doc/RELEASE_NOTES.md

@ -0,0 +1,7 @@
## Module <legal_case_management_dashboard>
#### 18.09.2023
#### Version 16.0.1.0.0
#### ADD
- Initial commit for Legal Case Management Dashboard

BIN
legal_case_management_dashboard/static/description/assets/icons/check.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
legal_case_management_dashboard/static/description/assets/icons/chevron.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 B

BIN
legal_case_management_dashboard/static/description/assets/icons/cogs.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
legal_case_management_dashboard/static/description/assets/icons/consultation.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
legal_case_management_dashboard/static/description/assets/icons/ecom-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 B

BIN
legal_case_management_dashboard/static/description/assets/icons/education-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 B

BIN
legal_case_management_dashboard/static/description/assets/icons/hotel-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 911 B

BIN
legal_case_management_dashboard/static/description/assets/icons/license.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
legal_case_management_dashboard/static/description/assets/icons/lifebuoy.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
legal_case_management_dashboard/static/description/assets/icons/manufacturing-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

BIN
legal_case_management_dashboard/static/description/assets/icons/pos-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 878 B

BIN
legal_case_management_dashboard/static/description/assets/icons/puzzle.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 B

BIN
legal_case_management_dashboard/static/description/assets/icons/restaurant-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 905 B

BIN
legal_case_management_dashboard/static/description/assets/icons/service-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 839 B

BIN
legal_case_management_dashboard/static/description/assets/icons/trading-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 427 B

BIN
legal_case_management_dashboard/static/description/assets/icons/training.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 B

BIN
legal_case_management_dashboard/static/description/assets/icons/update.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
legal_case_management_dashboard/static/description/assets/icons/user.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 B

BIN
legal_case_management_dashboard/static/description/assets/icons/wrench.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
legal_case_management_dashboard/static/description/assets/misc/categories.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
legal_case_management_dashboard/static/description/assets/misc/check-box.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
legal_case_management_dashboard/static/description/assets/misc/compass.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
legal_case_management_dashboard/static/description/assets/misc/corporate.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
legal_case_management_dashboard/static/description/assets/misc/customer-support.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
legal_case_management_dashboard/static/description/assets/misc/cybrosys-logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

BIN
legal_case_management_dashboard/static/description/assets/misc/features.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 589 B

BIN
legal_case_management_dashboard/static/description/assets/misc/logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
legal_case_management_dashboard/static/description/assets/misc/pictures.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
legal_case_management_dashboard/static/description/assets/misc/pie-chart.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
legal_case_management_dashboard/static/description/assets/misc/right-arrow.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 967 B

BIN
legal_case_management_dashboard/static/description/assets/misc/star.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
legal_case_management_dashboard/static/description/assets/misc/support.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
legal_case_management_dashboard/static/description/assets/misc/whatsapp.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

BIN
legal_case_management_dashboard/static/description/assets/modules/advanced_dynamic_dashboard.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

BIN
legal_case_management_dashboard/static/description/assets/modules/odoo_dynamic_dashboard.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

BIN
legal_case_management_dashboard/static/description/assets/modules/odoo_website_helpdesk_dashboard.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
legal_case_management_dashboard/static/description/assets/modules/product_management_app.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

BIN
legal_case_management_dashboard/static/description/assets/modules/project_dashboard_odoo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

BIN
legal_case_management_dashboard/static/description/assets/modules/salon_management.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

BIN
legal_case_management_dashboard/static/description/assets/screenshots/1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 KiB

BIN
legal_case_management_dashboard/static/description/assets/screenshots/2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

BIN
legal_case_management_dashboard/static/description/assets/screenshots/3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

BIN
legal_case_management_dashboard/static/description/assets/screenshots/4.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 KiB

BIN
legal_case_management_dashboard/static/description/assets/screenshots/5.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 KiB

BIN
legal_case_management_dashboard/static/description/assets/screenshots/6.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 KiB

BIN
legal_case_management_dashboard/static/description/assets/screenshots/hero.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 217 KiB

BIN
legal_case_management_dashboard/static/description/banner.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

BIN
legal_case_management_dashboard/static/description/icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
legal_case_management_dashboard/static/description/icons/check.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
legal_case_management_dashboard/static/description/icons/chevron.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 B

BIN
legal_case_management_dashboard/static/description/icons/cogs.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
legal_case_management_dashboard/static/description/icons/consultation.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
legal_case_management_dashboard/static/description/icons/ecom-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 B

BIN
legal_case_management_dashboard/static/description/icons/education-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 B

BIN
legal_case_management_dashboard/static/description/icons/hotel-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 911 B

BIN
legal_case_management_dashboard/static/description/icons/license.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
legal_case_management_dashboard/static/description/icons/lifebuoy.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
legal_case_management_dashboard/static/description/icons/manufacturing-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

BIN
legal_case_management_dashboard/static/description/icons/pos-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 878 B

BIN
legal_case_management_dashboard/static/description/icons/puzzle.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 B

BIN
legal_case_management_dashboard/static/description/icons/restaurant-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 905 B

BIN
legal_case_management_dashboard/static/description/icons/service-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 839 B

BIN
legal_case_management_dashboard/static/description/icons/trading-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 427 B

BIN
legal_case_management_dashboard/static/description/icons/training.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 B

BIN
legal_case_management_dashboard/static/description/icons/update.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
legal_case_management_dashboard/static/description/icons/user.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 B

BIN
legal_case_management_dashboard/static/description/icons/wrench.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

699
legal_case_management_dashboard/static/description/index.html

@ -0,0 +1,699 @@
<div style="background-color: #714B67; min-height: 600px; width: 100%; padding: 15px; position: relative;">
<!-- TITLE BAR -->
<div class="d-flex align-items-center justify-content-between"
style="border-bottom: 1px solid #875A7B; padding: 15px; display: flex; justify-content: space-between; align-items: center;">
<img src="assets/misc/cybrosys-logo.png" width="42" height="42"
style="width: 42px; height: 42px;"/>
<div>
<div style="color: #7C7BAD; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;"
class="mr-2">
<i class="fa fa-check mr-1"></i>Community
</div>
<div style="color: #875A7B; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;"
class="mr-2">
<i class="fa fa-check mr-1"></i>Enterprise
</div>
<div style="color: #017E84; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;"
class="mr-2">
<i class="fa fa-check mr-1"></i>Odoo.sh
</div>
</div>
</div>
<!-- END OF TITLE BAR -->
<!-- APP HERO -->
<div class="container">
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-12">
<h1 style="color: #FFFFFF; font-weight: bolder; font-size: 50px; text-align: center; margin-top: 50px;">
Legal Case Management Dashboard</h1>
<p style="color:#FFFFFF; padding: 8px 15px; text-align: center; font-size: 24px;">
Dashboard View Of Legal Case Management</p>
<!-- END OF APP HERO -->
<img src="assets/screenshots/hero.gif"
style="width: 75%; height: auto; position: absolute; margin-left: auto; margin-right: auto; top: 45%; left: 12%; right: auto;"/>
</div>
</div>
</div>
</div>
<!-- NAVIGATION SECTION -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px; margin-top: 300px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/compass.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Explore This
Module</h2>
</div>
<div class="row my-4" style="font-family: 'Montserrat', sans-serif;">
<div class="col-sm-12 col-md-6 my-3">
<a href="#overview">
<div class="d-flex justify-content-between align-items-center"
style="background-color: #f5f5f5; padding: 30px; width: 100%;">
<div>
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Overview</span>
<span
style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">Learn
more about this
module</span>
</div>
<img src="assets/misc/right-arrow.png" width="36" height="36"/>
</div>
</a>
</div>
<div class="col-sm-12 col-md-6 my-3">
<a href="#features">
<div class="d-flex justify-content-between align-items-center"
style="background-color: #f5f5f5; padding: 30px; width: 100%;">
<div>
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Features</span>
<span
style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">View
features of this
module</span>
</div>
<img src="assets/misc/right-arrow.png" width="36" height="36"/>
</div>
</a>
</div>
<div class="col-sm-12 col-md-6 my-3">
<a href="#screenshots">
<div class="d-flex justify-content-between align-items-center"
style="background-color: #f5f5f5; padding: 30px; width: 100%;">
<div>
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Screenshots</span>
<span
style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">View
screenshots for this
module</span>
</div>
<img src="assets/misc/right-arrow.png" width="36" height="36"/>
</div>
</a>
</div>
</div>
<!-- END OF NAVIGATION SECTION -->
<!-- OVERVIEW SECTION -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;" id="overview">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/pie-chart.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Overview
</h2>
</div>
<div class="row"
style="font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; line-height: 200%;">
<div class="col-sm-12 py-4">
Legal Case Management Dashboard module helps you to see the Overview of
the Legal Case Management firm. Module shows
the total cases, clients, lawyers, trials, evidences, invoiced
amount.User can apply filtration for the cards based on stage wise,
lawyer wise and based on previous months. Then a chart shows cases in
different category's. Another chart shows most paid ten cases and their
invoice amount
and two graphs for view income in last one year and cases in different
stages.The Dashboard can be viewed in different formats one for the
Admin, lawyer and another for the clerk.
In the case of the Admin, the Dashboard will provide a complete insight
on the operations of the all records. Whereas in the case of the lawyer
they will only obtain certain of the details which they have been
assigned for them.
</div>
</div>
<!-- END OF OVERVIEW SECTION -->
<!-- FEATURES SECTION -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;" id="features">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/features.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Features
</h2>
</div>
<div class="row"
style="font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; line-height: 200%;">
<div class="col-md-6">
<div class="d-flex align-items-center"
style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Clickable Dashboard Cards.</span>
</div>
<div class="d-flex align-items-center"
style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Graphs for View Last One Year Revenue</span>
</div>
<div class="d-flex align-items-center"
style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Cases in different Stages</span>
</div>
<div class="d-flex align-items-center"
style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Top 10 Invoiced Cases</span>
</div>
</div>
<div class="col-md-6">
<div class="d-flex align-items-center"
style="margin-top: 40px; margin-bottom: 40px">
<img src="assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Stage Wise Case Count Showing Graph</span>
</div>
<div class="d-flex align-items-center"
style="margin-top: 40px; margin-bottom: 40px">
<img src="assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Lawyer Wise Filter</span>
</div>
<div class="d-flex align-items-center"
style="margin-top: 40px; margin-bottom: 40px">
<img src="assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Stage Wise Filter</span>
</div>
<div class="d-flex align-items-center"
style="margin-top: 40px; margin-bottom: 40px">
<img src="assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Previous Months Filter</span>
</div>
</div>
</div>
<!-- END OF FEATURES SECTION -->
<!-- SCREENSHOTS SECTION -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;"
id="screenshots">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/pictures.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Screenshots
</h2>
</div>
<div class="row">
<div class="col-sm-12">
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Clickable dashboard cards</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
User can click on cards which redirects to corresponding
information.This will also change based on filtration</p>
<img src="assets/screenshots/1.png"
class="img-thumbnail">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
For example if clicked on Cases card it will redirect you to
corresponding cases</p>
<img src="assets/screenshots/2.png"
class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Stage wise filter</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
Stage wise filtration will change whole card details based on
selected stage</p>
<img src="assets/screenshots/3.png"
class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Lawyer wise filter</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
Lawyer wise filtration will change whole card details based on
selected lawyer</p>
<img src="assets/screenshots/4.png"
class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Previous months filter </h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
Previous month wise filtration will change whole card details
based on selected previous month</p>
<img src="assets/screenshots/5.png"
class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">
Graphs and Charts</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
Shows most paid 10 cases, cases in different stages, last one
year revenue and case in different category</p>
<img src="assets/screenshots/6.png"
class="img-thumbnail">
</div>
</div>
</div>
<!-- END OF SCREENSHOTS SECTION -->
<!-- RELATED PRODUCTS -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/categories.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Related
Products
</h2>
</div>
<div class="row">
<div class="col-sm-12">
<div id="demo1" class="row carousel slide" data-ride="carousel">
<!-- The slideshow -->
<div class="carousel-inner" style="padding: 30px;">
<div class="carousel-item" style="min-height: 198.656px;">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/product_management_app/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
src="assets/modules/product_management_app.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/odoo_dynamic_dashboard/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
src="assets/modules/odoo_dynamic_dashboard.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/project_dashboard_odoo/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
src="assets/modules/project_dashboard_odoo.png">
</div>
</a>
</div>
</div>
<div class="carousel-item active"
style="min-height: 198.656px;">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/advanced_dynamic_dashboard/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
src="assets/modules/advanced_dynamic_dashboard.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/salon_management/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
src="assets/modules/salon_management.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16"
style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/odoo_website_helpdesk_dashboard/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-radius: 0px;"
src="assets/modules/odoo_website_helpdesk_dashboard.png">
</div>
</a>
</div>
</div>
</div>
<!-- Left and right controls -->
<a class="carousel-control-prev" href="#demo1" data-slide="prev"
style="width:35px; color:#000"> <span
class="carousel-control-prev-icon"><i
class="fa fa-chevron-left"
style="font-size:24px"></i></span>
</a> <a class="carousel-control-next" href="#demo1"
data-slide="next" style="width:35px; color:#000">
<span class="carousel-control-next-icon"><i
class="fa fa-chevron-right"
style="font-size:24px"></i></span>
</a>
</div>
</div>
</div>
<!-- END OF RELATED PRODUCTS -->
<!-- OUR SERVICES -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/star.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Our Services
</h2>
</div>
<div class="container my-5">
<div class="row">
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #1dd1a1 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/cogs.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Customization</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #ff6b6b !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/wrench.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Implementation</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #6462CD !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/lifebuoy.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Support</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #ffa801 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/user.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Hire
Odoo
Developer</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #54a0ff !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/puzzle.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Integration</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #6d7680 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/update.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Migration</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #786fa6 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/consultation.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Consultancy</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #f8a5c2 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/training.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Implementation</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #e6be26 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/license.png" class="img-responsive"
height="48px" width="48px">
</div>
<h6 class="text-center"
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Licensing Consultancy</h6>
</div>
</div>
</div>
<!-- END OF OUR SERVICES -->
<!-- OUR INDUSTRIES -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/corporate.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Our
Industries
</h2>
</div>
<div class="container my-5">
<div class="row">
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/trading-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Trading
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Easily procure
and
sell your products</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/pos-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
POS
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Easy
configuration
and convivial experience</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/education-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Education
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
A platform for
educational management</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/manufacturing-black.png"
class="img-responsive mb-3" height="48px"
width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Manufacturing
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Plan, track and
schedule your operations</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/ecom-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
E-commerce &amp; Website
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Mobile
friendly,
awe-inspiring product pages</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/service-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Service Management
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Keep track of
services and invoice</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/restaurant-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Restaurant
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Run your bar or
restaurant methodically</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;">
<img src="assets/icons/hotel-black.png"
class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Hotel Management
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
An
all-inclusive
hotel management application</p>
</div>
</div>
</div>
</div>
<!-- END OF OUR INDUSTRIES -->
<!-- SUPPORT -->
<div class="d-flex align-items-center"
style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/customer-support.png"/>
</div>
<h2 class="mt-2"
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">
Support
</h2>
</div>
<div class="container mt-5">
<div class="row">
<div class="col-sm-12 col-md-6">
<div style="background-color: #F6F8F9; padding: 30px; display: flex; align-items: center;">
<div class="mr-4"
style="background-color: #714B67; display: inline-block; height: 70px; width: 70px; display: flex; align-items: center; justify-content: center;">
<img src="assets/misc/support.png" height="48" width="48"
style="width: 42px; height: 42px;"/>
</div>
<div>
<h4>Need Help?</h4>
<p style="line-height: 100%;">Got questions or need help?
Get in touch.</p>
<a href="mailto:odoo@cybrosys.com">
<p style="font-weight: 400; font-size: 28px; line-height: 80%; color: #714B67;">
odoo@cybrosys.com</p>
</a>
</div>
</div>
</div>
<div class="col-sm-12 col-md-6">
<div style="background-color: #F6F8F9; padding: 30px; display: flex; align-items: center;">
<div class="mr-4"
style="background-color: #2AC44D; display: inline-block; height: 70px; width: 70px; display: flex; align-items: center; justify-content: center;">
<img src="assets/misc/whatsapp.png" height="52" width="52"
style="width: 52px; height: 52px;"/>
</div>
<div>
<h4>WhatsApp</h4>
<p style="line-height: 100%;">Say hi to us on WhatsApp!</p>
<a href="https://api.whatsapp.com/send?phone=918606827707">
<p style="font-weight: 400; font-size: 28px; line-height: 80%; color: #714B67;">
+91 86068
27707</p>
</a>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12 my-5 d-flex justify-content-center align-items-center">
<img src="assets/misc/logo.png" width="144" height="31"
style="width:144px; height: 31px; margin-top: 40px;"/>
</div>
</div>
</div>
<!-- END OF SUPPORT -->

32
legal_case_management_dashboard/static/src/css/style.css

@ -0,0 +1,32 @@
.container-fluid{
height: 100%;
width: 100%;
}
#mychart{
width: 600%;
max-width: 500px;
}
.dbox {
position: relative;
border-radius: 4px;
text-align: center;
border-radius: 20px;
box-shadow: 0px 2px 4px 0px rgba(222, 222, 222, 1);
}
.dbox__body {
padding: 50px 20px;
}
.dbox__count {
font-size: 25px;
color: black;
font-weight: 300;
}
.dbox__title {
font-size: 13px;
color: black;
}
.dbox__action {
transform: translateY(-50%) translateX(-50%);
position: absolute;
left: 50%;
}

BIN
legal_case_management_dashboard/static/src/image/brief_case.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

BIN
legal_case_management_dashboard/static/src/image/client.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

BIN
legal_case_management_dashboard/static/src/image/dollar_img.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

BIN
legal_case_management_dashboard/static/src/image/evidence-img.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

BIN
legal_case_management_dashboard/static/src/image/img_trial.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

BIN
legal_case_management_dashboard/static/src/image/lawyer img.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

345
legal_case_management_dashboard/static/src/js/dashboard_action.js

@ -0,0 +1,345 @@
odoo.define('legal_case_management_dashboard.case_dashboard', function(require) {
"use strict";
var AbstractAction = require('web.AbstractAction');
var core = require('web.core');
var rpc = require('web.rpc');
var ajax = require('web.ajax');
var _t = core._t;
var cases_list;
var trial_list;
var evidence_list;
var lawyer_list;
var client_list;
var total_client;
var CaseDashBoard = AbstractAction.extend({
contentTemplate: 'CaseDashBoard',
events: {
'click #total_case': '_OnClickTotalCase',
'click #total_trials': '_OnClickTotalTrials',
'click #total_evidences': '_OnClickTotalEvidences',
'click #total_lawyers': '_OnClickTotalLawyers',
'click #total_clients': '_OnClickTotalClients',
'change #lawyer_wise': '_OnchangeSelection',
'change #stage_wise': '_OnchangeSelection',
'change #month_wise': '_OnchangeSelection',
},
// Click function of case card
_OnClickTotalCase: function(e) {
if (cases_list) {
this.do_action({
name: _t("Total Cases"),
type: 'ir.actions.act_window',
res_model: 'case.registration',
view_mode: 'tree,form',
views: [
[false, 'list'],
[false, 'form']
],
domain: [
['id', 'in', cases_list]
],
context: {
create: false
},
target: 'current',
})
} else {
this.do_action({
name: _t("Total Cases"),
type: 'ir.actions.act_window',
res_model: 'case.registration',
view_mode: 'tree,form',
views: [
[false, 'list'],
[false, 'form']
],
context: {
create: false
},
target: 'current',
})
}
},
// Click function of trial card
_OnClickTotalTrials: function(e) {
if (trial_list) {
this.do_action({
name: _t("Total Trials"),
type: 'ir.actions.act_window',
res_model: 'legal.trial',
view_mode: 'tree,form',
views: [
[false, 'list'],
[false, 'form']
],
domain: [
['id', 'in', trial_list]
],
context: {
create: false
},
target: 'current',
})
} else {
this.do_action({
name: _t("Total Trials"),
type: 'ir.actions.act_window',
res_model: 'legal.trial',
view_mode: 'tree,form',
views: [
[false, 'list'],
[false, 'form']
],
context: {
create: false
},
target: 'current',
})
}
},
// Click function of evidence card
_OnClickTotalEvidences: function(e) {
if (evidence_list) {
this.do_action({
name: _t("Total Evidences"),
type: 'ir.actions.act_window',
res_model: 'legal.evidence',
view_mode: 'tree,form',
views: [
[false, 'list'],
[false, 'form']
],
domain: [
['id', 'in', evidence_list]
],
context: {
create: false
},
target: 'current',
})
} else {
this.do_action({
name: _t("Total Evidences"),
type: 'ir.actions.act_window',
res_model: 'legal.evidence',
view_mode: 'tree,form',
views: [
[false, 'list'],
[false, 'form']
],
context: {
create: false
},
target: 'current',
})
}
},
//Click function of lawyers card
_OnClickTotalLawyers: function(e) {
if (lawyer_list) {
this.do_action({
name: _t("Total Lawyers"),
type: 'ir.actions.act_window',
res_model: 'hr.employee',
view_mode: 'tree,form',
views: [
[false, 'list'],
[false, 'form']
],
domain: [
['id', 'in', lawyer_list]
],
context: {
create: false
},
target: 'current',
})
} else {
this.do_action({
name: _t("Total Lawyers"),
type: 'ir.actions.act_window',
res_model: 'hr.employee',
view_mode: 'tree,form',
views: [
[false, 'list'],
[false, 'form']
],
domain: [
['is_lawyer', '=', true],
['parent_id', '=', false]
],
context: {
create: false
},
target: 'current',
})
}
},
// Click function of clients card
_OnClickTotalClients: function(e) {
if (client_list) {
this.do_action({
name: _t("Total Clients"),
type: 'ir.actions.act_window',
res_model: 'res.partner',
view_mode: 'tree,form',
views: [
[false, 'list'],
[false, 'form']
],
domain: [
['id', 'in', client_list]
],
context: {
create: false
},
target: 'current',
})
} else if (total_client) {
this.do_action({
name: _t("Total Clients"),
type: 'ir.actions.act_window',
res_model: 'res.partner',
view_mode: 'tree,form',
views: [
[false, 'list'],
[false, 'form']
],
domain: [
['id', 'in', total_client]
],
context: {
create: false
},
target: 'current',
})
}
},
// Onchange filters
_OnchangeSelection: function() {
var lawyer_filter = $('#lawyer_wise')
.val()
var stage_filter = $('#stage_wise')
.val()
var date_filter = $('#month_wise')
.val()
var data = {
'stage': stage_filter,
'lawyer': lawyer_filter,
'month_wise': date_filter
}
ajax.jsonRpc('/dashboard/filter', 'call', {
'data': data
})
.then(function(value) {
cases_list = value.total_case
trial_list = value.trials
evidence_list = value.evidences
lawyer_list = value.lawyers
client_list = value.clients
document.getElementById("total_cases")
.innerHTML = value.total_case.length;
document.getElementById("total_invoices")
.innerHTML = value.total_invoiced;
document.getElementById("trials_count")
.innerHTML = value.trials.length;
document.getElementById("evidences_count")
.innerHTML = value.evidences.length;
document.getElementById("lawyers_count")
.innerHTML = value.lawyers.length;
document.getElementById("clients_count")
.innerHTML = value.clients.length;
})
},
CaseManagementDashboard: {},
//Get datas to dashboard while opening the dashboard
willStart: function() {
var self =this;
var promise = ajax.rpc('/case/dashboard', {})
.then((result) => {
this.CaseManagementDashboard = result;
total_client = result.clients_in_case
//Graphs starts here
google.charts.load('current', {
'packages': ['corechart']
});
google.charts.setOnLoadCallback(drawChart);
function drawChart() {
try{
// Pie chart starts
var data = google.visualization.arrayToDataTable(result['case_category']);
var optionss = {
'backgroundColor': 'transparent',
is3D: true
};
var chart = new google.visualization.PieChart(document.getElementById('pie_chart'));
chart.draw(data, optionss);
// Pie chart end
//Donut chart start
var datas = google.visualization.arrayToDataTable(result.top_10_cases);
var options = {
'backgroundColor': 'transparent',
pieHole: 0.5
};
var charts = new google.visualization.PieChart(document.getElementById('donut_chart'));
charts.draw(datas, options);
//Donut chart end
//Linechart start
var datas = google.visualization.arrayToDataTable(result['data_list']);
var optionss = {
'backgroundColor': 'transparent',
legend: 'none',
bar: {
groupWidth: "40%"
},
};
var charts = new google.visualization.LineChart(document.getElementById('mygraph'));
charts.draw(datas, optionss);
//Linechart end
//Column chart start
var column_data = google.visualization.arrayToDataTable(result.stage_count);
var column_options = {
'backgroundColor': 'transparent',
legend: 'none',
bar: {
groupWidth: "40%"
},
};
var column_chart = new google.visualization.ColumnChart(document.getElementById('column_graph'));
column_chart.draw(column_data, column_options);
//column chart end
}catch (e) {
self.willStart()
}
}
});
return Promise.all([
this._super.apply(this, arguments), promise
]);
},
//Set a title for the dashboard and call the function which adds the
//lawyer's to the lawyer selection field
start: function() {
var self = this;
this.set("title", 'Dashboard');
return this._super()
.then(function() {
self.render_filter();
});
},
render_filter: function() {
//Add lawyers to lawyers selection field
ajax.rpc('/selection/field/lawyer', {})
.then((result) => {
var lawyer_list = result
$(lawyer_list)
.each(function(lawyer) {
$('#lawyer_wise')
.append("<option value=" + lawyer_list[lawyer].id + ">" + lawyer_list[lawyer].name + "</option>");
});
})
},
})
core.action_registry.add('case_dashboard_tags', CaseDashBoard);
return CaseDashBoard;
})

204
legal_case_management_dashboard/static/src/xml/dashboard_template.xml

@ -0,0 +1,204 @@
<?xml version="1.0" encoding="UTF-8" ?>
<template>
<!-- Case DashBoard template-->
<t t-name="CaseDashBoard">
<div class="o_control_panel" style="top: 0px;">
<div class="row">
<div class="col-md-9"/>
<div class="col-md-3">
<div class="row">
<div class="col-md-4">
<select id="stage_wise" class="form-select ms-2 ml-4" name="stage_wise_filter">
<option id="null" value="null" selected="1">Select Stages</option>
<option id="draft" value="draft">Draft</option>
<option id="in_progress" value="in_progress">In Progress</option>
<option id="invoiced" value="invoiced">Invoiced</option>
<option id="won" value="won">Won</option>
<option id="lost" value="lost">Lost</option>
<option id="cancel" value="cancel">Cancel</option>
</select>
</div>
<t t-if="widget.CaseManagementDashboard.lawyer_object != None">
<div class="col-md-4" style="display: none;">
<select id="lawyer_wise" class="form-select ms-2 ml-4" name="lawyer_wise_filter">
<option id="0" value="admin" selected="1">Select Lawyer</option>
</select>
</div>
</t>
<t t-else="">
<div class="col-md-4">
<select id="lawyer_wise" class="form-select ms-2 ml-4" name="lawyer_wise_filter">
<option id="0" value="admin" selected="1">Select Lawyers</option>
</select>
</div>
</t>
<div class="col-md-4">
<select id="month_wise" class="form-select ms-2 ml-4" name="date_range">
<option id="1" value="null" selected="1">Select Month</option>
<option id="2" value="last_month">Last Month</option>
<option id="3" value="last_6_months">Last 6 Months</option>
<option id="4" value="last_12_months">Last 12 months</option>
</select>
</div>
</div>
</div>
</div>
</div>
<div class="container-fluid">
<div class="row">
<div class="col-md-3">
<div class="row">
<div id='total_case' class="col-md-6 mt-4">
<div class="dbox" style="height: 245px">
<div class="row">
<div class="col-md-12 mt-5">
<img src="legal_case_management_dashboard/static/src/image/brief_case.png"
style="height:60px"/>
</div>
<div class="col-md-12 mt-3">
<span class="dbox__count" id="total_cases">
<t t-esc="widget.CaseManagementDashboard.total_case"/>
</span>
<br/>
<span class="dbox__title">Cases</span>
</div>
</div>
</div>
</div>
<div id='total_invoiced' class="col-md-6 mt-4">
<div class="dbox" style="height: 245px">
<div class="row">
<div class="col-md-12 mt-5">
<img src="legal_case_management_dashboard/static/src/image/dollar_img.png"
style="height:60px;opacity: 0.8;"/>
</div>
<div class="col-md-12 mt-3">
<span class="dbox__count" id="total_invoices">
<t t-esc="widget.CaseManagementDashboard.total_invoiced"/>
</span>
<br/>
<span class="dbox__title text-fluid">Amount Invoiced</span>
</div>
</div>
</div>
</div>
<div id='total_trials' class="col-md-6 mt-4">
<div class="dbox" style="height: 249px">
<div class="row">
<div class="col-md-12 mt-5">
<img src="legal_case_management_dashboard/static/src/image/img_trial.png"
style="height:60px"/>
</div>
<div class="col-md-12 mt-3">
<span class="dbox__count" id="trials_count">
<t t-esc="widget.CaseManagementDashboard.trials"/>
</span>
<br/>
<span class="dbox__title">Trials</span>
</div>
</div>
</div>
</div>
<div id='total_evidences' class="col-md-6 mt-4">
<div class="dbox" style="height: 249px">
<div class="row">
<div class="col-md-12 mt-5">
<img src="legal_case_management_dashboard/static/src/image/evidence-img.png"
style="height:60px"/>
</div>
<div class="col-md-12 mt-3">
<span class="dbox__count" id="evidences_count">
<t t-esc="widget.CaseManagementDashboard.evidences"/>
</span>
<br/>
<span class="dbox__title">Evidences</span>
</div>
</div>
</div>
</div>
<div id='total_lawyers' class="col-md-6 mt-4">
<div class="dbox" style="height: 245px">
<div class="row">
<div class="col-md-12 mt-5">
<img src="legal_case_management_dashboard/static/src/image/lawyer img.png"
style="height:60px;opacity: 0.8;"/>
</div>
<div class="col-md-12 mt-3">
<span class="dbox__count" id="lawyers_count">
<t t-esc="widget.CaseManagementDashboard.lawyers"/>
</span>
<br/>
<span class="dbox__title">Lawyers</span>
</div>
</div>
</div>
</div>
<div id='total_clients' class="col-md-6 mt-4">
<div class="dbox" style="height: 245px">
<div class="row">
<div class="col-md-12 mt-5">
<img src="legal_case_management_dashboard/static/src/image/client.jpg"
style="height:60px;opacity: 0.8;"/>
</div>
<div class="col-md-12 mt-3">
<span class="dbox__count" id="clients_count">
<t t-esc="widget.CaseManagementDashboard.clients"/>
</span>
<br/>
<span class="dbox__title">Clients</span>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-9">
<div class="row">
<div class="col-md-5 mt-4">
<div class="card-shadow" style="height:380px;border-radius: 20px;">
<h3 class="text-center">
<b>Cases in Different Category</b>
</h3>
<hr/>
<div class="ml-1 img-fluid" id="pie_chart"
style="width: 100%;height: 340px;background-color: transparent"/>
</div>
</div>
<div class="col-md-7 mt-4">
<div class="card-shadow" style="height:380px;border-radius: 20px;">
<h3 class="text-center">
<b>Income in Last One Year</b>
</h3>
<hr/>
<div class="ml-1 img-fluid" id="mygraph"
style="width: 100%;height: 340px;background-color: transparent"/>
</div>
</div>
</div>
<div class="row">
<div class="col-md-5 mt-4">
<div class="card-shadow" style="height:380px;border-radius: 20px;">
<h3 class="text-center">
<b>Most Paid Ten Cases</b>
</h3>
<hr/>
<div class="ml-1" id="donut_chart"
style="width: 100%;height: 340px;background-color: transparent"/>
</div>
</div>
<div class="col-md-7 mt-4">
<div class="card-shadow" style="height:380px;border-radius: 20px">
<h3 class="text-center">
<b>Cases in Different stages</b>
</h3>
<hr/>
<div class="ml-1" id="column_graph"
style="width: 100%;height: 340px;background-color: transparent"/>
</div>
</div>
</div>
</div>
</div>
</div>
</t>
</template>

12
legal_case_management_dashboard/views/legal_case_management_dashboard_menus.xml

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<!-- legal case dashboard action -->
<record id="legal_case_dashboard_action" model="ir.actions.client">
<field name="name">Dashboard</field>
<field name="tag">case_dashboard_tags</field>
</record>
<!-- legal case dashboard menu -->
<menuitem id="legal_case_dashboard_menu" name="Dashboard"
parent="legal_case_management.legal_case_management_root"
action="legal_case_dashboard_action" sequence="1"/>
</odoo>
Loading…
Cancel
Save