@ -0,0 +1,47 @@ |
|||||
|
.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg |
||||
|
:target: https://www.gnu.org/licenses/agpl-3.0-standalone.html |
||||
|
:alt: License: AGPL-3 |
||||
|
|
||||
|
Fleet Rental Dashboard |
||||
|
====================== |
||||
|
This module adds a dashboard in fleet rental module. |
||||
|
|
||||
|
Configuration |
||||
|
============= |
||||
|
* No additional configurations needed |
||||
|
|
||||
|
Company |
||||
|
------- |
||||
|
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__ |
||||
|
|
||||
|
License |
||||
|
------- |
||||
|
General Public License, Version 3 (AGPL v3). |
||||
|
(http://www.gnu.org/licenses/agpl-3.0-standalone.html) |
||||
|
|
||||
|
Credits |
||||
|
------- |
||||
|
* Developer: (V16) Mruthul Raj, Contact: odoo@cybrosys.com |
||||
|
(V17) Ranjith R, 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,20 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################### |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Ranjith R(odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
############################################################################### |
||||
|
from . import models |
@ -0,0 +1,50 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################### |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Ranjith R(odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
############################################################################### |
||||
|
{ |
||||
|
'name': 'Fleet Rental Dashboard', |
||||
|
'version': '17.0.1.0.0', |
||||
|
'category': 'Productivity', |
||||
|
'summary': 'Dashboard for fleet rental management', |
||||
|
'description': 'This dashboard module enhances the fleet rental management ' |
||||
|
'system by offering a centralized view of crucial metrics' |
||||
|
' and analytics.', |
||||
|
'author': 'Cybrosys Techno Solutions', |
||||
|
'company': 'Cybrosys Techno Solutions', |
||||
|
'maintainer': 'Cybrosys Techno Solutions', |
||||
|
'website': 'https://www.cybrosys.com', |
||||
|
'depends': ['fleet_rental', 'base'], |
||||
|
'data': ['views/fleet_rental_dashboard_views.xml', |
||||
|
], |
||||
|
'assets': { |
||||
|
'web.assets_backend': [ |
||||
|
'fleet_rental_dashboard/static/src/js/dashboard.js', |
||||
|
'fleet_rental_dashboard/static/src/css/dashboard.css', |
||||
|
'fleet_rental_dashboard/static/src/css/style.scss', |
||||
|
'fleet_rental_dashboard/static/src/xml/dashboard_templates.xml', |
||||
|
'https://cdn.jsdelivr.net/npm/chart.js', |
||||
|
'https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap', |
||||
|
], |
||||
|
}, |
||||
|
'images': ['static/description/banner.jpg'], |
||||
|
'license': 'AGPL-3', |
||||
|
'installable': True, |
||||
|
'auto_install': False, |
||||
|
'application': False, |
||||
|
} |
@ -0,0 +1,6 @@ |
|||||
|
## Module <fleet_rental_dashboard> |
||||
|
|
||||
|
#### 23.04.2024 |
||||
|
#### Version 17.0.1.0.0 |
||||
|
#### ADD |
||||
|
- Initial Commit for Fleet Rental Dashboard |
@ -0,0 +1,20 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################### |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Ranjith R(odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
############################################################################### |
||||
|
from . import car_rental_contract |
@ -0,0 +1,138 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################### |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
||||
|
# Author: Ranjith R(odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL 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 AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
############################################################################### |
||||
|
from odoo import api, models |
||||
|
|
||||
|
|
||||
|
class DashboardFleetRental(models.Model): |
||||
|
"""Class for new function to get vehicle and customers details |
||||
|
vehicle_most_rented |
||||
|
function for getting most rented vehicle which |
||||
|
cars_availability |
||||
|
function for getting available and running car's |
||||
|
car_details |
||||
|
function for getting the car details |
||||
|
top_customers |
||||
|
function for getting top 10 customers |
||||
|
""" |
||||
|
|
||||
|
_inherit = "car.rental.contract" |
||||
|
|
||||
|
@api.model |
||||
|
def vehicle_most_rented(self, start_date, end_date): |
||||
|
"""function for getting most rented vehicle if filters enabled or not |
||||
|
args: |
||||
|
start_date:filter for start date |
||||
|
end_date:end date filter |
||||
|
return: |
||||
|
result which include vehicle details and its count |
||||
|
""" |
||||
|
query = """SELECT vehicle_id,COUNT(*) AS num FROM car_rental_contract |
||||
|
WHERE state='done'""" |
||||
|
if start_date: |
||||
|
query += """ AND rent_start_date >= '%s'""" % start_date |
||||
|
if end_date: |
||||
|
query += """AND rent_start_date <= '%s'""" % end_date |
||||
|
query += """GROUP BY vehicle_id ORDER BY num DESC""" |
||||
|
self.env.cr.execute(query) |
||||
|
results = self.env.cr.fetchall() |
||||
|
cars = [] |
||||
|
count = [] |
||||
|
for vehicle_id, num in results: |
||||
|
if num > 0: |
||||
|
car = self.env['fleet.vehicle'].browse(vehicle_id) |
||||
|
cars.append( |
||||
|
car.name |
||||
|
) |
||||
|
count.append(num) |
||||
|
result = { |
||||
|
'name': cars, |
||||
|
'num': count |
||||
|
} |
||||
|
return result |
||||
|
|
||||
|
@api.model |
||||
|
def cars_availability(self): |
||||
|
"""function for getting available and running cars count |
||||
|
return: |
||||
|
count of available and running cars in result""" |
||||
|
available_cars = self.env['fleet.vehicle'].search_count( |
||||
|
[('rental_check_availability', '=', True)]) |
||||
|
cars_running = self.env['car.rental.contract'].search_count( |
||||
|
[('state', '=', 'running')]) |
||||
|
result = { |
||||
|
'available_cars': available_cars, |
||||
|
'cars_running': cars_running |
||||
|
} |
||||
|
return result |
||||
|
|
||||
|
@api.model |
||||
|
def car_details(self): |
||||
|
""" |
||||
|
function for getting details of running and available cars |
||||
|
return: |
||||
|
values which include details of running and available cars |
||||
|
""" |
||||
|
running_cars = self.env['car.rental.contract'].search( |
||||
|
[('state', '=', 'running')]) |
||||
|
cars_available = self.env['fleet.vehicle'].search( |
||||
|
[('rental_check_availability', '=', True)]) |
||||
|
running_details = [] |
||||
|
available_cars = [] |
||||
|
for record in running_cars: |
||||
|
running_details.append({'vehicle': record.vehicle_id.name, |
||||
|
'start_date': record.rent_start_date, |
||||
|
'end_date': record.rent_end_date, |
||||
|
'customer': record.customer_id.name, |
||||
|
'phone': record.customer_id.phone, |
||||
|
}) |
||||
|
for record in cars_available: |
||||
|
available_cars.append({ |
||||
|
'available_car': record.name, |
||||
|
}) |
||||
|
values = { |
||||
|
'running_details': running_details, |
||||
|
'available_cars': available_cars |
||||
|
} |
||||
|
return values |
||||
|
|
||||
|
@api.model |
||||
|
def top_customers(self): |
||||
|
"""function for getting top 10 customers |
||||
|
return top customers which include their name,image and email |
||||
|
""" |
||||
|
rental_partners_count = self.env['car.rental.contract'].read_group( |
||||
|
[('state', 'in', ['done'])], |
||||
|
fields=['customer_id'], |
||||
|
groupby=['customer_id'], ) |
||||
|
sorted_rental_partners_count = sorted(rental_partners_count, |
||||
|
key=lambda k: k[ |
||||
|
'customer_id_count'], |
||||
|
reverse=True) |
||||
|
limited = sorted_rental_partners_count[:10] |
||||
|
top_customers = [] |
||||
|
for rec in limited: |
||||
|
partner = self.env['res.partner'].browse(rec['customer_id'][0]) |
||||
|
top_customers.append({ |
||||
|
'id': partner.id, |
||||
|
'name': partner.name, |
||||
|
'image': partner.image_1920, |
||||
|
'email': partner.email |
||||
|
}) |
||||
|
return top_customers |
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: 3.2 KiB |
After Width: | Height: | Size: 565 B |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 43 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 46 KiB |
After Width: | Height: | Size: 85 KiB |
After Width: | Height: | Size: 49 KiB |
After Width: | Height: | Size: 87 KiB |
After Width: | Height: | Size: 76 KiB |
After Width: | Height: | Size: 46 KiB |
After Width: | Height: | Size: 253 KiB |
After Width: | Height: | Size: 142 KiB |
After Width: | Height: | Size: 77 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 222 KiB |
After Width: | Height: | Size: 124 KiB |
After Width: | Height: | Size: 157 KiB |
After Width: | Height: | Size: 83 KiB |
After Width: | Height: | Size: 8.3 KiB |
@ -0,0 +1,731 @@ |
|||||
|
<!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;"> |
||||
|
Fleet Rental Dashboard</h1> |
||||
|
<p class="my-3 mb-4" |
||||
|
style="max-width: 80%; font-weight: 400 !important; line-height: 32px; color: #718096;"> |
||||
|
This Dashboard Module Enhances the Fleet Rental Management |
||||
|
System by Offering a Centralized View of Crucial Metrics and |
||||
|
Analytics. |
||||
|
</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;"> |
||||
|
Dashboard with date filtration.</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;"> |
||||
|
Pie,Bar and Line graph available.</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;"> |
||||
|
Available vehicles and running vehicles on |
||||
|
dashboard.</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;"> |
||||
|
Available in Odoo 17.</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/ss6.jpg" |
||||
|
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"> |
||||
|
Install <a |
||||
|
href="https://apps.odoo.com/apps/modules/16.0/fleet_rental/">Fleet |
||||
|
Rental Management</a> from Odoo app store. |
||||
|
</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/ss1.jpg" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
<img src="assets/screenshots/ss2.jpg" |
||||
|
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"> |
||||
|
Dashboard View</h4> |
||||
|
<h5 class="mt-2" |
||||
|
style=" font-weight:300 !important; color:#282F33 !important; font-size:0.7rem !important"> |
||||
|
An elaborated dashboard view with Top |
||||
|
Customers, Most Rented |
||||
|
Cars and Available Vehicles.</h5> |
||||
|
</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/ss3.jpg" |
||||
|
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"> |
||||
|
Available Vehicles With Scroll Bar</h4> |
||||
|
<h5 class="mt-2" |
||||
|
style=" font-weight:300 !important; color:#282F33 !important; font-size:0.7rem !important"> |
||||
|
This will display available vehicles name |
||||
|
and numbers of cars on |
||||
|
road.</h5> |
||||
|
</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/ss4.png" |
||||
|
class="img-responsive" width="100%" |
||||
|
height="auto"> |
||||
|
<img src="assets/screenshots/ss5.jpg" |
||||
|
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"> |
||||
|
Date Filter</h4> |
||||
|
<h5 class="mt-2" |
||||
|
style=" font-weight:300 !important; color:#282F33 !important; font-size:0.7rem !important"> |
||||
|
You can filter by date to get details of some specif date.</h5> |
||||
|
</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>Dashboard with date filtration. |
||||
|
</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>Pie,Bar and Line graph available. |
||||
|
</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: 23rd Apr 2024</span> |
||||
|
</div> |
||||
|
<p class="m-0" |
||||
|
style=" color:#718096!important; font-size:1rem !important;line-height: 28px;"> |
||||
|
Initial Commit for Fleet Rental 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/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/1.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/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/2.jpg" |
||||
|
alt="" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold"> |
||||
|
Send Whatsapp Message</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"> |
||||
|
Barcode scanning in Inventory</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/dynamic_accounts_report/" |
||||
|
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.png" |
||||
|
alt="" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold"> |
||||
|
Dynamic Accounts Reports</p> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col"> |
||||
|
<div class="p-3"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/17.0/hr_payroll_community/" |
||||
|
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.jpg" |
||||
|
alt="" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold"> |
||||
|
Odoo 17 HR Payroll</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/6.png" |
||||
|
alt="" width="100%" |
||||
|
height="auto"> |
||||
|
</div> |
||||
|
<p class="text-center pt-2 text-black font-weight-bold"> |
||||
|
Export Product Stock in Excel</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,56 @@ |
|||||
|
p, |
||||
|
span, |
||||
|
a, |
||||
|
ul, |
||||
|
li, |
||||
|
button { |
||||
|
font-size: inherit; |
||||
|
font-weight: inherit; |
||||
|
line-height: inherit; |
||||
|
} |
||||
|
|
||||
|
strong { |
||||
|
font-weight: 600; |
||||
|
} |
||||
|
|
||||
|
h1, |
||||
|
h2, |
||||
|
h3, |
||||
|
h4, |
||||
|
h5, |
||||
|
h6 { |
||||
|
line-height: 1.5em; |
||||
|
font-weight: 300; |
||||
|
} |
||||
|
|
||||
|
strong { |
||||
|
font-weight: 400; |
||||
|
} |
||||
|
|
||||
|
.sub_title { |
||||
|
font-size: 14px; |
||||
|
} |
||||
|
|
||||
|
.sub_title div span { |
||||
|
font-weight: 600; |
||||
|
} |
||||
|
|
||||
|
.chart #canvas_graph { |
||||
|
height: 400px !important; |
||||
|
} |
||||
|
|
||||
|
.highcharts-background { |
||||
|
fill: none; |
||||
|
} |
||||
|
|
||||
|
html .o_web_client>.o_action_manager { |
||||
|
overflow: scroll; |
||||
|
} |
||||
|
|
||||
|
.available_cars { |
||||
|
overflow: scroll; |
||||
|
} |
||||
|
|
||||
|
running_vehicle_contact { |
||||
|
overflow: scroll; |
||||
|
} |
@ -0,0 +1,236 @@ |
|||||
|
:root { |
||||
|
/* Primary */ |
||||
|
--mauve: #7D7EAF; |
||||
|
--pink-dark: #BD85BA; |
||||
|
--pink: #F78EAD; |
||||
|
--peach: #FFA48E; |
||||
|
--orange: #FFCA71; |
||||
|
--gold: #CEA716; |
||||
|
--green: #1EC198; |
||||
|
--grey: #a0a0a0; |
||||
|
/* Light */ |
||||
|
--mauve-light: #e5e5ef; |
||||
|
--pink-dark-light: #f2e7f1; |
||||
|
--pink-light: #fde8ef; |
||||
|
--peach-light: #ffede8; |
||||
|
--orange-light: #fff4e3; |
||||
|
--gold-light: #faf6e8; |
||||
|
--green-light: #e9f9f5; |
||||
|
--grey-light: #e0e0e0; |
||||
|
|
||||
|
/*Lighter*/ |
||||
|
--grey-lighter: #fafafa; |
||||
|
--grey-dark-lighter: #f3f3f3; |
||||
|
} |
||||
|
|
||||
|
/* Background */ |
||||
|
.bg-mauve-light { |
||||
|
background-color: var(--mauve-light); |
||||
|
} |
||||
|
|
||||
|
.bg-pink-dark-light { |
||||
|
background-color: var(--pink-dark-light); |
||||
|
} |
||||
|
|
||||
|
.bg-pink-light { |
||||
|
background-color: var(--pink-light); |
||||
|
} |
||||
|
|
||||
|
.bg-peach-light { |
||||
|
background-color: var(--peach-light); |
||||
|
} |
||||
|
|
||||
|
.bg-orange-light { |
||||
|
background-color: var(--orange-light); |
||||
|
} |
||||
|
|
||||
|
.bg-gold-light { |
||||
|
background-color: var(--gold-light); |
||||
|
} |
||||
|
|
||||
|
.bg-green-light { |
||||
|
background-color: var(--green-light); |
||||
|
} |
||||
|
|
||||
|
/* Text */ |
||||
|
.text-mauve { |
||||
|
color: var(--mauve); |
||||
|
} |
||||
|
|
||||
|
.text-pink-dark { |
||||
|
color: var(--pink-dark); |
||||
|
} |
||||
|
|
||||
|
.text-pink { |
||||
|
color: var(--pink); |
||||
|
} |
||||
|
|
||||
|
.text-peach { |
||||
|
color: var(--peach); |
||||
|
} |
||||
|
|
||||
|
.text-orange { |
||||
|
color: var(--orange); |
||||
|
} |
||||
|
|
||||
|
.text-gold { |
||||
|
color: var(--gold); |
||||
|
} |
||||
|
|
||||
|
.text-green { |
||||
|
color: var(--green); |
||||
|
} |
||||
|
|
||||
|
/* Cards */ |
||||
|
|
||||
|
.dashboard-card { |
||||
|
border-radius: 0.3rem; |
||||
|
display: flex; |
||||
|
justify-content: center; |
||||
|
padding: 1.7rem 1.5rem 1.5rem 1.5rem; |
||||
|
margin: 1rem auto; |
||||
|
height: 90px; |
||||
|
} |
||||
|
|
||||
|
.dashboard-card__icon-container { |
||||
|
height: 50px; |
||||
|
width: 50px; |
||||
|
border-radius: 50%; |
||||
|
} |
||||
|
|
||||
|
.dashboard-card__icon-container i { |
||||
|
font-size: 20px; |
||||
|
} |
||||
|
|
||||
|
.dashboard-card__details { |
||||
|
margin-left: 1rem; |
||||
|
} |
||||
|
|
||||
|
.dashboard-card__details h3 { |
||||
|
font-weight: 700; |
||||
|
font-size: 1.5rem; |
||||
|
} |
||||
|
|
||||
|
.dashboard-card__details h4 { |
||||
|
font-weight: 700; |
||||
|
font-size: 0.7rem; |
||||
|
color: var(--grey); |
||||
|
margin-top: -5px; |
||||
|
} |
||||
|
|
||||
|
h2.section-header { |
||||
|
font-weight: 700; |
||||
|
font-size: 1.5rem; |
||||
|
} |
||||
|
|
||||
|
.chart-container { |
||||
|
border-radius: 0.3rem; |
||||
|
padding: 1rem; |
||||
|
margin: 1rem auto; |
||||
|
} |
||||
|
|
||||
|
.chart-container.card-shadow { |
||||
|
height: 100%; |
||||
|
} |
||||
|
|
||||
|
.half_chart.chart-container.card-shadow { |
||||
|
height: 49%; |
||||
|
} |
||||
|
|
||||
|
.chart-container h2 { |
||||
|
font-weight: 700; |
||||
|
font-size: 1.125rem; |
||||
|
} |
||||
|
|
||||
|
.item-container { |
||||
|
background-color: var(--grey-lighter); |
||||
|
border-radius: 0.3rem; |
||||
|
padding: 1.2rem 1rem; |
||||
|
margin: 1rem auto; |
||||
|
} |
||||
|
|
||||
|
.item-container:hover { |
||||
|
background-color: var(--grey-dark-lighter); |
||||
|
transition: all 0.3s ease-in-out; |
||||
|
cursor: pointer; |
||||
|
} |
||||
|
|
||||
|
.count-container { |
||||
|
font-weight: 700; |
||||
|
font-size: 1.7rem; |
||||
|
background-color: var(--mauve-light); |
||||
|
color: var(--mauve); |
||||
|
height: 50px; |
||||
|
width: 50px; |
||||
|
border-radius: 50%; |
||||
|
display: flex; |
||||
|
justify-content: center; |
||||
|
align-items: center; |
||||
|
} |
||||
|
|
||||
|
.item-header { |
||||
|
display: flex; |
||||
|
align-items: flex-start; |
||||
|
} |
||||
|
|
||||
|
.item-title h3 { |
||||
|
font-size: 1.3rem; |
||||
|
font-weight: 700; |
||||
|
} |
||||
|
|
||||
|
.item-content ul { |
||||
|
list-style: none; |
||||
|
padding-left: 0px; |
||||
|
} |
||||
|
|
||||
|
.item-content ul>li { |
||||
|
font-size: 0.9rem; |
||||
|
color: var(--grey); |
||||
|
font-weight: 700; |
||||
|
} |
||||
|
|
||||
|
/* Misc */ |
||||
|
.card-shadow { |
||||
|
-webkit-box-shadow: 1px 3px 5px 0px rgba(222, 222, 222, 1); |
||||
|
-moz-box-shadow: 1px 3px 5px 0px rgba(222, 222, 222, 1); |
||||
|
box-shadow: 1px 3px 5px 0px rgba(222, 222, 222, 1); |
||||
|
} |
||||
|
|
||||
|
/* Table */ |
||||
|
thead { |
||||
|
background-color: #e9ecf0; |
||||
|
border-bottom: none; |
||||
|
} |
||||
|
|
||||
|
.table thead th { |
||||
|
border-bottom: none; |
||||
|
} |
||||
|
|
||||
|
.table td, |
||||
|
.table th { |
||||
|
border-top: 1px solid #eceff2; |
||||
|
} |
||||
|
|
||||
|
.crm_scroll_table { |
||||
|
max-height: 395px; |
||||
|
overflow-y: auto; |
||||
|
} |
||||
|
.recent_activity_div .crm_scroll_table { |
||||
|
max-height: 435px; |
||||
|
} |
||||
|
|
||||
|
.crm_scroll_table thead { |
||||
|
position: sticky; |
||||
|
top: 0; |
||||
|
} |
||||
|
|
||||
|
.crm_scroll_table .count-container { |
||||
|
height: 45px; |
||||
|
width: 130px; |
||||
|
border-radius: 50px; |
||||
|
margin-right: 10px; |
||||
|
} |
||||
|
|
||||
|
.crm_scroll_table .item-content ul > li { |
||||
|
font-size: 1.1rem; |
||||
|
} |
@ -0,0 +1,189 @@ |
|||||
|
/** @odoo-module **/ |
||||
|
|
||||
|
import {registry} from "@web/core/registry"; |
||||
|
import {Component, onWillStart} from "@odoo/owl"; |
||||
|
import {useService} from "@web/core/utils/hooks"; |
||||
|
import { useRef, onPatched, onMounted, useState } from "@odoo/owl"; |
||||
|
const actionRegistry = registry.category("actions"); |
||||
|
|
||||
|
export class DashboardFleetRental extends Component { |
||||
|
async setup() { |
||||
|
this.orm = useService("orm"); |
||||
|
this.action = useService("action"); |
||||
|
this.state = useState({ |
||||
|
top_customers: {}, |
||||
|
available_vehicle_details: {}, |
||||
|
available_cars: false, |
||||
|
running_cars: {}, |
||||
|
running_vehicle_details: {}, |
||||
|
}); |
||||
|
this.modal_warning = useRef("modal_warning"); |
||||
|
this.most_rented_cars_bar = useRef("most_rented_cars_bar"); |
||||
|
this.most_rented_cars_line = useRef("most_rented_cars_line"); |
||||
|
this.most_rented_cars_pie = useRef("most_rented_cars_pie"); |
||||
|
this.start_date = useRef("start_date"); |
||||
|
this.end_date = useRef("end_date"); |
||||
|
// When the component is about to start, fetch data in tiles
|
||||
|
onWillStart(async () => { |
||||
|
this.props.title = 'Dashboard'; |
||||
|
await this.fetch_data(); |
||||
|
}); |
||||
|
// When the component is mounted, render various charts
|
||||
|
onMounted(async () => { |
||||
|
await this.render_graphs(); |
||||
|
}); |
||||
|
} |
||||
|
render_graphs(){ |
||||
|
this.render_most_rented_cars_bar(); |
||||
|
} |
||||
|
async fetch_data() { |
||||
|
var self = this; |
||||
|
await this.orm.call("car.rental.contract", "cars_availability", [] |
||||
|
).then(function(data) { |
||||
|
self.state.available_cars = data['available_cars'] |
||||
|
self.state.running_cars = data['cars_running'] |
||||
|
}); |
||||
|
await this.orm.call("car.rental.contract", "car_details", [] |
||||
|
).then(function(data) { |
||||
|
self.state.running_vehicle_details = data['running_details'] |
||||
|
self.state.available_vehicle_details = data['available_cars'] |
||||
|
}); |
||||
|
await this.orm.call("car.rental.contract", "top_customers", [] |
||||
|
).then(function(data) { |
||||
|
self.state.top_customers = data |
||||
|
}); |
||||
|
} |
||||
|
render_most_rented_cars_bar() { |
||||
|
var self = this; |
||||
|
// Destroy previous chart instances if they exist
|
||||
|
if (this.chartStatus) { |
||||
|
if (this.chartStatus.bar) { |
||||
|
this.chartStatus.bar.destroy(); |
||||
|
} |
||||
|
if (this.chartStatus.line) { |
||||
|
this.chartStatus.line.destroy(); |
||||
|
} |
||||
|
if (this.chartStatus.pie) { |
||||
|
this.chartStatus.pie.destroy(); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
// Render new charts
|
||||
|
this.orm.call('car.rental.contract', 'vehicle_most_rented', [this.start_date.el.value, this.end_date.el.value]).then(result => { |
||||
|
const colors = ["red", "blue", "green", "orange", "purple", "steel", "rebecca", "brown", "pink", "grey", "black"]; |
||||
|
var ctx = self.most_rented_cars_bar.el; |
||||
|
var ctx2 = self.most_rented_cars_line.el; |
||||
|
var ctx3 = self.most_rented_cars_pie.el; |
||||
|
var name = result.name; |
||||
|
var count = result.num; |
||||
|
|
||||
|
// Create new chart instances
|
||||
|
var myChart = new Chart(ctx, { |
||||
|
type: 'bar', |
||||
|
data: { |
||||
|
labels: name, |
||||
|
datasets: [{ |
||||
|
label: 'Count', |
||||
|
data: count, |
||||
|
backgroundColor: colors, |
||||
|
borderColor: colors, |
||||
|
barPercentage: 0.5, |
||||
|
barThickness: 100, |
||||
|
maxBarThickness: 100, |
||||
|
minBarLength: 0, |
||||
|
borderWidth: 1, |
||||
|
fill: false |
||||
|
}] |
||||
|
}, |
||||
|
options: { |
||||
|
scales: { |
||||
|
y: { |
||||
|
beginAtZero: true |
||||
|
}, |
||||
|
}, |
||||
|
responsive: true, |
||||
|
maintainAspectRatio: false, |
||||
|
} |
||||
|
}); |
||||
|
|
||||
|
var myChart2 = new Chart(ctx2, { |
||||
|
type: 'line', |
||||
|
data: { |
||||
|
labels: name, |
||||
|
datasets: [{ |
||||
|
label: 'Count', |
||||
|
data: count, |
||||
|
backgroundColor: colors, |
||||
|
borderColor: colors, |
||||
|
barPercentage: 0.5, |
||||
|
barThickness: 6, |
||||
|
maxBarThickness: 8, |
||||
|
minBarLength: 0, |
||||
|
borderWidth: 1, |
||||
|
type: 'line', |
||||
|
fill: false |
||||
|
}] |
||||
|
}, |
||||
|
options: { |
||||
|
scales: { |
||||
|
y: { |
||||
|
beginAtZero: true |
||||
|
}, |
||||
|
}, |
||||
|
responsive: true, |
||||
|
maintainAspectRatio: false, |
||||
|
} |
||||
|
}); |
||||
|
|
||||
|
var myChart3 = new Chart(ctx3, { |
||||
|
type: 'pie', |
||||
|
data: { |
||||
|
labels: name, |
||||
|
datasets: [{ |
||||
|
label: 'Count', |
||||
|
data: count, |
||||
|
backgroundColor: colors, |
||||
|
borderColor: colors, |
||||
|
type: 'pie', |
||||
|
fill: false |
||||
|
}] |
||||
|
}, |
||||
|
options: { |
||||
|
scales: { |
||||
|
y: { |
||||
|
beginAtZero: true |
||||
|
}, |
||||
|
}, |
||||
|
responsive: true, |
||||
|
maintainAspectRatio: false, |
||||
|
} |
||||
|
}); |
||||
|
|
||||
|
// Save chart instances
|
||||
|
this.chartStatus = { |
||||
|
bar: myChart, |
||||
|
line: myChart2, |
||||
|
pie: myChart3 |
||||
|
}; |
||||
|
|
||||
|
}).catch(error => { |
||||
|
console.error('Error rendering chart:', error); |
||||
|
}); |
||||
|
} |
||||
|
onApplyFilter(){ |
||||
|
if(this.start_date.el.value && this.end_date.el.value){ |
||||
|
if(this.start_date.el.value>this.end_date.el.value){ |
||||
|
this.modal_warning.el.style.display = "block"; |
||||
|
return false |
||||
|
} |
||||
|
|
||||
|
} |
||||
|
this.render_graphs() |
||||
|
} |
||||
|
closeModal(){ |
||||
|
this.modal_warning.el.style.display = "none"; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
DashboardFleetRental.template = "CustomDashBoard"; |
||||
|
actionRegistry.add("fleet_rental_dashboard", DashboardFleetRental); |
@ -0,0 +1,250 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8" ?> |
||||
|
<template> |
||||
|
<!-- Custom Dashboard Template --> |
||||
|
<t t-name="CustomDashBoard"> |
||||
|
<div class="oh_dashboards" style="margin-top: 20px;"> |
||||
|
<div class="container-fluid o_pj_dashboard"> |
||||
|
<hr/> |
||||
|
<div class="form-group col-2"> |
||||
|
<div style="display:flex;"> |
||||
|
<input type="date" id="start_date" name="start_date" |
||||
|
t-ref="start_date"/> |
||||
|
<i class="fa fa-duotone fa-arrow-right"/> |
||||
|
<input type="date" id="end_date" name="end_date" |
||||
|
t-ref="end_date"/> |
||||
|
</div> |
||||
|
<button class="btn btn-primary" |
||||
|
t-on-click="onApplyFilter">Filter |
||||
|
</button> |
||||
|
</div> |
||||
|
<div class="modal" id="modal_warning" tableindex="-1" |
||||
|
role="dialog" t-ref="modal_warning"> |
||||
|
<div class="modal-dialog" role="document"> |
||||
|
<div class="modal-content"> |
||||
|
<div class="modal-header"> |
||||
|
<h4 class="modal-title">Warning!</h4> |
||||
|
</div> |
||||
|
<div class="modal-body"> |
||||
|
<p class="message"> |
||||
|
'Start date should be smaller than end date |
||||
|
for |
||||
|
filtration' |
||||
|
</p> |
||||
|
</div> |
||||
|
<div class="modal-footer"> |
||||
|
<button type="button" t-on-click="closeModal" |
||||
|
class="btn btn-default" |
||||
|
data-dismiss="modal">Close |
||||
|
</button> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- Top Customers --> |
||||
|
<div class="row"> |
||||
|
<h3 style="text-align:center;">Top Customers</h3> |
||||
|
<div class="col-md-12" |
||||
|
style="display:flex;overflow:scroll;"> |
||||
|
<t t-foreach="state.top_customers" t-as="customer" |
||||
|
t-key="customer"> |
||||
|
<div class="dashboard-card card-shadow my_lead" |
||||
|
style="display:flex; align-items:center; width: 25%;"> |
||||
|
<div class="dashboard-card__icon-container bg-mauve-light d-flex justify-content-center"> |
||||
|
<t t-if="customer.image"> |
||||
|
<img t-att-src="'data:image/png;base64,'+customer.image" |
||||
|
alt="Image" |
||||
|
class="dashboard-card__icon-container bg-mauve-light d-flex justify-content-center"/> |
||||
|
</t> |
||||
|
<t t-else=""> |
||||
|
<i class="fa fa-user text-mauve dashboard-card__icon-container bg-mauve-light d-flex justify-content-center |
||||
|
align-items-center"/> |
||||
|
</t> |
||||
|
</div> |
||||
|
<div class="dashboard-card__details"> |
||||
|
<div> |
||||
|
<h4 t-esc="customer.name"/> |
||||
|
</div> |
||||
|
<div style="cursor: pointer;"> |
||||
|
<h5 t-esc="customer.email"/> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</t> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- Available Cars --> |
||||
|
<div class="col-xs-12 col-sm-12 col-lg-12 col-md-12"> |
||||
|
<div class="row" style="margin:0px;"> |
||||
|
<div class="col-6 col-sm-6 helpdesk inbox_tickets"> |
||||
|
<div class="leads_month_pie_div half_chart chart-container card-shadow" |
||||
|
style="height: 528px;"> |
||||
|
<h2> |
||||
|
<center> |
||||
|
Most Rented Cars |
||||
|
</center> |
||||
|
</h2> |
||||
|
<div class="graph_canvas bar_canvas" |
||||
|
style="height:90%;"> |
||||
|
<canvas class="most_rented_cars" |
||||
|
t-ref="most_rented_cars_bar"/> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-6 col-sm-2 helpdesk inbox_tickets "> |
||||
|
<div class="leads_month_pie_div half_chart chart-container card-shadow available_cars" |
||||
|
style="height: 528px;"> |
||||
|
<h2> |
||||
|
<center> |
||||
|
Available Cars |
||||
|
</center> |
||||
|
</h2> |
||||
|
<hr/> |
||||
|
<div class="text-color"> |
||||
|
<div class="crm_dash_cards row"> |
||||
|
<div class="col-sm-12 col-md-12"> |
||||
|
<div class="dashboard-card card-shadow my_lead" |
||||
|
style="display:flex;height: auto;"> |
||||
|
<div class="dashboard-card__icon-container bg-mauve-light d-flex justify-content-center |
||||
|
align-items-center"> |
||||
|
<i class="fa fa-car text-mauve"/> |
||||
|
</div> |
||||
|
<div class="dashboard-card__details"> |
||||
|
<h3> |
||||
|
<span t-esc="state.available_cars"/> |
||||
|
</h3> |
||||
|
<h4>Cars Available |
||||
|
</h4> |
||||
|
</div> |
||||
|
<div class="dashboard-card__details"> |
||||
|
<h3> |
||||
|
<span t-esc="state.running_cars"/> |
||||
|
</h3> |
||||
|
<h4>Cars Running |
||||
|
</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<table class="table table-sm"> |
||||
|
<thead> |
||||
|
<tr> |
||||
|
<th rowspan="14"> |
||||
|
<center>Car Name</center> |
||||
|
</th> |
||||
|
</tr> |
||||
|
</thead> |
||||
|
<tbody> |
||||
|
<t t-foreach="state.available_vehicle_details" |
||||
|
t-as="available_car" |
||||
|
t-key="available_car['available_car']"> |
||||
|
<tr> |
||||
|
<td> |
||||
|
<center> |
||||
|
<t t-esc="available_car['available_car']"/> |
||||
|
</center> |
||||
|
</td> |
||||
|
</tr> |
||||
|
</t> |
||||
|
</tbody> |
||||
|
</table> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-6 col-sm-4 helpdesk inbox_tickets "> |
||||
|
<div class="leads_month_pie_div half_chart chart-container card-shadow running_vehicle_contact" |
||||
|
style="height: 528px;"> |
||||
|
<h2> |
||||
|
<center> |
||||
|
Running vehicle and contact detail |
||||
|
</center> |
||||
|
</h2> |
||||
|
<hr/> |
||||
|
<div class="text-color"> |
||||
|
<table class="table table-sm" |
||||
|
style="table-layout:fixed;"> |
||||
|
<thead> |
||||
|
<tr> |
||||
|
<th rowspan="14">Car Name</th> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<th rowspan="14">Start Date</th> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<th rowspan="14">End Date</th> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<th rowspan="14">Customer Name |
||||
|
</th> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<th rowspan="14">Customer |
||||
|
Contact |
||||
|
</th> |
||||
|
</tr> |
||||
|
</thead> |
||||
|
<tbody> |
||||
|
<t t-foreach="state.running_vehicle_details" |
||||
|
t-as="data" t-key="data"> |
||||
|
<tr> |
||||
|
<td> |
||||
|
<t t-esc="data['vehicle']"/> |
||||
|
</td> |
||||
|
<td> |
||||
|
<t t-esc="data['start_date']"/> |
||||
|
</td> |
||||
|
<td> |
||||
|
<t t-esc="data['end_date']"/> |
||||
|
</td> |
||||
|
<td> |
||||
|
<t t-esc="data['customer']"/> |
||||
|
</td> |
||||
|
<td> |
||||
|
<t t-if="data['phone']"> |
||||
|
<t t-esc="data['phone']"/> |
||||
|
</t> |
||||
|
</td> |
||||
|
</tr> |
||||
|
</t> |
||||
|
</tbody> |
||||
|
</table> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-12 col-sm-12" style="display:flex;"> |
||||
|
<div class="col-6 col-sm-6 helpdesk inbox_tickets"> |
||||
|
<div class="leads_month_pie_div half_chart chart-container card-shadow" |
||||
|
style="height: 528px;"> |
||||
|
<h2> |
||||
|
<center> |
||||
|
Most Rented Cars |
||||
|
</center> |
||||
|
</h2> |
||||
|
<div class="graph_canvas pie_canvas" |
||||
|
style="height:90%;"> |
||||
|
<canvas class="most_rented_cars_pie" |
||||
|
t-ref="most_rented_cars_pie"/> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-6 col-sm-6 helpdesk inbox_tickets"> |
||||
|
<div class="leads_month_pie_div half_chart chart-container card-shadow" |
||||
|
style="height: 528px;"> |
||||
|
<h2> |
||||
|
<center> |
||||
|
Most Rented Cars |
||||
|
</center> |
||||
|
</h2> |
||||
|
<div class="graph_canvas line_canvas" |
||||
|
style="height:90%;"> |
||||
|
<canvas class="most_rented_cars_line" |
||||
|
t-ref="most_rented_cars_line"/> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</t> |
||||
|
</template> |
@ -0,0 +1,11 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8" ?> |
||||
|
<odoo> |
||||
|
<record id="action_fleet_rental_dashboard" model="ir.actions.client"> |
||||
|
<field name="name">Fleet.Rental.Dashboard</field> |
||||
|
<field name="tag">fleet_rental_dashboard</field> |
||||
|
</record> |
||||
|
<!-- This Menu Item must have a parent and an action --> |
||||
|
<menuitem id="rental_dashboard" name="Dashboard" |
||||
|
action="action_fleet_rental_dashboard" parent="fleet.menu_root" |
||||
|
sequence="1"/> |
||||
|
</odoo> |