@ -0,0 +1,47 @@ |
|||
.. 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 |
|||
|
|||
Accounting Dashboard |
|||
====================== |
|||
* This module allow to view the Dashboard of Accounting with complete details. |
|||
|
|||
Configuration |
|||
============= |
|||
* No additional configurations needed. |
|||
|
|||
Company |
|||
------- |
|||
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__ |
|||
|
|||
License |
|||
------- |
|||
General Public License, Version 3 (LGPL-3). |
|||
(https://www.gnu.org/licenses/lgpl-3.0-standalone.html) |
|||
|
|||
Credits |
|||
------- |
|||
* Developer: (V17) Ashwin A |
|||
* 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) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|||
# Author: Cybrosys Techno Solutions(<https://www.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 models |
@ -0,0 +1,48 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|||
# Author: Cybrosys Techno Solutions(<https://www.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': 'Accounting Dashboard Odoo17', |
|||
'version': '17.0.1.0.0', |
|||
'category': 'Accounting ', |
|||
'summary': 'Odoo Accounting Dashboard, Accounting Dashboard V17, Account Dashboard, Dashboard', |
|||
'description': """Accounting, Odoo Accounting Dashboard, Accounting Dashboard V17, Account Dashboard, Dashboard, Invoice Dashboard, Invoice Graph View, Odoo17""", |
|||
'author': 'Cybrosys Techno Solutions', |
|||
'company': 'Cybrosys Techno Solutions', |
|||
'maintainer': 'Cybrosys Techno Solutions', |
|||
'website': 'https://cybrosys.com', |
|||
'depends': ['base_accounting_kit'], |
|||
'data': [ |
|||
'data/account_move_data.xml', |
|||
], |
|||
'assets':{ |
|||
'web.assets_backend':[ |
|||
'odoo_accounting_dashboard/static/src/js/lib/chart/chart.min.js', |
|||
'odoo_accounting_dashboard/static/src/xml/accounting_dashboard.xml', |
|||
'odoo_accounting_dashboard/static/src/js/accounting_dashboard.js', |
|||
] |
|||
}, |
|||
'images': ['static/description/banner.jpg'], |
|||
'license': 'LGPL-3', |
|||
'installable': True, |
|||
'auto_install': False, |
|||
'application': False, |
|||
} |
@ -0,0 +1,11 @@ |
|||
<?xml version="1.0" encoding="UTF-8" ?> |
|||
<odoo> |
|||
<data> |
|||
<record id="accounting_dashboard_action" model="ir.actions.client"> |
|||
<field name="name">Dashboard</field> |
|||
<field name="tag">accounting_dashboard_tags</field> |
|||
</record> |
|||
<menuitem name="Accounting Dashboard" id="account_dashboard" |
|||
action="accounting_dashboard_action"/> |
|||
</data> |
|||
</odoo> |
@ -0,0 +1,7 @@ |
|||
## Module <odoo_accounting_dashboard> |
|||
|
|||
#### 19.02.2024 |
|||
#### Version 17.0.1.0.0 |
|||
##### ADD |
|||
|
|||
- Initial Commit for Accounting Dashboard |
@ -0,0 +1,22 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|||
# Author: Cybrosys Techno Solutions(<https://www.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 account_move |
@ -0,0 +1,413 @@ |
|||
# -*- coding: utf-8 -*- |
|||
############################################################################# |
|||
# |
|||
# Cybrosys Technologies Pvt. Ltd. |
|||
# |
|||
# Copyright (C) 2024-TODAY Cybrosys Technologies(<https://www.cybrosys.com>) |
|||
# Author: Cybrosys Techno Solutions(<https://www.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/>. |
|||
# |
|||
############################################################################# |
|||
import calendar |
|||
from odoo import api, models, fields |
|||
|
|||
|
|||
class AccountMove(models.Model): |
|||
_inherit = 'account.move' |
|||
|
|||
@api.model |
|||
def get_datas(self): |
|||
""" Getting datas for tiles in the dashboard like count of open invoice , paid invoice etc""" |
|||
invoices = self.search([]) |
|||
invoice_in_draft = invoices.filtered(lambda x: x.state == 'draft') |
|||
invoice_in_paid = invoices.filtered(lambda x: x.payment_state == 'paid') |
|||
self._cr.execute(""" select sum(debit) as debit, sum(credit) as credit from account_account, account_move_line where |
|||
account_move_line.account_id = account_account.id AND account_account.internal_group = 'income' """) |
|||
debit_credit = self._cr.dictfetchall() |
|||
income = [i['debit'] - i['credit'] for i in debit_credit] |
|||
income = income[0] * -1 |
|||
qry_reconcile = """ select count(*) FROM account_move_line l,account_account a |
|||
where L.account_id=a.id AND l.full_reconcile_id IS NULL |
|||
AND l.balance != 0 AND a.reconcile IS TRUE""" |
|||
self._cr.execute(qry_reconcile) |
|||
reconcile_count = [i['count'] for i in self._cr.dictfetchall()] |
|||
journal_list = self.env['account.journal'].search([]) |
|||
journal_data = [] |
|||
for i in journal_list: |
|||
journal_data.append({'id': i.id, |
|||
'name': i.name, |
|||
'type': i.type}) |
|||
|
|||
return { |
|||
'open_invoice': len(invoice_in_draft), |
|||
'paid_invoice': len(invoice_in_paid), |
|||
'income': income, |
|||
'currency_symbol': self.env.company.currency_id.symbol, |
|||
'unreconcile_items': reconcile_count, |
|||
'journal_data': journal_data, |
|||
} |
|||
|
|||
@api.model |
|||
def get_income_chart(self, income): |
|||
""" Getting datas for income expense and profit chart based on current month and year """ |
|||
if income == 'income_this_month': |
|||
query_income = """ select sum(debit)-sum(credit) as income ,cast(to_char(account_move_line.date, 'DD')as int) |
|||
as date , internal_group from account_move_line , account_account |
|||
where account_move_line.account_id=account_account.id AND internal_group='income' AND Extract(month FROM account_move_line.date) = Extract(month FROM DATE(NOW())) |
|||
AND Extract(YEAR FROM account_move_line.date) = Extract(YEAR FROM DATE(NOW())) group by internal_group,date """ |
|||
self._cr.execute(query_income) |
|||
record = self._cr.dictfetchall() |
|||
query_expense = """ select sum(debit)-sum(credit) as expense ,cast(to_char(account_move_line.date, 'DD')as int) |
|||
as date , internal_group from account_move_line , account_account where |
|||
account_move_line.account_id=account_account.id AND internal_group='expense' AND Extract(month FROM account_move_line.date) = Extract(month FROM DATE(NOW())) |
|||
AND Extract(YEAR FROM account_move_line.date) = Extract(YEAR FROM DATE(NOW())) group by internal_group,date """ |
|||
self._cr.execute(query_expense) |
|||
result = self._cr.dictfetchall() |
|||
|
|||
now = fields.Date.today() |
|||
last_day = calendar.monthrange(now.year, now.month)[1] |
|||
day_list = list(range(1, last_day + 1)) |
|||
records = [] |
|||
for date in day_list: |
|||
last_month_inc = list( |
|||
filter(lambda m: m['date'] == date, record)) |
|||
last_month_exp = list( |
|||
filter(lambda m: m['date'] == date, result)) |
|||
if not last_month_inc and not last_month_exp: |
|||
records.append({ |
|||
'date': date, |
|||
'income': 0.0, |
|||
'expense': 0.0, |
|||
'profit': 0.0 |
|||
}) |
|||
elif (not last_month_inc) and last_month_exp: |
|||
last_month_exp[0].update({ |
|||
'income': 0.0, |
|||
'expense': -1 * last_month_exp[0]['expense'] if |
|||
last_month_exp[0]['expense'] < 1 else |
|||
last_month_exp[0]['expense'] |
|||
}) |
|||
last_month_exp[0].update({ |
|||
'profit': last_month_exp[0]['income'] - |
|||
last_month_exp[0]['expense'] |
|||
}) |
|||
records.append(last_month_exp[0]) |
|||
elif (not last_month_exp) and last_month_inc: |
|||
last_month_inc[0].update({ |
|||
'expense': 0.0, |
|||
'income': -1 * last_month_inc[0]['income'] if |
|||
last_month_inc[0]['income'] < 1 else |
|||
last_month_inc[0]['income'] |
|||
}) |
|||
last_month_inc[0].update({ |
|||
'profit': last_month_inc[0]['income'] - |
|||
last_month_inc[0]['expense'] |
|||
}) |
|||
records.append(last_month_inc[0]) |
|||
else: |
|||
last_month_inc[0].update({ |
|||
'income': -1 * last_month_inc[0]['income'] if |
|||
last_month_inc[0]['income'] < 1 else |
|||
last_month_inc[0]['income'], |
|||
'expense': -1 * last_month_exp[0]['expense'] if |
|||
last_month_exp[0]['expense'] < 1 else |
|||
last_month_exp[0]['expense'] |
|||
}) |
|||
last_month_inc[0].update({ |
|||
'profit': last_month_inc[0]['income'] - |
|||
last_month_inc[0]['expense'] |
|||
}) |
|||
records.append(last_month_inc[0]) |
|||
income = [] |
|||
expense = [] |
|||
date = [] |
|||
profit = [] |
|||
for rec in records: |
|||
income.append(rec['income']) |
|||
expense.append(rec['expense']) |
|||
date.append(rec['date']) |
|||
profit.append(rec['profit']) |
|||
return { |
|||
'income': income, |
|||
'expense': expense, |
|||
'date': date, |
|||
'profit': profit |
|||
} |
|||
elif income == 'income_this_year': |
|||
query_income = """ select sum(debit)-sum(credit) as income ,to_char(account_move_line.date, 'Month') as month , |
|||
internal_group from account_move_line ,account_account |
|||
where account_move_line.account_id=account_account.id AND internal_group = 'income' |
|||
AND to_char(DATE(NOW()), 'YY') = to_char(account_move_line.date, 'YY') |
|||
group by internal_group,month """ |
|||
self._cr.execute(query_income) |
|||
record = self._cr.dictfetchall() |
|||
query_expense = """ select sum(debit)-sum(credit) as expense ,to_char(account_move_line.date, 'Month') as month , |
|||
internal_group from account_move_line , account_account where |
|||
account_move_line.account_id=account_account.id AND internal_group = 'expense' |
|||
AND to_char(DATE(NOW()), 'YY') = to_char(account_move_line.date, 'YY') |
|||
group by internal_group,month """ |
|||
self._cr.execute(query_expense) |
|||
result = self._cr.dictfetchall() |
|||
|
|||
month_list = calendar.month_name[1:] |
|||
records = [] |
|||
for month in month_list: |
|||
last_month_inc = list( |
|||
filter(lambda m: m['month'].strip() == month, record)) |
|||
last_month_exp = list( |
|||
filter(lambda m: m['month'].strip() == month, result)) |
|||
if not last_month_inc and not last_month_exp: |
|||
records.append({ |
|||
'month': month, |
|||
'income': 0.0, |
|||
'expense': 0.0, |
|||
'profit': 0.0, |
|||
}) |
|||
elif (not last_month_inc) and last_month_exp: |
|||
last_month_exp[0].update({ |
|||
'income': 0.0, |
|||
'expense': -1 * last_month_exp[0]['expense'] if |
|||
last_month_exp[0]['expense'] < 1 else |
|||
last_month_exp[0]['expense'] |
|||
}) |
|||
last_month_exp[0].update({ |
|||
'profit': last_month_exp[0]['income'] - |
|||
last_month_exp[0]['expense'] |
|||
}) |
|||
records.append(last_month_exp[0]) |
|||
elif (not last_month_exp) and last_month_inc: |
|||
last_month_inc[0].update({ |
|||
'expense': 0.0, |
|||
'income': -1 * last_month_inc[0]['income'] if |
|||
last_month_inc[0]['income'] < 1 else |
|||
last_month_inc[0]['income'] |
|||
}) |
|||
last_month_inc[0].update({ |
|||
'profit': last_month_inc[0]['income'] - |
|||
last_month_inc[0]['expense'] |
|||
}) |
|||
records.append(last_month_inc[0]) |
|||
else: |
|||
last_month_inc[0].update({ |
|||
'income': -1 * last_month_inc[0]['income'] if |
|||
last_month_inc[0]['income'] < 1 else |
|||
last_month_inc[0]['income'], |
|||
'expense': -1 * last_month_exp[0]['expense'] if |
|||
last_month_exp[0]['expense'] < 1 else |
|||
last_month_exp[0]['expense'] |
|||
}) |
|||
last_month_inc[0].update({ |
|||
'profit': last_month_inc[0]['income'] - |
|||
last_month_inc[0]['expense'] |
|||
}) |
|||
records.append(last_month_inc[0]) |
|||
income = [] |
|||
expense = [] |
|||
month = [] |
|||
profit = [] |
|||
for rec in records: |
|||
income.append(rec['income']) |
|||
expense.append(rec['expense']) |
|||
month.append(rec['month']) |
|||
profit.append(rec['profit']) |
|||
return { |
|||
'income': income, |
|||
'expense': expense, |
|||
'date': month, |
|||
'profit': profit, |
|||
} |
|||
|
|||
@api.model |
|||
def get_payment_data(self, payment_list_filter, payment_data_filter): |
|||
""" Getting datas for customer payment list and vendor payment list based on current year and month""" |
|||
last_day = (calendar.monthrange(fields.Date.today().year, fields.Date.today().month))[1] |
|||
if payment_list_filter == 'customer_payment': |
|||
if payment_data_filter == 'this_month': |
|||
start_date = f"{fields.Date.today().year}-{fields.Date.today().month}-01" |
|||
end_date = f"{fields.Date.today().year}-{fields.Date.today().month}-{last_day}" |
|||
invoices = self.search( |
|||
[('move_type', '=', 'out_invoice'), |
|||
('payment_state', '=', 'paid'), |
|||
('invoice_date', '>=', start_date), |
|||
('invoice_date', '<=', end_date)]) |
|||
else: |
|||
start_date = f"{fields.Date.today().year}-01-01" |
|||
end_date = f"{fields.Date.today().year}-12-31" |
|||
invoices = self.search( |
|||
[('move_type', '=', 'out_invoice'), |
|||
('payment_state', '=', 'paid'), |
|||
('invoice_date', '>=', start_date), |
|||
('invoice_date', '<=', end_date)]) |
|||
result = [] |
|||
for i in invoices: |
|||
result.append({'id': i.id, |
|||
'partner': i.partner_id.name, |
|||
'amount': i.amount_total, |
|||
'date': str(i.invoice_date)}) |
|||
return result |
|||
else: |
|||
if payment_data_filter == 'this_month': |
|||
start_date = f"{fields.Date.today().year}-{fields.Date.today().month}-01" |
|||
end_date = f"{fields.Date.today().year}-{fields.Date.today().month}-{last_day}" |
|||
vendor_bills = self.search( |
|||
[('move_type', '=', 'in_invoice'), |
|||
('payment_state', '=', 'paid'), |
|||
('invoice_date', '>=', start_date), |
|||
('invoice_date', '<=', end_date)]) |
|||
else: |
|||
start_date = f"{fields.Date.today().year}-01-01" |
|||
end_date = f"{fields.Date.today().year}-12-31" |
|||
vendor_bills = self.search( |
|||
[('move_type', '=', 'in_invoice'), |
|||
('payment_state', '=', 'paid'), |
|||
('invoice_date', '>=', start_date), |
|||
('invoice_date', '<=', end_date)]) |
|||
result = [] |
|||
for i in vendor_bills: |
|||
result.append({'id': i.id, |
|||
'partner': i.partner_id.name, |
|||
'amount': i.amount_total, |
|||
'date': str(i.invoice_date)}) |
|||
return result |
|||
|
|||
@api.model |
|||
def get_top_datas(self, top_filter): |
|||
""" Getting datas for top customer and top vendors based on current month and current year""" |
|||
last_day = (calendar.monthrange(fields.Date.today().year, |
|||
fields.Date.today().month))[1] |
|||
if top_filter == 'this_month': |
|||
start_date = f"{fields.Date.today().year}-{fields.Date.today().month}-01" |
|||
end_date = f"{fields.Date.today().year}-{fields.Date.today().month}-{last_day}" |
|||
vendor_bills = self.search( |
|||
[('move_type', '=', 'in_invoice'), |
|||
('invoice_date', '>=', start_date), |
|||
('invoice_date', '<=', end_date)]) |
|||
customer_invoices = self.search( |
|||
[('move_type', '=', 'out_invoice'), |
|||
('invoice_date', '>=', start_date), |
|||
('invoice_date', '<=', end_date)]) |
|||
else: |
|||
start_date = f"{fields.Date.today().year}-01-01" |
|||
end_date = f"{fields.Date.today().year}-12-31" |
|||
vendor_bills = self.search( |
|||
[('move_type', '=', 'in_invoice'), |
|||
('invoice_date', '>=', start_date), |
|||
('invoice_date', '<=', end_date)]) |
|||
customer_invoices = self.search( |
|||
[('move_type', '=', 'out_invoice'), |
|||
('invoice_date', '>=', start_date), |
|||
('invoice_date', '<=', end_date)]) |
|||
vendor_partners = vendor_bills.mapped('partner_id') |
|||
top_vendors = [] |
|||
for vendor in vendor_partners: |
|||
vendor_bills.filtered(lambda data: data.partner_id == vendor) |
|||
top_vendors.append({ |
|||
'id': vendor.id, |
|||
'name': vendor.name}) |
|||
customer_partners = customer_invoices.mapped('partner_id') |
|||
top_customers = [] |
|||
for customer in customer_partners: |
|||
customer_invoices.filtered(lambda x: x.partner_id == customer) |
|||
top_customers.append({ |
|||
'id': customer.id, |
|||
'name': customer.name}) |
|||
return { |
|||
'top_vendors': top_vendors, |
|||
'top_customers': top_customers, |
|||
} |
|||
|
|||
@api.model |
|||
def get_aged_payable(self, aged_filter, aged_payable_filter): |
|||
""" Getting Datas for aged payable and aged receivable chart based on current month and year""" |
|||
if aged_filter == 'aged_receive': |
|||
if aged_payable_filter == 'this_month': |
|||
self._cr.execute(""" select to_char(account_move.date, 'Month') as month, res_partner.name as due_partner, account_move.partner_id as parent, |
|||
sum(account_move.amount_total) as amount from account_move, res_partner where account_move.partner_id = res_partner.id |
|||
AND account_move.move_type = 'out_invoice' |
|||
AND payment_state = 'not_paid' |
|||
AND Extract(month FROM account_move.invoice_date_due) = Extract(month FROM DATE(NOW())) |
|||
AND Extract(YEAR FROM account_move.invoice_date_due) = Extract(YEAR FROM DATE(NOW())) |
|||
AND account_move.partner_id = res_partner.commercial_partner_id |
|||
group by parent, due_partner, month |
|||
order by amount desc""") |
|||
else: |
|||
self._cr.execute("""select res_partner.name as due_partner, account_move.partner_id as parent, |
|||
sum(account_move.amount_total) as amount from account_move, res_partner where account_move.partner_id = res_partner.id |
|||
AND account_move.move_type = 'out_invoice' |
|||
AND payment_state = 'not_paid' |
|||
AND Extract(YEAR FROM account_move.invoice_date_due) = Extract(YEAR FROM DATE(NOW())) |
|||
AND account_move.partner_id = res_partner.commercial_partner_id |
|||
group by parent, due_partner |
|||
order by amount desc""") |
|||
record = self._cr.dictfetchall() |
|||
partner = [item['due_partner'] for item in record] |
|||
amount = [item['amount'] for item in record] |
|||
return {'partner': partner, |
|||
'amount': amount, } |
|||
else: |
|||
if aged_payable_filter == 'this_month': |
|||
self._cr.execute("""select to_char(account_move.date, 'Month') as month, res_partner.name as bill_partner, account_move.partner_id as parent, |
|||
sum(account_move.amount_total) as amount from account_move, res_partner where account_move.partner_id = res_partner.id |
|||
AND account_move.move_type = 'in_invoice' |
|||
AND payment_state = 'not_paid' |
|||
AND Extract(month FROM account_move.invoice_date_due) = Extract(month FROM DATE(NOW())) |
|||
AND Extract(YEAR FROM account_move.invoice_date_due) = Extract(YEAR FROM DATE(NOW())) |
|||
AND account_move.partner_id = res_partner.commercial_partner_id |
|||
group by parent, bill_partner, month |
|||
order by amount desc""") |
|||
else: |
|||
self._cr.execute("""select to_char(account_move.date, 'Month') as month, res_partner.name as bill_partner, account_move.partner_id as parent, |
|||
sum(account_move.amount_total) as amount from account_move, res_partner where account_move.partner_id = res_partner.id |
|||
AND account_move.move_type = 'in_invoice' |
|||
AND payment_state = 'not_paid' |
|||
AND Extract(YEAR FROM account_move.invoice_date_due) = Extract(YEAR FROM DATE(NOW())) |
|||
AND account_move.partner_id = res_partner.commercial_partner_id |
|||
group by parent, bill_partner, month |
|||
order by amount desc""") |
|||
record = self._cr.dictfetchall() |
|||
partner = [item['bill_partner'] for item in record] |
|||
amount = [item['amount'] for item in record] |
|||
return {'partner': partner, |
|||
'amount': amount, } |
|||
|
|||
@api.model |
|||
def get_sale_revenue(self, top_sale_cust_filter): |
|||
""" Getting datas for top 10 sale revenue customer based on current month and year """ |
|||
query = """ SELECT partner_id as customer_id, MAX(res_partner.name) as customer , SUM(amount_total_signed) as total_amount |
|||
FROM account_move JOIN res_partner ON account_move.partner_id = res_partner.id |
|||
WHERE move_type = 'out_invoice' """ |
|||
if top_sale_cust_filter == 'this_month': |
|||
query += """AND Extract(month FROM account_move.invoice_date) = Extract(month FROM DATE(NOW())) |
|||
AND Extract(YEAR FROM account_move.invoice_date) = Extract(YEAR FROM DATE(NOW())) |
|||
GROUP BY partner_id |
|||
ORDER BY total_amount DESC LIMIT 10 """ |
|||
self._cr.execute(query) |
|||
else: |
|||
query += """AND Extract(YEAR FROM account_move.invoice_date) = Extract(YEAR FROM DATE(NOW())) |
|||
GROUP BY partner_id |
|||
ORDER BY total_amount DESC LIMIT 10""" |
|||
self._cr.execute(query) |
|||
records = self._cr.dictfetchall() |
|||
return records |
|||
|
|||
@api.model |
|||
def get_bank_balance(self): |
|||
""" Getting data for bank and cash balance """ |
|||
self._cr.execute("""select account_account.name as name, sum(balance) as balance, |
|||
min(account_account.id) as id from account_move_line left join |
|||
account_account on account_account.id = account_move_line.account_id where |
|||
account_account.account_type = 'asset_cash' |
|||
group by account_account.name""") |
|||
records = self._cr.dictfetchall() |
|||
return records |
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: 912 KiB |
After Width: | Height: | Size: 87 KiB |
After Width: | Height: | Size: 46 KiB |
After Width: | Height: | Size: 81 KiB |
After Width: | Height: | Size: 79 KiB |
After Width: | Height: | Size: 46 KiB |
After Width: | Height: | Size: 173 KiB |
After Width: | Height: | Size: 27 KiB |
After Width: | Height: | Size: 82 KiB |
After Width: | Height: | Size: 35 KiB |
After Width: | Height: | Size: 35 KiB |
After Width: | Height: | Size: 40 KiB |
After Width: | Height: | Size: 75 KiB |
After Width: | Height: | Size: 45 KiB |
After Width: | Height: | Size: 29 KiB |
After Width: | Height: | Size: 35 KiB |
After Width: | Height: | Size: 325 KiB |
After Width: | Height: | Size: 85 KiB |
After Width: | Height: | Size: 8.2 KiB |
@ -0,0 +1,883 @@ |
|||
<!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> |
|||
</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;"> |
|||
Accounting Dashboard</h1> |
|||
<p class="my-3 mb-4" |
|||
style="max-width: 80%; font-weight: 400 !important; line-height: 32px; color: #718096;"> |
|||
Odoo Accounting Dashboard V17 |
|||
</p> |
|||
<div style="width: 80%; margin-top: 3rem;"> |
|||
<img src="assets/screenshots/hero.png" |
|||
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;"> |
|||
Income/Expense/Profit Chart</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;"> |
|||
Customer/Vendor Payment List</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 Sale Revenue Customer</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;"> |
|||
Aged Receivables/Payables</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;"> |
|||
Bank & Cash Balance</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 Customers/Vendors</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="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
Dashboard</h4> |
|||
<p class="my-3 mb-4" |
|||
style="max-width: 80%; font-weight: 400 !important; line-height: 32px; color: #718096;"> |
|||
User can see different tiles of Open Invoice |
|||
, Paid Invoice , Total Income , UnReconciled |
|||
Items And different details of customer and |
|||
Vendor Payment List, Bank And Cash Balance , |
|||
Top Customers/Vendors and different charts |
|||
of Income/Expense/Profit and Aged |
|||
Receivables and Payables. |
|||
</p> |
|||
</div> |
|||
<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="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> |
|||
</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="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
Income Chart</h4> |
|||
</div> |
|||
<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> |
|||
</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="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
Expense Chart</h4> |
|||
</div> |
|||
<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> |
|||
</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="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
Profit Chart</h4> |
|||
</div> |
|||
<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> |
|||
</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="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
All In One Chart</h4> |
|||
</div> |
|||
<div class="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
Includes Income Expense And Profit</h4> |
|||
</div> |
|||
<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> |
|||
</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="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
Customer Payment List</h4> |
|||
</div> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/7.png" |
|||
class="img-responsive" width="100%" |
|||
height="auto"> |
|||
</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="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
Vendor Payment List</h4> |
|||
</div> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/8.png" |
|||
class="img-responsive" width="100%" |
|||
height="auto"> |
|||
</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="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
Aged Receivable Chart</h4> |
|||
</div> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/9.png" |
|||
class="img-responsive" width="100%" |
|||
height="auto"> |
|||
</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="px-3"> |
|||
<h4 class="mt-2" |
|||
style=" font-weight:600 !important; color:#282F33 !important; font-size:1.3rem !important"> |
|||
Aged Payable Chart</h4> |
|||
</div> |
|||
<div class="row justify-content-center p-3 w-100 m-0"> |
|||
<img src="assets/screenshots/10.png" |
|||
class="img-responsive" width="100%" |
|||
height="auto"> |
|||
</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>Users Can See |
|||
Income/Expense/Profit Chart |
|||
</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>Details Of Top |
|||
Sale Revenue Customer |
|||
</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>Details of |
|||
Vendor/Customer Payment List |
|||
</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>Details of Aged |
|||
Receivables/Payables |
|||
</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>Details of Bank |
|||
& Cash Balance |
|||
</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>Details of Top |
|||
Vendors/Customers List |
|||
</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>Filters Based On |
|||
This Year & This Month |
|||
</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>Available in |
|||
Odoo 17.0 Community |
|||
</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: 19th February 2024</span> |
|||
</div> |
|||
<p class="m-0" |
|||
style=" color:#718096!important; font-size:1rem !important;line-height: 28px;"> |
|||
Initial Commit for Accounting 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/base_accounting_kit/" |
|||
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"> |
|||
Odoo 17 Full Accounting Kit</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<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/2.png" |
|||
alt="" width="100%" |
|||
height="auto"> |
|||
</div> |
|||
<p class="text-center pt-2 text-black font-weight-bold"> |
|||
Odoo17 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/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/3.png" |
|||
alt="" width="100%" |
|||
height="auto"> |
|||
</div> |
|||
<p class="text-center pt-2 text-black font-weight-bold"> |
|||
Odoo17 Invoice Format Editor</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/base_account_budget/" |
|||
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"> |
|||
Odoo 17 Budget Management</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="col"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/17.0/account_payment_approval/" |
|||
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"> |
|||
Payment Approvals</p> |
|||
</div> |
|||
</a> |
|||
</div> |
|||
</div> |
|||
<div class="col"> |
|||
<div class="p-3"> |
|||
<a href="https://apps.odoo.com/apps/modules/17.0/insurance_management_cybro/" |
|||
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"> |
|||
Insurance 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,184 @@ |
|||
/** @odoo-module */ |
|||
import { registry } from "@web/core/registry" |
|||
import { loadJS} from '@web/core/assets'; |
|||
import { useService } from "@web/core/utils/hooks" |
|||
const { Component, useRef, onMounted ,useState , onWillStart} = owl |
|||
|
|||
export class AccountDashboard extends Component { |
|||
setup(){ |
|||
this.state = useState({ |
|||
data:{}, |
|||
top:{}, |
|||
income_chart:{}, |
|||
chart:[], |
|||
payment_data: [], |
|||
top_sale_cust: [], |
|||
IncomeExpense:'income', |
|||
top_filter: 'this_month', |
|||
income:'income_this_month', |
|||
aged_filter: 'aged_receive', |
|||
top_sale_cust_filter: 'this_month', |
|||
aged_payable_filter: 'this_month', |
|||
payment_data_filter: 'this_month', |
|||
payment_list_filter: 'customer_payment', |
|||
}) |
|||
this.All = useRef("All"), |
|||
this.AgedRecords = useRef("AgedRecords"), |
|||
this.Balance = useRef("Balance"), |
|||
this.orm = useService("orm"); |
|||
onWillStart(async () => { |
|||
await this.FetchData(); |
|||
}) |
|||
onMounted(async() => { |
|||
this.RenderChart() |
|||
}) |
|||
} |
|||
async onPeriodChange(){ |
|||
if (this.state.chart.length !=0) { |
|||
this.state.chart.forEach((chart)=> { |
|||
chart.destroy() |
|||
}) |
|||
this.FetchData() |
|||
} |
|||
} |
|||
async FetchData(){ |
|||
this.state.data = await this.orm.call('account.move','get_datas',[]); |
|||
this.state.income_chart = await this.orm.call("account.move","get_income_chart", [this.state.income]); |
|||
this.state.payment_data = await this.orm.call("account.move","get_payment_data", [this.state.payment_list_filter, this.state.payment_data_filter]); |
|||
this.state.top = await this.orm.call("account.move","get_top_datas", [this.state.top_filter]); |
|||
this.state.aged_payable = await this.orm.call("account.move","get_aged_payable", [this.state.aged_filter,this.state.aged_payable_filter]); |
|||
this.state.top_sale_cust = await this.orm.call("account.move","get_sale_revenue", [this.state.top_sale_cust_filter]); |
|||
this.state.balance = await this.orm.call("account.move","get_bank_balance", []); |
|||
this.RenderChart() |
|||
} |
|||
async RenderChart(){ |
|||
this.aged_chart(this.AgedRecords.el,'bar',this.state.aged_payable.partner,'Amount',this.state.aged_payable.amount) |
|||
if (this.state.IncomeExpense == 'income'){ |
|||
this.income_charts(this.All.el,'bar',this.state.income_chart.date,this.state.income_chart.income) |
|||
} |
|||
else if (this.state.IncomeExpense == 'expense'){ |
|||
this.expense_charts(this.All.el,'bar',this.state.income_chart.date,this.state.income_chart.expense) |
|||
} |
|||
else if (this.state.IncomeExpense == 'profit'){ |
|||
this.profit_charts(this.All.el,'line',this.state.income_chart.date,this.state.income_chart.profit) |
|||
} |
|||
else { |
|||
this.AllInOneChart(this.All.el,'bar',this.state.income_chart.date,this.state.income_chart.income,this.state.income_chart.expense,this.state.income_chart.profit) |
|||
} |
|||
} |
|||
aged_chart(canvas,type,labels,label,data){ |
|||
this.state.chart.push(new Chart( |
|||
canvas, |
|||
{ |
|||
type:type, |
|||
data: { |
|||
labels: labels, |
|||
datasets: [ |
|||
{ |
|||
label: label, |
|||
data: data, |
|||
borderRadius: 10, |
|||
backgroundColor: 'rgba(39, 232, 232, 0.5)', |
|||
borderColor: 'rgba(39, 232, 232, 1)', |
|||
} |
|||
] |
|||
}, |
|||
} |
|||
)) |
|||
} |
|||
income_charts(canvas,type,labels,data){ |
|||
this.state.chart.push(new Chart( |
|||
canvas, |
|||
{ |
|||
type: type, |
|||
data: { |
|||
labels: labels, |
|||
datasets: [ |
|||
{ |
|||
label: 'Income', |
|||
data: data, |
|||
borderWidth: 2, |
|||
borderRadius: 10, |
|||
borderSkipped: false, |
|||
backgroundColor: 'rgba(39, 232, 232, 0.5)', |
|||
borderColor: 'rgba(39, 232, 232, 1)', |
|||
}, |
|||
] |
|||
}, |
|||
} |
|||
)); |
|||
}; |
|||
expense_charts(canvas,type,labels,expense){ |
|||
this.state.chart.push(new Chart( |
|||
canvas, |
|||
{ |
|||
type: type, |
|||
data: { |
|||
labels: labels, |
|||
datasets: [ |
|||
{ |
|||
label: 'Expense', |
|||
data: expense, |
|||
type: type === 'bar' ? 'polarArea' : 'bar', |
|||
}, |
|||
] |
|||
}, |
|||
} |
|||
)); |
|||
}; |
|||
profit_charts(canvas,type,labels,profit){ |
|||
this.state.chart.push(new Chart( |
|||
canvas, |
|||
{ |
|||
type: type, |
|||
data: { |
|||
labels: labels, |
|||
datasets: [ |
|||
{ |
|||
label: 'Profit/Loss', |
|||
data: profit, |
|||
fill: true, |
|||
borderColor: 'rgba(245, 65, 10, 1)', |
|||
}, |
|||
] |
|||
}, |
|||
} |
|||
)); |
|||
}; |
|||
AllInOneChart(canvas,type,labels,data,expense,profit){ |
|||
this.state.chart.push(new Chart( |
|||
canvas, |
|||
{ |
|||
type: type, |
|||
data: { |
|||
labels: labels, |
|||
datasets: [ |
|||
{ |
|||
label: 'Income', |
|||
data: data, |
|||
type: type === 'line' ? 'line' : 'bar', |
|||
backgroundColor: 'rgba(39, 232, 232, 0.5)', |
|||
borderColor: 'rgba(39, 232, 232, 1)', |
|||
}, |
|||
{ |
|||
label: 'Expense', |
|||
data: expense, |
|||
type: type === 'bar' ? 'radar' : 'bar', |
|||
backgroundColor: 'rgba(0, 0, 0, 0.5)', |
|||
borderColor: 'rgba(0, 0, 0, 1)', |
|||
}, |
|||
{ |
|||
label: 'Profit/Loss', |
|||
data: profit, |
|||
type: 'line', |
|||
fill: false, |
|||
borderColor: 'rgba(245, 65, 10, 1)', |
|||
}, |
|||
] |
|||
}, |
|||
} |
|||
)); |
|||
}; |
|||
} |
|||
AccountDashboard.template = "AccountDashboard" |
|||
registry.category("actions").add('accounting_dashboard_tags', AccountDashboard) |
@ -0,0 +1,414 @@ |
|||
<?xml version="1.0" encoding="UTF-8" ?> |
|||
<templates xml:space="preserve"> |
|||
<t t-name="AccountDashboard" owl="1"> |
|||
<div class="accounts-dashboard-wrap" style="margin-top:20px;"> |
|||
<div style="overflow-y: scroll;height: 100vh;"> |
|||
<!-- Tiles --> |
|||
<div class="wrapper" |
|||
style="display:flex;justify-content: space-around;"> |
|||
<div> |
|||
<div class="shadow-sm border m-2 text-center" |
|||
style="background-image: radial-gradient( circle 311px at 8.6% 27.9%, rgba(62,147,252,0.57) 12.9%, rgba(239,183,192,0.44) 91.2% ); |
|||
border-radius: 10px;width:350px;"> |
|||
<div class="h1 fw-bold text-dark" |
|||
style="font-size: 48px"> |
|||
<t t-esc="state.data.open_invoice"/></div> |
|||
<div class="h3">Open Invoice</div> |
|||
</div> |
|||
</div> |
|||
<div> |
|||
<div class="shadow-sm border m-2 text-center" |
|||
style="background-image: linear-gradient( 184.1deg, rgba(249,255,182,1) 44.7%, rgba(226,255,172,1) 67.2% ); |
|||
border-radius: 10px;width:350px;"> |
|||
<div class="h1 fw-bold text-dark" |
|||
style="font-size: 48px"> |
|||
<t t-esc="state.data.paid_invoice"/></div> |
|||
<div class="h3">Paid Invoice</div> |
|||
</div> |
|||
</div> |
|||
<div> |
|||
<div class="shadow-sm border m-2 text-center" |
|||
style="background-image: radial-gradient( circle farthest-corner at 10% 20%, rgba(176,229,208,1) 42%, rgba(92,202,238,0.41) 93.6% ); |
|||
border-radius: 10px;width:350px;"> |
|||
<div class="h1 fw-bold text-dark" |
|||
style="font-size: 48px"> |
|||
<t t-esc="state.data.currency_symbol"/> |
|||
<t t-esc="state.data.income"/></div> |
|||
<div class="h3">Total Income</div> |
|||
</div> |
|||
</div> |
|||
<div> |
|||
<div class="shadow-sm border m-2 text-center" |
|||
style="background-image: linear-gradient( 111.4deg, rgba(238,113,113,1) 1%, rgba(246,215,148,1) 58% ); border-radius: 10px;width:350px;"> |
|||
<div class="h1 fw-bold text-dark" |
|||
style="font-size: 48px"> |
|||
<t t-esc="state.data.unreconcile_items"/></div> |
|||
<div class="h3">UnReconciled Items</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<div class="col-xs-12 col-sm-12 col-lg-12 col-md-12"> |
|||
<!-- Income/Expense/Profit --> |
|||
<div class="row" style="margin:0px"> |
|||
<div class="col-md-4" id="col-graph"> |
|||
<div class="card" style="margin-top:20px;"> |
|||
<!--card-header--> |
|||
<div class="card-header" |
|||
style=" padding: 17px 1.5rem !important; |
|||
background:linear-gradient(90deg, #3F2B96 0%, #A8C0FF 100%); |
|||
display: flex !IMPORTANT; justify-content: space-between; |
|||
align-items: center;border-radius: 10px 10px 0px 0px; "> |
|||
<div class="card-title"> |
|||
<b> |
|||
<h3 class="custom-h3" |
|||
style="color:aqua;" |
|||
t-if="state.IncomeExpense == 'income' ">INCOME CHART</h3> |
|||
<h3 class="custom-h3" |
|||
style="color:aqua;" |
|||
t-if="state.IncomeExpense == 'expense' ">EXPENSE CHART</h3> |
|||
<h3 class="custom-h3" |
|||
style="color:aqua;" |
|||
t-if="state.IncomeExpense == 'profit' ">PROFIT CHART</h3> |
|||
<h3 class="custom-h3" |
|||
style="color:aqua;" |
|||
t-if="state.IncomeExpense == 'all' ">ALL IN ONE</h3> |
|||
</b> |
|||
</div> |
|||
<div class="card-tools" |
|||
style="margin-left:auto;"> |
|||
<select class="form-select" |
|||
style="color: #000000;" |
|||
t-model="state.IncomeExpense" |
|||
t-on-change="onPeriodChange"> |
|||
<option value="income">Income </option> |
|||
<option value="expense">Expense </option> |
|||
<option value="profit">Profit </option> |
|||
<option value="all">All In One</option> |
|||
</select> |
|||
</div> |
|||
<div class="card-tools" |
|||
style="margin-left:5px;"> |
|||
<select class="form-select" |
|||
style="color:#000000;" |
|||
t-model="state.income" |
|||
t-on-change="onPeriodChange"> |
|||
<option value="income_this_year">This Year</option> |
|||
<option value="income_this_month">This Month</option> |
|||
</select> |
|||
</div> |
|||
</div> |
|||
<!--card-body--> |
|||
<div class="card-body"> |
|||
<div class="row"> |
|||
<div class="col-md-12"> |
|||
<div class="chart"> |
|||
<canvas id="canvas" |
|||
t-ref="All" |
|||
width="300" height="200"/> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<!-- PAYMENT LIST --> |
|||
<div class="col-md-4"> |
|||
<div class="card" style="margin-top:20px;"> |
|||
<!-- card-header--> |
|||
<div class="card-header" |
|||
style=" padding: 17px 1.5rem !important; |
|||
background:linear-gradient(90deg, #3F2B96 0%, #A8C0FF 100%); |
|||
display: flex !IMPORTANT; justify-content: space-between; |
|||
align-items: center;border-radius: 10px 10px 0px 0px; "> |
|||
<div class="card-title"> |
|||
<b> |
|||
<h3 class="custom-h3" |
|||
style="color:aqua;" |
|||
t-if="state.payment_list_filter == 'customer_payment' ">CUSTOMER PAYMENT LIST</h3> |
|||
<h3 class="custom-h3" |
|||
style="color:aqua;" |
|||
t-if="state.payment_list_filter == 'vendor_payment' ">VENDOR PAYMENT LIST</h3> |
|||
</b> |
|||
</div> |
|||
<div class="card-tools" |
|||
style="margin-left:auto;"> |
|||
<select class="form-select" |
|||
style="color: #000000;" |
|||
t-model="state.payment_list_filter" |
|||
t-on-change="onPeriodChange"> |
|||
<option value="customer_payment">Customer List</option> |
|||
<option value="vendor_payment">Vendor List</option> |
|||
</select> |
|||
</div> |
|||
<div class="card-tools" |
|||
style="margin-left:5px;"> |
|||
<select class="form-select" |
|||
style="color:#000000;" |
|||
t-model="state.payment_data_filter" |
|||
t-on-change="onPeriodChange"> |
|||
<option value="this_month">This Month</option> |
|||
<option value="this_year">This Year</option> |
|||
</select> |
|||
</div> |
|||
</div> |
|||
<!--card-body--> |
|||
<div class="card-body" |
|||
style="height:400px;overflow: overlay;"> |
|||
<div class="row"> |
|||
<div class="col-md-12"> |
|||
<div class="chart"> |
|||
<table class="table table-striped" |
|||
t-if="state.payment_data.length != 0"> |
|||
<thead> |
|||
<tr> |
|||
<th>Name</th> |
|||
<th>Amount</th> |
|||
<th>Date</th> |
|||
</tr> |
|||
</thead> |
|||
<tbody> |
|||
<tr t-foreach="state.payment_data" |
|||
t-as="payment" |
|||
t-key="payment.id"> |
|||
<td><t t-esc="payment.partner"/> </td> |
|||
<td><t t-esc="payment.amount"/> </td> |
|||
<td><t t-esc="payment.date"/> </td> |
|||
</tr> |
|||
</tbody> |
|||
</table> |
|||
<div t-else=""> |
|||
<h2>NO DATA AVAILABLE</h2> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<!-- TOP SALE REVENUE CUSTOMER--> |
|||
<div class="col-md-4" id="col-graph"> |
|||
<div class="card" style="margin-top:20px;"> |
|||
<!--card-header--> |
|||
<div class="card-header" |
|||
style=" padding: 17px 1.5rem !important; |
|||
background:linear-gradient(90deg, #3F2B96 0%, #A8C0FF 100%); |
|||
display: flex !IMPORTANT; justify-content: space-between; |
|||
align-items: center;border-radius: 10px 10px 0px 0px; "> |
|||
<div class="card-title"> |
|||
<b> |
|||
<h3 class="custom-h3" |
|||
style="color:aqua;">TOP SALE REVENUE CUSTOMER</h3> |
|||
</b> |
|||
</div> |
|||
<div class="card-tools"> |
|||
<select class="form-select" |
|||
style="color:#000000;" |
|||
t-model="state.top_sale_cust_filter" |
|||
t-on-change="onPeriodChange"> |
|||
<option value="this_month">This Month</option> |
|||
<option value="this_year">This Year</option> |
|||
</select> |
|||
</div> |
|||
</div> |
|||
<!--card-body--> |
|||
<div class="card-body" |
|||
style="height:400px;overflow: overlay;"> |
|||
<div class="row"> |
|||
<div class="col-md-12"> |
|||
<div class="chart"> |
|||
<table class="table table-striped" |
|||
t-if="state.top_sale_cust.length != 0"> |
|||
<thead> |
|||
<tr> |
|||
<th>Name</th> |
|||
<th>Amount</th> |
|||
</tr> |
|||
</thead> |
|||
<tbody> |
|||
<tr t-foreach="state.top_sale_cust" |
|||
t-as="revenue" |
|||
t-key="revenue.customer_id"> |
|||
<td><t t-esc="revenue.customer"/> </td> |
|||
<td><t t-esc="revenue.total_amount"/> </td> |
|||
</tr> |
|||
</tbody> |
|||
</table> |
|||
<div t-else=""> |
|||
<h2>NO DATA AVAILABLE</h2> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
</div> |
|||
</div> |
|||
<!-- BANK AND CASH BALANCE --> |
|||
<div class="col-md-4"> |
|||
<div class="card" style="margin-top:20px;height:521px;"> |
|||
<!--card-header--> |
|||
<div class="card-header" |
|||
style=" padding: 17px 1.5rem !important; |
|||
background:linear-gradient(90deg, #3F2B96 0%, #A8C0FF 100%); |
|||
display: flex !IMPORTANT; justify-content: space-between; |
|||
align-items: center;border-radius: 10px 10px 0px 0px; "> |
|||
<div class="card-title"> |
|||
<b> |
|||
<h3 class="custom-h3" |
|||
style="color:aqua;">BANK AND CASH BALANCE</h3> |
|||
</b> |
|||
</div> |
|||
</div> |
|||
<!--card-body--> |
|||
<div class="card-body" style="overflow: overlay;"> |
|||
<div class="row"> |
|||
<div class="col-md-12"> |
|||
<table class="table table-striped" |
|||
t-if="state.balance"> |
|||
<thead> |
|||
<tr> |
|||
<th>Name</th> |
|||
<th>Amount</th> |
|||
</tr> |
|||
</thead> |
|||
<tbody> |
|||
<tr t-foreach="state.balance" |
|||
t-as="balance" |
|||
t-key="balance.id"> |
|||
<td><t t-esc="balance.name.en_US"/> </td> |
|||
<td><t t-esc="balance.balance"/> </td> |
|||
</tr> |
|||
</tbody> |
|||
</table> |
|||
<div t-else=""> |
|||
<h2>NO DATA AVAILABLE</h2> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
|
|||
<!-- AGED RECEIVABLE/PAYABLE --> |
|||
<div class="col-md-4"> |
|||
<div class="card" style="margin-top:20px;"> |
|||
<!--card-header--> |
|||
<div class="card-header" |
|||
style=" padding: 17px 1.5rem !important; |
|||
background:linear-gradient(90deg, #3F2B96 0%, #A8C0FF 100%); |
|||
display: flex !IMPORTANT; justify-content: space-between; |
|||
align-items: center; border-radius: 10px 10px 0px 0px; "> |
|||
<div class="card-title"> |
|||
<b> |
|||
<h3 class="custom-h3" |
|||
style="color:aqua;" |
|||
t-if="state.aged_filter =='aged_receive'">AGED RECEIVABLE</h3> |
|||
<h3 class="custom-h3" |
|||
style="color:aqua;" |
|||
t-if="state.aged_filter =='aged_payable'">AGED PAYABLE</h3> |
|||
</b> |
|||
</div> |
|||
<div class="card-tools" |
|||
style="margin-left:auto;"> |
|||
<select class="form-select" |
|||
style="color:#000000;" |
|||
t-model="state.aged_filter" |
|||
t-on-change="onPeriodChange"> |
|||
<option value="aged_receive">Aged Receivable</option> |
|||
<option value="aged_payable">Aged Payable</option> |
|||
</select> |
|||
</div> |
|||
<div class="card-tools" |
|||
style="margin-left:5px;"> |
|||
<select class="form-select" |
|||
style="color:#000000;" |
|||
t-model="state.aged_payable_filter" |
|||
t-on-change="onPeriodChange"> |
|||
<option value="this_month">This Month</option> |
|||
<option value="this_year">This Year</option> |
|||
</select> |
|||
</div> |
|||
</div> |
|||
<!--card-body--> |
|||
<div class="card-body" style="overflow: overlay;"> |
|||
<div class="row"> |
|||
<div class="col-md-12"> |
|||
<div id="chart"> |
|||
<canvas t-ref="AgedRecords" |
|||
width="400" height="303"/> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<!-- TOP CUSTOMERS / VENDORS --> |
|||
<div class="col-md-4" style="margin-bottom:115px;"> |
|||
<div class="card" style="margin-top:20px;height:521px;"> |
|||
<!--card-header--> |
|||
<div class="card-header" |
|||
style=" padding: 17px 1.5rem !important; |
|||
background:linear-gradient(90deg, #3F2B96 0%, #A8C0FF 100%); |
|||
display: flex !IMPORTANT; justify-content: space-between; |
|||
align-items: center; border-radius: 10px 10px 0px 0px; "> |
|||
<h3 class="custom-h3 card-title" |
|||
style="color:aqua;"> |
|||
TOP CUSTOMERS/VENDORS |
|||
</h3> |
|||
<div class="card-tools"> |
|||
<select class="form-select" |
|||
style="color:#000000;" |
|||
t-model="state.top_filter" |
|||
t-on-change="onPeriodChange"> |
|||
<option id="top_10_customer_this_month" |
|||
value="this_month">This Month</option> |
|||
<option value="this_year">This Year</option> |
|||
</select> |
|||
</div> |
|||
</div> |
|||
<!--card-body--> |
|||
<div class="card-body" |
|||
style="overflow: overlay;"> |
|||
<div class="row"> |
|||
<div class="col-md-12"> |
|||
<div class="chart"> |
|||
<h2>Customers </h2> |
|||
<table class="table table-striped" t-if="state.top.top_customers"> |
|||
<tbody> |
|||
<tr t-foreach="state.top.top_customers" |
|||
t-as="customer" |
|||
t-key="customer.id"> |
|||
<td><t t-esc="customer.name"/> </td> |
|||
</tr> |
|||
</tbody> |
|||
</table> |
|||
<div t-else=""> |
|||
<h2>NO DATA AVAILABLE</h2> |
|||
</div> |
|||
<h2>Vendors</h2> |
|||
<table class="table table-striped" t-if="state.top.top_vendors"> |
|||
<tbody> |
|||
<tr t-foreach="state.top.top_vendors" |
|||
t-as="vendor" |
|||
t-key="vendor.id"> |
|||
<td><t t-esc="vendor.name"/> </td> |
|||
</tr> |
|||
</tbody> |
|||
</table> |
|||
<div t-else=""> |
|||
<h2>NO DATA AVAILABLE</h2> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</t> |
|||
</templates> |