@ -0,0 +1,49 @@ |
|||
.. image:: https://img.shields.io/badge/license-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/17.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, |
|||
(V17) Gayathri V |
|||
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>`__ |
@ -0,0 +1,22 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################### |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|||
# Author: Gayathri V (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 |
@ -0,0 +1,53 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################### |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|||
# Author: Gayathri V (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': '17.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 17.""", |
|||
'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.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.jpg'], |
|||
'license': 'LGPL-3', |
|||
'installable': True, |
|||
'auto_install': False, |
|||
'application': False, |
|||
} |
@ -0,0 +1,22 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################### |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|||
# Author: Gayathri V (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 |
@ -0,0 +1,280 @@ |
|||
"""Legal Case Management Dashboard""" |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################### |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|||
# Author: Gayathri V (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: |
|||
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)) |
|||
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))), |
|||
'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/without/filter', type='json', auth='user') |
|||
def fetch_dashboard_without_filter_value(self, **kw): |
|||
case_count = request.env['case.registration'].search_count([]) |
|||
total_invoiced = request.env['case.registration'].search_count( |
|||
[('state', '=', 'invoiced')]) |
|||
lawyers = request.env['hr.employee'].search_count( |
|||
[('is_lawyer', '=', True)]) |
|||
evidences = request.env['legal.evidence'].search_count([]) |
|||
trials = request.env['legal.trial'].search_count([]) |
|||
clients = request.env['res.partner'].search_count([]) |
|||
return {'total_case': case_count, |
|||
'total_invoiced': total_invoiced, |
|||
'lawyers': lawyers, |
|||
'evidences': evidences, |
|||
'trials': trials, |
|||
'clients': clients |
|||
} |
|||
|
|||
@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 |
|||
} |
@ -0,0 +1,7 @@ |
|||
## Module <legal_case_management_dashboard> |
|||
|
|||
#### 02.02.2024 |
|||
#### Version 17.0.1.0.0 |
|||
#### ADD |
|||
|
|||
- Initial commit for Legal Case Management Dashboard |
After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 310 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 576 B |
After Width: | Height: | Size: 733 B |
After Width: | Height: | Size: 911 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 673 B |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 878 B |
After Width: | Height: | Size: 653 B |
After Width: | Height: | Size: 905 B |
After Width: | Height: | Size: 839 B |
After Width: | Height: | Size: 427 B |
After Width: | Height: | Size: 627 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 988 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 80 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 589 B |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 565 B |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 967 B |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 43 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 5.0 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 46 KiB |
After Width: | Height: | Size: 46 KiB |
After Width: | Height: | Size: 49 KiB |
After Width: | Height: | Size: 85 KiB |
After Width: | Height: | Size: 46 KiB |
After Width: | Height: | Size: 88 KiB |
After Width: | Height: | Size: 139 KiB |
After Width: | Height: | Size: 62 KiB |
After Width: | Height: | Size: 130 KiB |
After Width: | Height: | Size: 130 KiB |
After Width: | Height: | Size: 130 KiB |
After Width: | Height: | Size: 132 KiB |
After Width: | Height: | Size: 220 KiB |
After Width: | Height: | Size: 95 KiB |
After Width: | Height: | Size: 7.6 KiB |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 310 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 576 B |
After Width: | Height: | Size: 733 B |
After Width: | Height: | Size: 911 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 673 B |
After Width: | Height: | Size: 878 B |
After Width: | Height: | Size: 653 B |
After Width: | Height: | Size: 905 B |
After Width: | Height: | Size: 839 B |
After Width: | Height: | Size: 427 B |
After Width: | Height: | Size: 627 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 988 B |
After Width: | Height: | Size: 1.2 KiB |
@ -0,0 +1,800 @@ |
|||
<!DOCTYPE html> |
|||
<html lang="en"> |
|||
|
|||
<head> |
|||
<meta charset="UTF-8"> |
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|||
<title>Odoo App 3 Index</title> |
|||
<!-- Bootstrap CSS --> |
|||
<link rel="stylesheet" |
|||
href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css" |
|||
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" |
|||
crossorigin="anonymous"> |
|||
<link rel="stylesheet" |
|||
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css"> |
|||
<link rel="preconnect" href="https://fonts.googleapis.com"> |
|||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> |
|||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" |
|||
rel="stylesheet"> |
|||
</head> |
|||
<body> |
|||
<section> |
|||
<div class="container" |
|||
style="font-family: 'Inter', sans-serif !important;background-color: #fff !important;"> |
|||
<div class="row"> |
|||
<div class="col-sm-12 col-md-12 col-lg-12 d-flex justify-content-between flex-wrap align-items-sm-center" |
|||
style="border-bottom:1px solid rgba(0, 0, 0, 0.22)"> |
|||
<div class="my-3"> |
|||
<img src="assets/misc/Cybrosys R.png" |
|||
style="width:auto !important; height:40px !important"> |
|||
</div> |
|||
<div class="my-3 d-flex align-items-center"> |
|||
<div class="text-center" |
|||
style="background-color:#017E84 !important;font-size: 0.8rem !important; color:#fff !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important; min-width: 120px !important;"> |
|||
Community |
|||
</div> |
|||
<div class="text-center" |
|||
style="background-color:#875A7B !important; color:#fff !important;font-size: 0.8rem !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important;min-width: 120px !important;"> |
|||
Enterprise |
|||
</div> |
|||
<div class="text-center" |
|||
style="background-color:#7C7BAD !important; color:#fff !important;font-size: 0.8rem !important; font-weight:500 !important; padding:4px !important; margin:0 3px !important; border-radius:50px !important; min-width: 120px !important;"> |
|||
Odoo.sh |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="row"> |
|||
<div class="col-sm-12 col-md-12 col-lg-12 text-center d-flex align-items-center flex-column" |
|||
style="margin: 80px 0px !important;"> |
|||
<h1 style="font-size: 2.8rem;font-weight: 700; color: |
|||
#1A202C;"> |
|||
Legal Case Management Dashboard</h1> |
|||
<p class="my-3 mb-4" |
|||
style="max-width: 80%; font-weight: 400 !important; line-height: 32px; color: #718096;"> |
|||
Dashboard View Of Legal Case Management. |
|||
</p> |
|||
<div style="width: 80%; margin-top: 3rem;"> |
|||
<img src="assets/screenshots/hero.gif" |
|||
class="img-responsive" width="100%" height="auto"> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="container mt-5 mb-5"> |
|||
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4"> |
|||
<p class="m-0" |
|||
style="font-weight: 600; font-size: 24px; color:#714b67 !important"> |
|||
Key Highlights |
|||
</p> |
|||
</div> |
|||
<div class="row py-4"> |
|||
<div class="col-md-6 col-sm-12 p-3"> |
|||
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px; |
|||
background: #FFF; |
|||
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> |
|||
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; |
|||
display: flex; justify-content: center; align-items: center; |
|||
margin-right: 10px; flex-shrink: 0;"> |
|||
<i class="fa-solid fa-star " |
|||
style="color: #fff;font-size:14px;"></i> |
|||
</div> |
|||
<div> |
|||
<p style="color: #1A202C;font-weight: 600; |
|||
font-size: 1.2rem; margin-bottom: 2px;"> |
|||
|
|||
Legal Case Management Dashboard module helps you |
|||
to see the Overview of the Legal Case Management |
|||
firm.</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-6 col-sm-12 p-3"> |
|||
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px; |
|||
background: #FFF; |
|||
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> |
|||
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; |
|||
display: flex; justify-content: center; align-items: center; |
|||
margin-right: 10px; flex-shrink: 0;"> |
|||
<i class="fa-solid fa-star " |
|||
style="color: #fff;font-size:14px;"></i> |
|||
</div> |
|||
<div> |
|||
<p style="color: #1A202C;font-weight: 600; |
|||
font-size: 1.2rem; margin-bottom: 2px;"> |
|||
Graphs for View Last One Year Revenue.</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-6 col-sm-12 p-3"> |
|||
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px; |
|||
background: #FFF; |
|||
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> |
|||
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; |
|||
display: flex; justify-content: center; align-items: center; |
|||
margin-right: 10px; flex-shrink: 0;"> |
|||
<i class="fa-solid fa-star " |
|||
style="color: #fff;font-size:14px;"></i> |
|||
</div> |
|||
<div> |
|||
<p style="color: #1A202C;font-weight: 600; |
|||
font-size: 1.2rem; margin-bottom: 2px;"> |
|||
Top 10 Invoiced Cases.</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-6 col-sm-12 p-3"> |
|||
<div class="d-flex h-100" style="padding: 30px;border-radius: 12px; |
|||
background: #FFF; |
|||
box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.25); "> |
|||
<div style="width: 36px; height: 36px; border-radius: 50%; background: #714B67; |
|||
display: flex; justify-content: center; align-items: center; |
|||
margin-right: 10px; flex-shrink: 0; "> |
|||
<i class="fa-solid fa-star " |
|||
style="color: #fff;font-size:14px;"></i> |
|||
</div> |
|||
<div> |
|||
<p style="color: #1A202C;font-weight: 600; |
|||
font-size: 1.2rem; margin-bottom: 2px;"> |
|||
User can apply filtration for the cards based on |
|||
stage wise, lawyer wise and based on previous |
|||
months.</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="container rounded"> |
|||
<ul class="nav nav-tabs d-flex" |
|||
style="width: fit-content;margin: 0 auto;gap: 1rem;"> |
|||
<li class="col text-center py-2 text-nowrap " |
|||
style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;"> |
|||
<a |
|||
class="active show" data-toggle="tab" href="#tab1" |
|||
style="color: #fff;font-weight: 500; background-color: #714B67; text-decoration: none;"> |
|||
<i class="fa-regular fa-image pr-2" |
|||
style="color: #fff;"></i> |
|||
Screenshots</a></li> |
|||
<li class="col text-center py-2 text-nowrap " |
|||
style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;"> |
|||
<a |
|||
data-toggle="tab" href="#tab2" |
|||
style="color: #fff;font-weight: 500; text-decoration: none;"><i |
|||
class="fa-solid fa-star pr-2" |
|||
style="color: #fff;"></i>Features</a></li> |
|||
<li class="col text-center py-2 text-nowrap " |
|||
style="color: #fff; background-color: #714B67;border-radius: 6px 6px 0px 0px;"> |
|||
<a |
|||
data-toggle="tab" href="#tab3" |
|||
style="color: #fff;font-weight: 500; text-decoration: none; background-color: #714B67;"><i |
|||
class="fa-solid fa-book-open pr-2" |
|||
style="color: #fff;"></i>Released Notes</a></li> |
|||
</ul> |
|||
<div class="tab-content" |
|||
style="background-color: rgba(121, 113, 119, 0.04);"> |
|||
<div id="tab1" class="tab-pane fade in active show"> |
|||
<div class="col-lg-12 py-2" |
|||
style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/1.png" |
|||
class="img-responsive" width="100%" |
|||
height="auto"> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
Clickable dashboard cards.</h4> |
|||
<p style="color: #1A202C;font-weight: 600; |
|||
font-size: 1.2rem; margin-bottom: 2px;"> |
|||
User can click on cards which redirects to |
|||
corresponding information.This will also |
|||
change based on filtration.</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-lg-12 py-2" |
|||
style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/2.png" |
|||
class="img-responsive" width="100%" |
|||
height="auto"> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
For example if clicked on Cases card it will |
|||
redirect you to corresponding cases.</h4> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-lg-12 py-2" |
|||
style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/3.png" |
|||
class="img-responsive" width="100%" |
|||
height="auto"> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
Stage wise filter.</h4> |
|||
<p style="color: #1A202C;font-weight: 600; |
|||
font-size: 1.2rem; margin-bottom: 2px;"> |
|||
Stage wise filtration will change whole card |
|||
details based on selected stage.</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-lg-12 py-2" |
|||
style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/4.png" |
|||
class="img-responsive" width="100%" |
|||
height="auto"> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
Lawyer wise filter.</h4> |
|||
<p style="color: #1A202C;font-weight: 600; |
|||
font-size: 1.2rem; margin-bottom: 2px;"> |
|||
Lawyer wise filtration will change whole |
|||
card details based on selected lawyer.</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-lg-12 py-2" |
|||
style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/5.png" |
|||
class="img-responsive" width="100%" |
|||
height="auto"> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
Previous months filter .</h4> |
|||
<p style="color: #1A202C;font-weight: 600; |
|||
font-size: 1.2rem; margin-bottom: 2px;"> |
|||
Previous month wise filtration will change |
|||
whole card details based on selected |
|||
previous month.</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-lg-12 py-2" |
|||
style="padding: 1rem 4rem !important;"> |
|||
<div |
|||
style="border: 1px solid #d8d6d6; border-radius: 4px; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/6.png" |
|||
class="img-responsive" width="100%" |
|||
height="auto"> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
Graphs and Charts.</h4> |
|||
<p style="color: #1A202C;font-weight: 600; |
|||
font-size: 1.2rem; margin-bottom: 2px;"> |
|||
Shows most paid 10 cases, cases in different |
|||
stages, last one year revenue and case in |
|||
different category.</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
|
|||
</div> |
|||
<div id="tab2" class="tab-pane fade"> |
|||
<div class="col-mg-12" style="padding: 1rem 4rem;"> |
|||
<ul style="list-style: none; padding: 1rem 0;font-weight: 500;"> |
|||
<li class="py-3" |
|||
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<span style="margin-right: 12px;"><img |
|||
src="assets/misc/star (1) 2.svg" |
|||
alt="" |
|||
width="16px"></span>Individual |
|||
Clickable Dashboard Cards. |
|||
</li> |
|||
<li class="py-3" |
|||
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<span style="margin-right: 12px;"><img |
|||
src="assets/misc/star (1) 2.svg" |
|||
alt="" |
|||
width="16px"></span>Graphs for View |
|||
Last One Year Revenue. |
|||
</li> |
|||
<li class="py-3" |
|||
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<span style="margin-right: 12px;"><img |
|||
src="assets/misc/star (1) 2.svg" |
|||
alt="" |
|||
width="16px"></span>Cases in |
|||
different Stages. |
|||
</li> |
|||
|
|||
<li class="py-3" |
|||
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<span style="margin-right: 12px;"><img |
|||
src="assets/misc/star (1) 2.svg" |
|||
alt="" |
|||
width="16px"></span>Stage Wise Case |
|||
Count Showing Graph. |
|||
</li> |
|||
<li class="py-3" |
|||
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<span style="margin-right: 12px;"><img |
|||
src="assets/misc/star (1) 2.svg" |
|||
alt="" |
|||
width="16px"></span>Top 10 Invoiced |
|||
Cases. |
|||
</li> |
|||
<li class="py-3" |
|||
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<span style="margin-right: 12px;"><img |
|||
src="assets/misc/star (1) 2.svg" |
|||
alt="" |
|||
width="16px"></span>Lawyer Wise |
|||
Filter. |
|||
|
|||
</li> |
|||
<li class="py-3" |
|||
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<span style="margin-right: 12px;"><img |
|||
src="assets/misc/star (1) 2.svg" |
|||
alt="" |
|||
width="16px"></span>Stage Wise |
|||
Filter. |
|||
</li> |
|||
<li class="py-3" |
|||
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<span style="margin-right: 12px;"><img |
|||
src="assets/misc/star (1) 2.svg" |
|||
alt="" |
|||
width="16px"></span> Previous Months |
|||
Filter. |
|||
</li> |
|||
</ul> |
|||
</div> |
|||
</div> |
|||
<div id="tab3" class="tab-pane fade"> |
|||
<div class="col-mg-12 active" style="padding: 1rem 4rem;"> |
|||
<div class="py-3" |
|||
style="font-weight: 500;background-color: #fff; border-radius: 4px; padding: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);"> |
|||
<div class="d-flex mb-3" |
|||
style="font-size: 0.8rem; font-weight: 500;"><span>Version |
|||
17.0.1.0.0</span><span |
|||
class="px-2">|</span><span |
|||
style="color: #714B67;font-weight: 600;">Released on:02 Feb 2024</span> |
|||
</div> |
|||
<p class="m-0" |
|||
style=" color:#718096!important; font-size:1rem !important;line-height: 28px;"> |
|||
Initial Commit for Legal Case Management |
|||
Dashboard.</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="container mt-5"> |
|||
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-5"> |
|||
<p class="m-0" |
|||
style="font-weight: 600; font-size: 24px; color:#000 !important"> |
|||
Related Products</p> |
|||
</div> |
|||
</div> |
|||
<div id="myCarousel" class="carousel slide py-3" data-ride="carousel"> |
|||
<div class="carousel-inner"> |
|||
<div class="carousel-item active"> |
|||
<div class="row p-4"> |
|||
<div class="col"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/17.0/product_barcode/" style="color: #000; text-decoration: none;"> |
|||
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
|||
<div style="width: 300px; "> |
|||
<img src="assets/modules/1.png" alt="" width="100%" height="auto"> |
|||
|
|||
</div> |
|||
<p class="text-center pt-2 text-black font-weight-bold">Product Barcode Generator</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="col"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/17.0/export_stockinfo_xls/" style="color: #000; text-decoration: none;"> |
|||
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
|||
<div style="width: 300px; "> |
|||
<img src="assets/modules/2.png" alt="" width="100%" height="auto"> |
|||
|
|||
</div> |
|||
<p class="text-center pt-2 text-black font-weight-bold">Export Stock Info</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="col"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/17.0/inventory_barcode_scanning/" style="color: #000; text-decoration: none;"> |
|||
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
|||
<div style="width: 300px; "> |
|||
<img src="assets/modules/3.png" alt="" width="100%" height="auto"> |
|||
|
|||
</div> |
|||
<p class="text-center pt-2 text-black font-weight-bold">Inventory Barcode Scanning</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="carousel-item"> |
|||
<div class="row p-4"> |
|||
<div class="col"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/17.0/whatsapp_redirect/" style="color: #000; text-decoration: none;"> |
|||
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
|||
<div style="width: 300px; "> |
|||
<img src="assets/modules/4.jpg" alt="" width="100%" height="auto"> |
|||
|
|||
</div> |
|||
<p class="text-center pt-2 text-black font-weight-bold">Whatsapp Redirect</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="col"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/17.0/invoice_format_editor/" style="color: #000; text-decoration: none;"> |
|||
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
|||
<div style="width: 300px;"> |
|||
<img src="assets/modules/5.png" alt="" width="100%" height="auto"> |
|||
|
|||
</div> |
|||
<p class="text-center pt-2 text-black font-weight-bold">Invoice Format Editor</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="col"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/17.0/mobile_service_shop/" style="color: #000; text-decoration: none;"> |
|||
<div style="border:1px solid #CBCBCB !important;border-radius: 4px;"> |
|||
<div style="width: 300px;"> |
|||
<img src="assets/modules/6.jpg" alt="" width="100%" height="auto"> |
|||
</div> |
|||
<p class="text-center pt-2 text-black font-weight-bold"> Mobile Service Management</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<a class="carousel-control-prev" href="#myCarousel" 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="#myCarousel" 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 class="container mt-5"> |
|||
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4"> |
|||
<p class="m-0" |
|||
style="font-weight: 600; font-size: 24px; color:#000 !important"> |
|||
Our Services</p> |
|||
|
|||
</div> |
|||
</div> |
|||
<div class="container my-5"> |
|||
<div class="row py-3"> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> |
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#13EA36 ; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/cogs.png" |
|||
alt="service-icon" width="38px" |
|||
height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;">Odoo |
|||
Customization</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> |
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#DBC711; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/wrench.png" |
|||
alt="service-icon" width="38px" |
|||
height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;">Odoo |
|||
Implementation</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;"> |
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#FF6B6B ; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/lifebuoy.png" |
|||
alt="service-icon" width="38px" |
|||
height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;">Odoo |
|||
Support</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;"> |
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#FFA801 ; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/user.png" |
|||
alt="service-icon" width="38px" |
|||
height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;">Hire |
|||
Odoo Developer</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative; border-radius: 4px;"> |
|||
|
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#54A0FF; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/puzzle.png" |
|||
alt="service-icon" width="38px" |
|||
height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;">Odoo |
|||
Integration</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> |
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#6D7680 ; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/update.png" |
|||
alt="service-icon" width="38px" |
|||
height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;">Odoo |
|||
Migration</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> |
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#786FA6 ; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/consultation.png" |
|||
alt="service-icon" width="38px" |
|||
height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;">Odoo |
|||
Consultancy</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;position: relative;border-radius: 4px;"> |
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#F8A5C2 ; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/training.png" |
|||
alt="service-icon" width="38px" |
|||
height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;">Odoo |
|||
Implementation</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-4 col-sm-6 px-4 py-4"> |
|||
<div |
|||
style="background-color: #fff; padding: 25px; text-align: center; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; position: relative;border-radius: 4px;"> |
|||
<div style="position: absolute; top: 0%; left: 50%; transform: translate(-50%, -50%);"> |
|||
<div style="background-color:#E6BE26; border-radius: 50%; padding: 15px; width: 68px; |
|||
height: 68px; display: inline-block; box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);"> |
|||
<img src="assets/icons/license.png" |
|||
alt="service-icon" width="38px" |
|||
height="auto"> |
|||
</div> |
|||
</div> |
|||
<p style="margin-top: 20px; font-weight: bold;">Odoo |
|||
Licensing Consultancy</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="container mt-5"> |
|||
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-4"> |
|||
<p class="m-0" |
|||
style="font-weight: 600; font-size: 24px; color:#000 !important"> |
|||
Our Industries</p> |
|||
|
|||
</div> |
|||
</div> |
|||
<div class="container"> |
|||
<div class="row my-5 py-4"> |
|||
<div class="col-md-3 col-sm-6 p-0"> |
|||
<div class="d-flex flex-column h-100 " |
|||
style="border-right: 1px solid rgb(209, 209, 209); border-bottom: 1px solid rgb(209, 209, 209); padding: 30px; box-shadow: 6px 0 10px rgba(228, 227, 227, 0.373);"> |
|||
<img src="assets/icons/trading-black.png" width="42px" |
|||
height="auto" alt=""> |
|||
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
|||
font-size: 1.2rem; margin-bottom: 2px;">Trading</p> |
|||
<p>Easily procure and sell your products</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-3 col-sm-6 p-0"> |
|||
<div class="d-flex flex-column h-100" |
|||
style="border-right: 1px solid rgb(209, 209, 209);border-bottom: 1px solid rgb(209, 209, 209); padding: 30px;"> |
|||
<img src="assets/icons/pos-black.png" width="42px" |
|||
height="auto" alt=""> |
|||
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
|||
font-size: 1.2rem; margin-bottom: 2px;">POS</p> |
|||
<p>Easy configuration and convivial experience</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-3 col-sm-6 p-0"> |
|||
<div class="d-flex flex-column h-100" |
|||
style="border-right: 1px solid rgb(209, 209, 209);border-bottom: 1px solid rgba(0, 0, 0, 0.2); padding: 30px; box-shadow: 0 5px 10px rgba(228, 227, 227, 0.373)"> |
|||
<img src="assets/icons/education-black.png" width="42px" |
|||
height="auto" alt=""> |
|||
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
|||
font-size: 1.2rem; margin-bottom: 2px;"> |
|||
Education</p> |
|||
<p>A platform for educational management</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-3 col-sm-6 p-0"> |
|||
<div class="d-flex flex-column h-100" |
|||
style="border-bottom: 1px solid rgb(209, 209, 209); padding: 30px; "> |
|||
<img src="assets/icons/manufacturing-black.png" |
|||
width="42px" height="auto" alt=""> |
|||
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
|||
font-size: 1.2rem; margin-bottom: 2px;"> |
|||
Manufacturing</p> |
|||
<p>Plan, track and schedule your operations</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-3 col-sm-6 p-0"> |
|||
<div class="d-flex flex-column h-100" |
|||
style="border-right: 1px solid rgb(209, 209, 209); padding: 30px;"> |
|||
<img src="assets/icons/ecom-black.png" width="42px" |
|||
height="auto" alt=""> |
|||
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
|||
font-size: 1.2rem; margin-bottom: 2px;">E-commerce & |
|||
Website</p> |
|||
<p>Mobile friendly, awe-inspiring product pages</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-3 col-sm-6 p-0"> |
|||
<div class="d-flex flex-column h-100" |
|||
style="border-right: 1px solid rgb(209, 209, 209); padding: 30px;box-shadow: 0 -5px 10px rgba(228, 227, 227, 0.373);"> |
|||
<img src="assets/icons/service-black.png" width="42px" |
|||
height="auto" alt=""> |
|||
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
|||
font-size: 1.2rem; margin-bottom: 2px;">Service |
|||
Management</p> |
|||
<p>Keep track of services and invoice</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-3 col-sm-6 p-0"> |
|||
<div class="d-flex flex-column h-100" |
|||
style="border-right: 1px solid rgb(209, 209, 209); padding: 30px; "> |
|||
<img src="assets/icons/restaurant-black.png" |
|||
width="42px" height="auto" alt=""> |
|||
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
|||
font-size: 1.2rem; margin-bottom: 2px;"> |
|||
Restaurant</p> |
|||
<p>Run your bar or restaurant methodically</p> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-3 col-sm-6 p-0"> |
|||
<div class="d-flex flex-column h-100" |
|||
style=" padding: 30px;box-shadow: -5px 0 10px rgba(228, 227, 227, 0.373);"> |
|||
<img src="assets/icons/hotel-black.png" width="42px" |
|||
height="auto" alt=""> |
|||
<p style="color: #714B67;font-weight: 600; margin-top: 10px; |
|||
font-size: 1.2rem; margin-bottom: 2px;">Hotel |
|||
Management</p> |
|||
<p>An all-inclusive hotel management application</p> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="container mt-5"> |
|||
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center mt-5"> |
|||
<p class="m-0" |
|||
style="font-weight: 600; font-size: 24px; color:#000 !important"> |
|||
Support</p> |
|||
</div> |
|||
</div> |
|||
<div class="container my-5"> |
|||
<div class="row" style="background-color: #FFFAFE;"> |
|||
<div class="col-md-6 pb-4 d-flex align-items-center justify-content-center" |
|||
style="border-right: 1px solid #D9D9D9;"> |
|||
<div style="padding: 30px;"> |
|||
<div class="d-flex align-items-center"> |
|||
<img src="assets/misc/support (1) 1.svg" alt="" |
|||
width="60px" style="margin-right: 12px;"> |
|||
<div style="padding: 0px 8px;"> |
|||
<span |
|||
style="color: #714B67;font-size: 24px;font-weight: 600;padding-bottom: 1rem;">Need |
|||
Help?</span> |
|||
<p class="m-0" style="color:#718096;">Got |
|||
questions or need help? Get in touch.</p> |
|||
<div style="font-weight: 400;"><span><img |
|||
src="assets/misc/support-email.svg" |
|||
alt="" |
|||
width="18px" |
|||
style="filter: invert(1);margin-right: 0.8rem;"></span>odoo@cybrosys.com |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-md-6 pb-4 d-flex align-items-center justify-content-center"> |
|||
<div style="padding: 30px;"> |
|||
<div class="d-flex align-items-center"> |
|||
<img src="assets/misc/whatsapp 1.svg" alt="" |
|||
width="60px" style="margin-right: 12px;"> |
|||
<div> |
|||
<span style="color: #714B67;font-size: 24px;font-weight: 600;">WhatsApp</span> |
|||
<p class="m-0" style="color:#718096;">Say hi to |
|||
us on WhatsApp!</p> |
|||
<div style="font-weight: 400; font-size: 16px;"><span><img |
|||
src="assets/misc/phone.svg" |
|||
alt="" width="14px" |
|||
style="filter: invert(1); margin-right: 0.8rem;"></span>+91 |
|||
99456767686 |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</section> |
|||
<!-- Optional JavaScript --> |
|||
<!-- jQuery first, then Popper.js, then Bootstrap JS --> |
|||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> |
|||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script> |
|||
</body> |
|||
</html> |
@ -0,0 +1,39 @@ |
|||
.container-fluid{ |
|||
height: 100%; |
|||
width: 100%; |
|||
} |
|||
#mychart{ |
|||
width: 600%; |
|||
max-width: 500px; |
|||
} |
|||
#mygraph{ |
|||
color: black; |
|||
font-weight: 300; |
|||
} |
|||
path { |
|||
stroke: black !important; |
|||
} |
|||
.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%; |
|||
} |
After Width: | Height: | Size: 4.6 KiB |
After Width: | Height: | Size: 61 KiB |
After Width: | Height: | Size: 7.1 KiB |
After Width: | Height: | Size: 29 KiB |
After Width: | Height: | Size: 6.2 KiB |
After Width: | Height: | Size: 8.3 KiB |
@ -0,0 +1,352 @@ |
|||
/** @odoo-module */ |
|||
import { registry} from '@web/core/registry'; |
|||
import { useService } from "@web/core/utils/hooks"; |
|||
const { Component, onWillStart, onMounted , useState } = owl |
|||
import { jsonrpc } from "@web/core/network/rpc_service"; |
|||
import { _t } from "@web/core/l10n/translation"; |
|||
import { useRef } from "@odoo/owl"; |
|||
var cases_list; |
|||
var trial_list; |
|||
var evidence_list; |
|||
var lawyer_list; |
|||
var client_list; |
|||
var total_client; |
|||
|
|||
export class LegalDashboard extends Component { |
|||
/** |
|||
* Setup method to initialize required services and register event handlers. |
|||
*/ |
|||
setup() { |
|||
this.action = useService("action"); |
|||
this.orm = useService("orm"); |
|||
this.rpc = this.env.services.rpc |
|||
this.case_state = useState({ |
|||
// Unfold the main MO's operations by default
|
|||
case_count: 0, |
|||
invoice_count: 0, |
|||
trials_count:0, |
|||
evidences_count:0, |
|||
lawyers_count:0, |
|||
clients_count:0, |
|||
}); |
|||
onWillStart(this.onWillStart); |
|||
onMounted(this.onMounted); |
|||
|
|||
} |
|||
async onWillStart() { |
|||
await this.fetch_data(); |
|||
await this._onWithoutFilter(); |
|||
|
|||
} |
|||
async onMounted() { |
|||
// Render other components after fetching data
|
|||
this.render_filter(); |
|||
} |
|||
|
|||
render_filter(){ |
|||
//Add lawyers to lawyers selection field
|
|||
jsonrpc('/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>"); |
|||
}); |
|||
}) |
|||
} |
|||
// CaseManagementDashboard: {},
|
|||
fetch_data(){ |
|||
var self =this; |
|||
var promise = jsonrpc('/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 chart_options = { |
|||
'backgroundColor': 'transparent', |
|||
is3D: true |
|||
}; |
|||
var chart = new google.visualization.PieChart(document.getElementById('pie_chart')); |
|||
chart.draw(data, chart_options); |
|||
// 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 line_options = { |
|||
'backgroundColor': 'transparent', |
|||
legend: 'none', |
|||
line: { |
|||
groupWidth: "40%" |
|||
}, |
|||
|
|||
}; |
|||
var charts = new google.visualization.LineChart(document.getElementById('mygraph')); |
|||
charts.draw(datas, line_options); |
|||
//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) { |
|||
this.willStart() |
|||
} |
|||
} |
|||
}); |
|||
} |
|||
_onWithoutFilter(){ |
|||
var self = this; |
|||
jsonrpc('/dashboard/without/filter', { |
|||
}) |
|||
.then(function(value) { |
|||
self.case_state.case_count = value.total_case; |
|||
self.case_state.invoice_count = value.total_invoiced; |
|||
self.case_state.trials_count = value.trials; |
|||
self.case_state.evidences_count = value.evidences; |
|||
self.case_state.lawyers_count = value.lawyers; |
|||
self.case_state.clients_count = value.clients; |
|||
}); |
|||
} |
|||
_onchangeStageFilter(ev){ |
|||
var self = this; |
|||
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 |
|||
} |
|||
jsonrpc('/dashboard/filter', { |
|||
'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 |
|||
self.case_state.case_count = value.total_case.length; |
|||
self.case_state.invoice_count = value.total_invoiced; |
|||
self.case_state.trials_count = value.trials.length; |
|||
self.case_state.evidences_count = value.evidences.length; |
|||
self.case_state.lawyers_count = value.lawyers.length; |
|||
self.case_state.clients_count = value.clients.length; |
|||
}); |
|||
} |
|||
_OnClickTotalClients() { |
|||
if (client_list) { |
|||
this.action.doAction({ |
|||
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.action.doAction({ |
|||
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', |
|||
}) |
|||
} |
|||
} |
|||
_OnClickTotalTrials(){ |
|||
if (trial_list) { |
|||
this.action.doAction({ |
|||
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.action.doAction({ |
|||
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', |
|||
}) |
|||
} |
|||
} |
|||
_OnClickTotalLawyers() { |
|||
if (lawyer_list) { |
|||
this.action.doAction({ |
|||
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.action.doAction({ |
|||
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', |
|||
}) |
|||
} |
|||
} |
|||
_OnClickTotalEvidences() { |
|||
if (evidence_list) { |
|||
this.action.doAction({ |
|||
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.action.doAction({ |
|||
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', |
|||
}) |
|||
} |
|||
} |
|||
_OnClickTotalCase(){ |
|||
if (cases_list) { |
|||
this.action.doAction({ |
|||
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.action.doAction({ |
|||
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', |
|||
}) |
|||
} |
|||
} |
|||
} |
|||
LegalDashboard.template = "CaseDashBoard" |
|||
registry.category("actions").add("case_dashboard_tags", LegalDashboard) |
@ -0,0 +1,238 @@ |
|||
<?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-4"> |
|||
<select id="stage_wise" |
|||
class="form-select ms-2 ml-4" |
|||
name="stage_wise_filter" |
|||
t-on-change="(ev) => this._onchangeStageFilter(ev)"> |
|||
<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> |
|||
<div class="col-4"> |
|||
<select id="lawyer_wise" |
|||
class="form-select ms-2 ml-4" |
|||
name="lawyer_wise_filter" |
|||
t-on-change="(ev) => this._onchangeStageFilter(ev)"> |
|||
<option id="0" value="admin" selected="1">Select |
|||
Lawyers |
|||
</option> |
|||
</select> |
|||
</div> |
|||
<div class="col-4"> |
|||
<select id="month_wise" |
|||
class="form-select ms-2 ml-4" |
|||
name="date_range" |
|||
t-on-change="(ev) => this._onchangeStageFilter(ev)"> |
|||
<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" t-ref="total_case" |
|||
t-on-click="_OnClickTotalCase"> |
|||
<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 case_count" |
|||
id="total_cases"> |
|||
<t t-esc="this.case_state.case_count"/> |
|||
</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 total_invoices" |
|||
id="total_invoices"> |
|||
<t t-esc="this.case_state.invoice_count"/> |
|||
</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" |
|||
t-on-click="_OnClickTotalTrials"> |
|||
<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="this.case_state.trials_count"/> |
|||
</span> |
|||
<br/> |
|||
<span class="dbox__title">Trials</span> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div id='total_evidences' class="col-md-6 mt-4" |
|||
t-on-click="_OnClickTotalEvidences"> |
|||
<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="this.case_state.evidences_count"/> |
|||
</span> |
|||
<br/> |
|||
<span class="dbox__title">Evidences |
|||
</span> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div id='total_lawyers' class="col-md-6 mt-4" |
|||
t-on-click="_OnClickTotalLawyers"> |
|||
<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="this.case_state.lawyers_count"/> |
|||
</span> |
|||
<br/> |
|||
<span class="dbox__title">Lawyers</span> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div id='total_clients' class="col-md-6 mt-4" |
|||
t-on-click="_OnClickTotalClients"> |
|||
<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="this.case_state.clients_count"/> |
|||
</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> |
@ -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> |