@ -0,0 +1,47 @@ |
|||||
|
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg |
||||
|
:target: https://www.gnu.org/licenses/agpl-3.0-standalone.html |
||||
|
:alt: License: AGPL-3 |
||||
|
|
||||
|
|
||||
|
Simplified POS |
||||
|
=============== |
||||
|
This module provides all aspects of pos on a single page in Odoo. |
||||
|
|
||||
|
Configuration |
||||
|
============= |
||||
|
* No Additional configuration is needed. |
||||
|
|
||||
|
License |
||||
|
------- |
||||
|
Affero General Public License, Version 3 `(AGPL-3). |
||||
|
<https://www.gnu.org/licenses/agpl-3.0-standalone.html>`__ |
||||
|
|
||||
|
Company |
||||
|
------- |
||||
|
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__ |
||||
|
|
||||
|
Credits |
||||
|
------- |
||||
|
Developer: (V15) Yadhu krishnan , 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) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Yadhukrishnan K (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. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
################################################################################ |
@ -0,0 +1,58 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
################################################################################ |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Yadhukrishnan K (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. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
################################################################################ |
||||
|
{ |
||||
|
'name': 'Simplified POS', |
||||
|
'version': '15.0.1.0.0', |
||||
|
'category': 'Point of Sale', |
||||
|
'summary': 'All aspects of pos on a single page.', |
||||
|
'description': 'A straightforward point-of-sale system' |
||||
|
' that enables payment, order confirmation, ' |
||||
|
'and product selection all on the same page.', |
||||
|
'author': 'Cybrosys Techno Solutions', |
||||
|
'company': 'Cybrosys Techno Solutions', |
||||
|
'maintainer': 'Cybrosys Techno Solutions', |
||||
|
'website': 'https://www.cybrosys.com', |
||||
|
'depends': ['base', 'point_of_sale'], |
||||
|
'assets': { |
||||
|
'point_of_sale.assets': [ |
||||
|
'simplified_pos/static/src/js/ProductScreen.js', |
||||
|
'simplified_pos/static/src/js/ConfirmationPopup.js', |
||||
|
'simplified_pos/static/src/js/PrintPopup.js', |
||||
|
'simplified_pos/static/src/js/ProductScreenPaymentLine.js', |
||||
|
'simplified_pos/static/src/js/ProductWidgetSimple.js', |
||||
|
'simplified_pos/static/src/scss/pos.scss' |
||||
|
], |
||||
|
'web.assets_qweb': [ |
||||
|
'simplified_pos/static/src/xml/ProductScreen.xml', |
||||
|
'simplified_pos/static/src/xml/ActionpadWidget.xml', |
||||
|
'simplified_pos/static/src/xml/ConfirmationPopup.xml', |
||||
|
'simplified_pos/static/src/xml/PrintPopup.xml', |
||||
|
'simplified_pos/static/src/xml/PaymentScreenPaymentLine.xml', |
||||
|
'simplified_pos/static/src/xml/chrome.xml', |
||||
|
'simplified_pos/static/src/xml/ProductWidgetControlPanel.xml', |
||||
|
], |
||||
|
}, |
||||
|
'images': ['static/description/banner.png'], |
||||
|
'license': 'AGPL-3', |
||||
|
'installable': True, |
||||
|
'auto_install': False, |
||||
|
'application': False, |
||||
|
} |
@ -0,0 +1,7 @@ |
|||||
|
## Module <simplified_pos> |
||||
|
|
||||
|
#### 10.08.2023 |
||||
|
#### Version 15.0.1.0.0 |
||||
|
#### ADD |
||||
|
|
||||
|
- Initial commit for Simplified POS |
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 310 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 576 B |
After Width: | Height: | Size: 733 B |
After Width: | Height: | Size: 911 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 673 B |
After Width: | Height: | Size: 878 B |
After Width: | Height: | Size: 653 B |
After Width: | Height: | Size: 905 B |
After Width: | Height: | Size: 839 B |
After Width: | Height: | Size: 427 B |
After Width: | Height: | Size: 627 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 988 B |
After Width: | Height: | Size: 1.2 KiB |
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: 589 B |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 967 B |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 5.0 KiB |
After Width: | Height: | Size: 60 KiB |
After Width: | Height: | Size: 56 KiB |
After Width: | Height: | Size: 56 KiB |
After Width: | Height: | Size: 59 KiB |
After Width: | Height: | Size: 1.8 MiB |
After Width: | Height: | Size: 57 KiB |
After Width: | Height: | Size: 267 KiB |
After Width: | Height: | Size: 109 KiB |
After Width: | Height: | Size: 132 KiB |
After Width: | Height: | Size: 151 KiB |
After Width: | Height: | Size: 156 KiB |
After Width: | Height: | Size: 156 KiB |
After Width: | Height: | Size: 159 KiB |
After Width: | Height: | Size: 187 KiB |
After Width: | Height: | Size: 211 KiB |
After Width: | Height: | Size: 158 KiB |
After Width: | Height: | Size: 71 KiB |
After Width: | Height: | Size: 8.3 KiB |
@ -0,0 +1,655 @@ |
|||||
|
<div style="background-color: #714B67; height: 810px; width: 100%; padding: 15px; position: relative;"> |
||||
|
<!-- TITLE BAR --> |
||||
|
<div class="d-flex align-items-center justify-content-between" |
||||
|
style="border-bottom: 1px solid #875A7B; padding: 15px; display: flex; justify-content: space-between; align-items: center;"> |
||||
|
<img src="assets/misc/cybrosys-logo.png" width="42" height="42" |
||||
|
style="width: 42px; height: 42px;"/> |
||||
|
<div> |
||||
|
<div |
||||
|
style="color: #7C7BAD; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;" |
||||
|
class="mr-2"> |
||||
|
<i class="fa fa-check mr-1"></i>Community |
||||
|
</div> |
||||
|
<div |
||||
|
style="color: #7C7BAD; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;" |
||||
|
class="mr-2"> |
||||
|
<i class="fa fa-check mr-1"></i>Enterprise |
||||
|
</div> |
||||
|
<div |
||||
|
style="color: #7C7BAD; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;" |
||||
|
class="mr-2"> |
||||
|
<i class="fa fa-check mr-1"></i>Odoo.sh |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- END OF TITLE BAR --> |
||||
|
<div class="container"> |
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12 col-md-12 col-lg-12"> |
||||
|
<!-- APP HERO --> |
||||
|
<h1 style="color: #FFFFFF; font-weight: bolder; font-size: 50px; text-align: center; margin-top: 50px;"> |
||||
|
Simplified Pos</h1> |
||||
|
<p style="color:#FFFFFF; padding: 8px 15px; text-align: center; font-size: 24px;"> |
||||
|
All aspects of pos on |
||||
|
a single page.</p> |
||||
|
<!-- END OF APP HERO --> |
||||
|
<img src="assets/screenshots/hero.gif" class="img-responsive" |
||||
|
style="width: 100%; margin-left: auto; margin-right: auto;"/> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<!-- NAVIGATION SECTION --> |
||||
|
<div class="d-flex align-items-center" |
||||
|
style="border-bottom: 2px solid #714B67; padding: 15px 0px; margin-top: 300px;"> |
||||
|
<div class="d-flex justify-content-center align-items-center mr-2" |
||||
|
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
||||
|
<img src="assets/misc/compass.png"/> |
||||
|
</div> |
||||
|
<h2 class="mt-2" |
||||
|
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;"> |
||||
|
Explore This |
||||
|
Module</h2> |
||||
|
</div> |
||||
|
<div class="row my-4" style="font-family: 'Montserrat', sans-serif;"> |
||||
|
<div class="col-sm-12 col-md-6 my-3"> |
||||
|
<a href="#overview"> |
||||
|
<div class="d-flex justify-content-between align-items-center" |
||||
|
style="background-color: #f5f5f5; padding: 30px; width: 100%;"> |
||||
|
<div> |
||||
|
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Overview</span> |
||||
|
<span style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">Learn |
||||
|
more about this |
||||
|
module</span> |
||||
|
</div> |
||||
|
<img src="assets/misc/right-arrow.png" width="36" height="36"/> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-sm-12 col-md-6 my-3"> |
||||
|
<a href="#features"> |
||||
|
<div class="d-flex justify-content-between align-items-center" |
||||
|
style="background-color: #f5f5f5; padding: 30px; width: 100%;"> |
||||
|
<div> |
||||
|
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Features</span> |
||||
|
<span style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">View |
||||
|
features of this |
||||
|
module</span> |
||||
|
</div> |
||||
|
<img src="assets/misc/right-arrow.png" width="36" height="36"/> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-sm-12 col-md-6 my-3"> |
||||
|
<a href="#screenshots"> |
||||
|
<div class="d-flex justify-content-between align-items-center" |
||||
|
style="background-color: #f5f5f5; padding: 30px; width: 100%;"> |
||||
|
<div> |
||||
|
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Screenshots</span> |
||||
|
<span style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">View |
||||
|
screenshots for this |
||||
|
module</span> |
||||
|
</div> |
||||
|
<img src="assets/misc/right-arrow.png" width="36" height="36"/> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- END OF NAVIGATION SECTION --> |
||||
|
|
||||
|
<!-- OVERVIEW SECTION --> |
||||
|
<div class="d-flex align-items-center" |
||||
|
style="border-bottom: 2px solid #714B67; padding: 15px 0px;" |
||||
|
id="overview"> |
||||
|
<div class="d-flex justify-content-center align-items-center mr-2" |
||||
|
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
||||
|
<img src="assets/misc/pie-chart.png"/> |
||||
|
</div> |
||||
|
<h2 class="mt-2" |
||||
|
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;"> |
||||
|
Overview |
||||
|
</h2> |
||||
|
</div> |
||||
|
<div class="row" |
||||
|
style="font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; line-height: 200%;"> |
||||
|
<div class="col-sm-12 py-4"> |
||||
|
With The Help Of This App, You May Perform All Point-Of-Sale Tasks In A |
||||
|
Single Frame. |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- END OF OVERVIEW SECTION --> |
||||
|
|
||||
|
<!-- FEATURES SECTION --> |
||||
|
<div class="d-flex align-items-center" |
||||
|
style="border-bottom: 2px solid #714B67; padding: 15px 0px;" |
||||
|
id="features"> |
||||
|
<div class="d-flex justify-content-center align-items-center mr-2" |
||||
|
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
||||
|
<img src="assets/misc/features.png"/> |
||||
|
</div> |
||||
|
<h2 class="mt-2" |
||||
|
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;"> |
||||
|
Features |
||||
|
</h2> |
||||
|
</div> |
||||
|
<div class="row" |
||||
|
style="font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; line-height: 200%;"> |
||||
|
<div class="d-flex align-items-center" |
||||
|
style="margin-top: 30px; margin-bottom: 30px"> |
||||
|
<img src="assets/misc/check-box.png" class="mr-2"/> |
||||
|
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Choosing a product, confirming an order, and making a payment all on the same page.</span> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- END OF FEATURES SECTION --> |
||||
|
|
||||
|
<!-- SCREENSHOTS SECTION --> |
||||
|
<div class="d-flex align-items-center" |
||||
|
style="border-bottom: 2px solid #714B67; padding: 15px 0px;" |
||||
|
id="screenshots"> |
||||
|
<div class="d-flex justify-content-center align-items-center mr-2" |
||||
|
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
||||
|
<img src="assets/misc/pictures.png"/> |
||||
|
</div> |
||||
|
<h2 class="mt-2" |
||||
|
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;"> |
||||
|
Screenshots |
||||
|
</h2> |
||||
|
</div> |
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12"> |
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
A POS frame</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"> |
||||
|
This is the new point |
||||
|
of sale frame.</p> |
||||
|
<img src="assets/screenshots/s_pos_01.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
|
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Product Search</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"> |
||||
|
We can search for |
||||
|
products here.</p> |
||||
|
<img src="assets/screenshots/s_pos_02.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
|
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Add Products to Order |
||||
|
line</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"> |
||||
|
When a product is |
||||
|
clicked, it is added to the order lines and the total is |
||||
|
displayed beneath it. We can adjust the amount, |
||||
|
price, and discount using the number pad.</p> |
||||
|
<img src="assets/screenshots/s_pos_03.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
|
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Add Payment |
||||
|
Methods</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"> |
||||
|
We can select the |
||||
|
necessary payment options, which can be shown beneath the |
||||
|
summary.</p> |
||||
|
<img src="assets/screenshots/s_pos_04.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
|
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Choose Customer</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"> |
||||
|
By pressing the search |
||||
|
button, we may choose a customer.</p> |
||||
|
<img src="assets/screenshots/s_pos_05.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
|
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Validate Order</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"> |
||||
|
Click this to validate |
||||
|
the order.</p> |
||||
|
<img src="assets/screenshots/s_pos_06.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
|
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Confirm Order</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"> |
||||
|
Click confirm to |
||||
|
confirm order else click cancel.</p> |
||||
|
<img src="assets/screenshots/s_pos_07.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
|
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
For Printing </h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"> |
||||
|
Click print to print |
||||
|
the order.</p> |
||||
|
<img src="assets/screenshots/s_pos_08.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
|
||||
|
<div style="display: block; margin: 30px auto;"> |
||||
|
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> |
||||
|
Click for New order</h3> |
||||
|
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;"> |
||||
|
To access the new |
||||
|
order, click New Order.</p> |
||||
|
<img src="assets/screenshots/s_pos_09.png" class="img-thumbnail"> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- END OF SCREENSHOTS SECTION --> |
||||
|
<!-- RELATED PRODUCTS --> |
||||
|
<div class="d-flex align-items-center" |
||||
|
style="border-bottom: 2px solid #714B67; padding: 15px 0px;"> |
||||
|
<div class="d-flex justify-content-center align-items-center mr-2" |
||||
|
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 4 |
||||
|
0px;"> |
||||
|
<img src="assets/misc/categories.png"/> |
||||
|
</div> |
||||
|
<h2 class="mt-2" |
||||
|
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;"> |
||||
|
Suggested |
||||
|
Products |
||||
|
</h2> |
||||
|
</div> |
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12"> |
||||
|
<div id="demo1" class="row carousel slide" data-ride="carousel"> |
||||
|
<!-- The slideshow --> |
||||
|
<div class="carousel-inner" style="padding: 30px;"> |
||||
|
<div class="carousel-item" style="min-height: 198.656px;"> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/15.0/dynamic_accounts_report/" target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" style="border-radius: 0px;" src="assets/modules/1.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/15.0/custom_gantt_view/" target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" style="border-radius: 0px;" src="assets/modules/2.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/15.0/project_custom_gantt/" target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" style="border-radius: 0px;" src="assets/modules/3.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="carousel-item active" style="min-height: 198.656px;"> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/15.0/account_reports_xlsx/" target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" style="border-radius: 0px;" src="assets/modules/4.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/15.0/base_accounting_kit/" target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" style="border-radius: 0px;" src="assets/modules/5.gif"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/15.0/hr_payroll_community/" target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" style="border-radius: 0px;" src="assets/modules/6.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- Left and right controls --> |
||||
|
<a class="carousel-control-prev" href="#demo1" data-slide="prev" style="width:35px; color:#000"> <span |
||||
|
class="carousel-control-prev-icon"><i class="fa fa-chevron-left" style="font-size:24px"></i></span> |
||||
|
</a> <a class="carousel-control-next" href="#demo1" data-slide="next" style="width:35px; color:#000"> |
||||
|
<span class="carousel-control-next-icon"><i class="fa fa-chevron-right" style="font-size:24px"></i></span> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- END OF RELATED PRODUCTS --> |
||||
|
|
||||
|
|
||||
|
<!-- OUR SERVICES --> |
||||
|
|
||||
|
<div class="d-flex align-items-center" |
||||
|
style="border-bottom: 2px solid #714B67; padding: 15px 0px;"> |
||||
|
<div class="d-flex justify-content-center align-items-center mr-2" |
||||
|
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
||||
|
<img src="assets/misc/star.png"/> |
||||
|
</div> |
||||
|
<h2 class="mt-2" |
||||
|
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;"> |
||||
|
Our Services |
||||
|
</h2> |
||||
|
</div> |
||||
|
|
||||
|
<div class="container my-5"> |
||||
|
<div class="row"> |
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #1dd1a1 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/cogs.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Customization</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #ff6b6b !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/wrench.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Implementation</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #6462CD !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/lifebuoy.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Support</h6> |
||||
|
</div> |
||||
|
|
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #ffa801 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/user.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Hire |
||||
|
Odoo |
||||
|
Developer</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #54a0ff !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/puzzle.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Integration</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #6d7680 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/update.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Migration</h6> |
||||
|
</div> |
||||
|
|
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #786fa6 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/consultation.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Consultancy</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #f8a5c2 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/training.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Implementation</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #e6be26 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/license.png" class="img-responsive" |
||||
|
height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" |
||||
|
style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Licensing Consultancy</h6> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
</div> |
||||
|
|
||||
|
<!-- END OF END OF OUR SERVICES --> |
||||
|
|
||||
|
<!-- OUR INDUSTRIES --> |
||||
|
|
||||
|
<div class="d-flex align-items-center" |
||||
|
style="border-bottom: 2px solid #714B67; padding: 15px 0px;"> |
||||
|
<div class="d-flex justify-content-center align-items-center mr-2" |
||||
|
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
||||
|
<img src="assets/misc/corporate.png"/> |
||||
|
</div> |
||||
|
<h2 class="mt-2" |
||||
|
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;"> |
||||
|
Our |
||||
|
Industries |
||||
|
</h2> |
||||
|
</div> |
||||
|
|
||||
|
<div class="container my-5"> |
||||
|
<div class="row"> |
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="assets/icons/trading-black.png" |
||||
|
class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Trading |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Easily procure |
||||
|
and |
||||
|
sell your products</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="assets/icons/pos-black.png" |
||||
|
class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
POS |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Easy |
||||
|
configuration |
||||
|
and convivial experience</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="assets/icons/education-black.png" |
||||
|
class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Education |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
A platform for |
||||
|
educational management</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="assets/icons/manufacturing-black.png" |
||||
|
class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Manufacturing |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Plan, track and |
||||
|
schedule your operations</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="assets/icons/ecom-black.png" |
||||
|
class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
E-commerce & Website |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Mobile |
||||
|
friendly, |
||||
|
awe-inspiring product pages</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="assets/icons/service-black.png" |
||||
|
class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Service Management |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Keep track of |
||||
|
services and invoice</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="assets/icons/restaurant-black.png" |
||||
|
class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Restaurant |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Run your bar or |
||||
|
restaurant methodically</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 0px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="assets/icons/hotel-black.png" |
||||
|
class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Hotel Management |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
An |
||||
|
all-inclusive |
||||
|
hotel management application</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<!-- END OF END OF OUR INDUSTRIES --> |
||||
|
|
||||
|
<!-- SUPPORT --> |
||||
|
<div class="d-flex align-items-center" |
||||
|
style="border-bottom: 2px solid #714B67; padding: 15px 0px;"> |
||||
|
<div class="d-flex justify-content-center align-items-center mr-2" |
||||
|
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;"> |
||||
|
<img src="assets/misc/customer-support.png"/> |
||||
|
</div> |
||||
|
<h2 class="mt-2" |
||||
|
style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;"> |
||||
|
Support |
||||
|
</h2> |
||||
|
</div> |
||||
|
<div class="container mt-5"> |
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12 col-md-6"> |
||||
|
<div style="background-color: #F6F8F9; padding: 30px; display: flex; align-items: center;"> |
||||
|
<div class="mr-4 d-flex justify-content-center align-items-center" |
||||
|
style="background-color: #714B67; display: inline-block; height: 70px; width: 70px; display: flex; align-items: center; justify-content: center;"> |
||||
|
<img src="assets/misc/support.png" height="48" width="48" |
||||
|
style="width: 42px; height: 42px;"/> |
||||
|
</div> |
||||
|
<div> |
||||
|
<h4>Need Help?</h4> |
||||
|
<p style="line-height: 100%;">Got questions or need help? |
||||
|
Get in touch.</p> |
||||
|
<a href="mailto:odoo@cybrosys.com"> |
||||
|
<p style="font-weight: 400; font-size: 28px; line-height: 80%; color: #714B67;"> |
||||
|
odoo@cybrosys.com</p> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-sm-12 col-md-6"> |
||||
|
<div style="background-color: #F6F8F9; padding: 30px; display: flex; align-items: center;"> |
||||
|
<div class="mr-4 d-flex justify-content-center align-items-center" |
||||
|
style="background-color: #2AC44D; display: inline-block; height: 70px; width: 70px; display: flex; align-items: center; justify-content: center;"> |
||||
|
<img src="assets/misc/whatsapp.png" height="52" width="52" |
||||
|
style="width: 52px; height: 52px;"/> |
||||
|
</div> |
||||
|
<div> |
||||
|
<h4>WhatsApp</h4> |
||||
|
<p style="line-height: 100%;">Say hi to us on WhatsApp!</p> |
||||
|
<a href="https://api.whatsapp.com/send?phone=918606827707"> |
||||
|
<p style="font-weight: 400; font-size: 28px; line-height: 80%; color: #714B67;"> |
||||
|
+91 86068 |
||||
|
27707</p> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12 my-5 d-flex justify-content-center align-items-center"> |
||||
|
<img src="assets/misc/logo.png" width="144" height="31" |
||||
|
style="width:144px; height: 31px; margin-top: 40px;"/> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- END OF SUPPORT --> |
@ -0,0 +1,43 @@ |
|||||
|
odoo.define('simplified_pos.ConfirmationPopup', function(require) { |
||||
|
'use strict'; |
||||
|
const { |
||||
|
_lt |
||||
|
} = require('@web/core/l10n/translation'); |
||||
|
const PaymentScreen = require('point_of_sale.PaymentScreen'); |
||||
|
const Registries = require('point_of_sale.Registries'); |
||||
|
const { |
||||
|
useBus |
||||
|
} = require('@web/core/utils/hooks'); |
||||
|
class ConfirmationPopup extends PaymentScreen { |
||||
|
/*This is to add the workings inside confirmationPopup.*/ |
||||
|
setup() { |
||||
|
super.setup(); |
||||
|
if (this.props.confirmKey) { |
||||
|
useBus(this.env.posbus, `confirm-popup-${this.props.id}`, this.confirm); |
||||
|
} |
||||
|
} |
||||
|
async confirm(ev) { |
||||
|
/*Once confirm is clicked, the confirm function is activated, |
||||
|
and a PrintPopup is displayed, confirming the order.*/ |
||||
|
this.showPopup("PrintPopup", { |
||||
|
title: _lt('Print order'), |
||||
|
confirmText: _lt('Print'), |
||||
|
cancelText: this.env._t('Cancel'), |
||||
|
}); |
||||
|
this.validateOrder(false) |
||||
|
} |
||||
|
async getPayload() { |
||||
|
return null; |
||||
|
} |
||||
|
async cancel(ev) { |
||||
|
/*Orders are cancelled through the cancel function.*/ |
||||
|
window.location.reload(); |
||||
|
} |
||||
|
get nextScreen() { |
||||
|
return !this.error ? 'ProductScreen' : 'ProductScreen'; |
||||
|
} |
||||
|
} |
||||
|
ConfirmationPopup.template = 'ConfirmationPopup'; |
||||
|
Registries.Component.add(ConfirmationPopup); |
||||
|
return ConfirmationPopup; |
||||
|
}); |
@ -0,0 +1,67 @@ |
|||||
|
odoo.define('simplified_pos.PrintPopup', function(require) { |
||||
|
'use strict'; |
||||
|
const AbstractAwaitablePopup = require('point_of_sale.AbstractAwaitablePopup'); |
||||
|
const Registries = require('point_of_sale.Registries'); |
||||
|
class PrintPopup extends AbstractAwaitablePopup { |
||||
|
setup() { |
||||
|
super.setup(); |
||||
|
} |
||||
|
async printReceipt() { |
||||
|
/*create a new window to hold the content to be printed*/ |
||||
|
var printWindow = window.open('', 'PrintWindow', 'height=600,width=400'); |
||||
|
/* get the HTML content of the popup, excluding the buttons*/ |
||||
|
var content = this.el.innerHTML; |
||||
|
content = content.replace(/<footer[^>]*>[\s\S]*<\/footer>/gi, ''); |
||||
|
content = content.replace(/<header[^>]*>[\s\S]*<\/header>/gi, ''); |
||||
|
/* set the content of the new window to the modified HTML*/ |
||||
|
printWindow.document.write(content); |
||||
|
/* print the content and close the window*/ |
||||
|
printWindow.print(); |
||||
|
window.location.reload(); |
||||
|
} |
||||
|
async cancel() { |
||||
|
/*Orders are cancelled through the cancel function.*/ |
||||
|
window.location.reload(); |
||||
|
} |
||||
|
get company_details() { |
||||
|
return this.env.pos |
||||
|
} |
||||
|
orderlines() { |
||||
|
/*Selected order lines are passed to UI.*/ |
||||
|
var self = this; |
||||
|
var orderlines = this.env.pos.get_order().orderlines |
||||
|
var orderlinesList = [] |
||||
|
orderlines.forEach(function(orderlines) { |
||||
|
var totalprice = orderlines.price * orderlines.quantity |
||||
|
orderlinesList.push([orderlines.product.display_name, orderlines.quantity, orderlines.price, self.env.pos.currency.symbol+totalprice]) |
||||
|
}) |
||||
|
return orderlinesList; |
||||
|
} |
||||
|
get total() { |
||||
|
/*Total is calculated and passed*/ |
||||
|
var total = 0 |
||||
|
var totalvalues = this.env.pos.get_order().get_paymentlines() |
||||
|
totalvalues.forEach(function(totalvalues) { |
||||
|
total = total + totalvalues.amount |
||||
|
}) |
||||
|
return this.env.pos.currency.symbol + total; |
||||
|
} |
||||
|
get currentOrder() { |
||||
|
/*Get current order*/ |
||||
|
return this.env.pos.get_order(); |
||||
|
} |
||||
|
get paymentlines(){ |
||||
|
/*Get payment lines*/ |
||||
|
return this.currentOrder.get_paymentlines(); |
||||
|
} |
||||
|
get total_rounded(){ |
||||
|
/*Get rounded amount */ |
||||
|
var total = this.currentOrder.get_total_with_tax() + this.currentOrder.get_rounding_applied() |
||||
|
return this.env.pos.currency.symbol+ " "+ total |
||||
|
} |
||||
|
|
||||
|
} |
||||
|
PrintPopup.template = 'PrintPopup'; |
||||
|
Registries.Component.add(PrintPopup); |
||||
|
return PrintPopup; |
||||
|
}); |
@ -0,0 +1,108 @@ |
|||||
|
odoo.define('simplified_pos.customer', function(require) { |
||||
|
const ProductScreen = require('point_of_sale.ProductScreen'); |
||||
|
const { |
||||
|
useListener |
||||
|
} = require('web.custom_hooks'); |
||||
|
const ajax = require('web.ajax'); |
||||
|
const Registries = require('point_of_sale.Registries'); |
||||
|
const { |
||||
|
_lt |
||||
|
} = require('@web/core/l10n/translation'); |
||||
|
const CustomerButtons = (ProductScreen) => |
||||
|
class extends ProductScreen { |
||||
|
/*Here, the ProductScreen has been extended, and some features have been overridden.*/ |
||||
|
setup() { |
||||
|
super.setup(); |
||||
|
useListener('new-payment-line', this.newPaymentLine); |
||||
|
useListener('confirm-order', this.confirmOrder); |
||||
|
useListener('select-line', this._selectLine); |
||||
|
} |
||||
|
get changeText() { |
||||
|
return this.env.pos.format_currency(this.currentOrder.get_change()); |
||||
|
} |
||||
|
get totalDueText() { |
||||
|
return this.env.pos.format_currency( |
||||
|
this.currentOrder.get_total_with_tax() + this.currentOrder.get_rounding_applied() |
||||
|
); |
||||
|
} |
||||
|
get remainingText() { |
||||
|
return this.env.pos.format_currency( |
||||
|
this.currentOrder.get_due() > 0 ? this.currentOrder.get_due() : 0 |
||||
|
); |
||||
|
} |
||||
|
get currentOrder() { |
||||
|
return this.env.pos.get_order(); |
||||
|
} |
||||
|
get_current_Order() { |
||||
|
return this.env.pos.get_order().get_paymentlines() |
||||
|
} |
||||
|
confirmOrder() { |
||||
|
/* When performing validation, this function checks the |
||||
|
requirements and displays an error message if any are reduced.*/ |
||||
|
var paymentline = this.currentOrder.paymentlines.length |
||||
|
var partner = this.currentOrder.get_client() |
||||
|
var orderlines = this.currentOrder.orderlines.length |
||||
|
if (orderlines == 0) { |
||||
|
this.showPopup('ErrorPopup', { |
||||
|
title: this.env._t('Error'), |
||||
|
body: this.env._t('Cart is empty.'), |
||||
|
}); |
||||
|
} else if (partner == null) { |
||||
|
this.showPopup('ErrorPopup', { |
||||
|
title: this.env._t('Error'), |
||||
|
body: this.env._t('Select a Customer.'), |
||||
|
}); |
||||
|
} else if (paymentline == 0) { |
||||
|
this.showPopup('ErrorPopup', { |
||||
|
title: this.env._t('Error'), |
||||
|
body: this.env._t('Select a Payment Method'), |
||||
|
}); |
||||
|
} else { |
||||
|
this.showPopup("ConfirmationPopup", { |
||||
|
title: _lt('Confirmation'), |
||||
|
confirmText: _lt('Confirm'), |
||||
|
cancelText: this.env._t('Cancel'), |
||||
|
}); |
||||
|
} |
||||
|
} |
||||
|
orderDone() { |
||||
|
this.currentOrder.finalize(); |
||||
|
const { |
||||
|
name, |
||||
|
props |
||||
|
} = this.nextScreen; |
||||
|
this.showScreen(name, props); |
||||
|
if (this.env.pos.config.iface_customer_facing_display) { |
||||
|
this.env.pos.send_current_order_to_customer_facing_display(); |
||||
|
} |
||||
|
} |
||||
|
newPaymentLine({ |
||||
|
detail: paymentMethod |
||||
|
}) { |
||||
|
let result = this.currentOrder.add_paymentline(paymentMethod); |
||||
|
if (result) { |
||||
|
this.render(true) |
||||
|
return true; |
||||
|
} else { |
||||
|
this.render(true) |
||||
|
return false; |
||||
|
} |
||||
|
} |
||||
|
get_payment_methods() { |
||||
|
return this.env.pos.payment_methods |
||||
|
} |
||||
|
get paymentLines() { |
||||
|
return this.env.pos.get_order().get_paymentlines(); |
||||
|
} |
||||
|
get nextScreen() { |
||||
|
return { |
||||
|
name: 'ProductScreen' |
||||
|
}; |
||||
|
} |
||||
|
_selectLine(event) { |
||||
|
this.currentOrder.select_orderline(event.detail.orderline); |
||||
|
} |
||||
|
} |
||||
|
Registries.Component.extend(ProductScreen, CustomerButtons); |
||||
|
return this; |
||||
|
}); |
@ -0,0 +1,41 @@ |
|||||
|
odoo.define('simplified_pos.ProductScreenPaymentLine', function(require) { |
||||
|
'use strict'; |
||||
|
const PaymentScreenPaymentLines = require('point_of_sale.PaymentScreenPaymentLines'); |
||||
|
const Registries = require('point_of_sale.Registries'); |
||||
|
const NumberBuffer = require('point_of_sale.NumberBuffer'); |
||||
|
const { |
||||
|
useListener |
||||
|
} = require("@web/core/utils/hooks"); |
||||
|
const ProductScreenPaymentLine = (PaymentScreenPaymentLines) => |
||||
|
class extends PaymentScreenPaymentLines { |
||||
|
/*Here PaymentScreenPaymentLines is extended.*/ |
||||
|
setup() { |
||||
|
super.setup(); |
||||
|
useListener('delete-payment', this.deletePayment); |
||||
|
useListener('select-payment-line', this.selectPaymentLine); |
||||
|
} |
||||
|
selectPaymentLine(event) { |
||||
|
/*This helps to select payment line in summary.*/ |
||||
|
const { |
||||
|
cid |
||||
|
} = event.detail; |
||||
|
const line = this.env.pos.get_order().get_paymentlines().find((line) => line.cid === cid); |
||||
|
this.env.pos.get_order().select_paymentline(line); |
||||
|
NumberBuffer.reset(); |
||||
|
this.render(true); |
||||
|
} |
||||
|
deletePayment(event) { |
||||
|
/*This is to delete payment lines from summary.*/ |
||||
|
const { |
||||
|
cid |
||||
|
} = event.detail; |
||||
|
const paymentline = this.env.pos.get_order().get_paymentlines().find((line) => line.cid === cid) |
||||
|
if (paymentline) { |
||||
|
this.env.pos.get_order().remove_paymentline(paymentline) |
||||
|
this.render(true) |
||||
|
} |
||||
|
} |
||||
|
}; |
||||
|
Registries.Component.extend(PaymentScreenPaymentLines, ProductScreenPaymentLine); |
||||
|
return ProductScreenPaymentLine; |
||||
|
}); |
@ -0,0 +1,27 @@ |
|||||
|
odoo.define('simplified_pos.ProductsWidgetSimple', function(require) { |
||||
|
'use strict'; |
||||
|
const Registries = require('point_of_sale.Registries'); |
||||
|
const ProductsWidget = require('point_of_sale.ProductsWidget'); |
||||
|
const ProductsWidgetSimple = (ProductsWidget) => |
||||
|
class extends ProductsWidget { |
||||
|
setup() { |
||||
|
super.setup(); |
||||
|
} |
||||
|
_switchCategory(event) { |
||||
|
this.env.pos.set('selectedCategoryId', event.detail); |
||||
|
} |
||||
|
get productsToDisplay() { |
||||
|
/* This function is override to remove products showing before hand.*/ |
||||
|
let list = []; |
||||
|
if (this.searchWord !== '') { |
||||
|
list = this.env.pos.db.search_product_in_category( |
||||
|
0,this.searchWord); |
||||
|
} |
||||
|
return list.sort(function(a, b) { |
||||
|
return a.display_name.localeCompare(b.display_name) |
||||
|
}); |
||||
|
} |
||||
|
}; |
||||
|
Registries.Component.extend(ProductsWidget, ProductsWidgetSimple); |
||||
|
return ProductsWidgetSimple; |
||||
|
}); |
@ -0,0 +1,328 @@ |
|||||
|
.pos .leftpane { |
||||
|
float: left; |
||||
|
height: 98%; |
||||
|
max-height: 97vh; |
||||
|
display: flex; |
||||
|
flex-direction: column; |
||||
|
flex-grow: 1; |
||||
|
width: 30%; |
||||
|
border: solid 5px teal; |
||||
|
; |
||||
|
|
||||
|
&::-webkit-scrollbar { |
||||
|
width: 0; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
.cash-move-button:hover { |
||||
|
background-color: teal; |
||||
|
} |
||||
|
|
||||
|
.header-button:hover { |
||||
|
background-color: teal !important; |
||||
|
} |
||||
|
|
||||
|
.oe_status:hover { |
||||
|
background-color: teal !important; |
||||
|
} |
||||
|
|
||||
|
.search-bar-portal { |
||||
|
display: none !important; |
||||
|
} |
||||
|
|
||||
|
.pos .subwindow .subwindow-container-fix { |
||||
|
height: 100%; |
||||
|
position: relative; |
||||
|
overflow-y: scroll; |
||||
|
; |
||||
|
|
||||
|
&::-webkit-scrollbar { |
||||
|
width: 0; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
.pos .products-widget { |
||||
|
display: flex; |
||||
|
flex-direction: column; |
||||
|
flex-grow: 1; |
||||
|
height: 100%; |
||||
|
overflow: hidden; |
||||
|
; |
||||
|
|
||||
|
&::-webkit-scrollbar { |
||||
|
width: 0; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
.pos .order .orderlines { |
||||
|
&::-webkit-scrollbar { |
||||
|
width: 0; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
.pos-topheader { |
||||
|
background: teal !important; |
||||
|
} |
||||
|
|
||||
|
.payment-status-container { |
||||
|
margin-top: 70px !important; |
||||
|
} |
||||
|
|
||||
|
.paymentlines-container { |
||||
|
height: 29% !important; |
||||
|
} |
||||
|
|
||||
|
.nextorder { |
||||
|
margin-bottom: 8px !important; |
||||
|
width: 29% !important; |
||||
|
} |
||||
|
|
||||
|
.pos .product-list-container .product-list-empty p { |
||||
|
margin: 10px; |
||||
|
text-align: center; |
||||
|
color: teal; |
||||
|
font-size: 14px; |
||||
|
} |
||||
|
|
||||
|
.pos .button.validation .pay-circle { |
||||
|
background: white; |
||||
|
color: teal; |
||||
|
width: 35px; |
||||
|
height: 35px; |
||||
|
display: flex; |
||||
|
align-items: center; |
||||
|
justify-content: center; |
||||
|
border-radius: 50%; |
||||
|
} |
||||
|
|
||||
|
.pos .numpad { |
||||
|
text-align: center; |
||||
|
width: 100%; |
||||
|
height: 100%; |
||||
|
margin-top: 8px; |
||||
|
margin-left: 0px; |
||||
|
border: none; |
||||
|
border-radius: 0; |
||||
|
border-top: 1px solid; |
||||
|
border-color: teal; |
||||
|
border-top-right-radius: 4px; |
||||
|
min-width: 216px; |
||||
|
margin: 0 !important; |
||||
|
} |
||||
|
|
||||
|
.pos .numpad button { |
||||
|
width: 25%; |
||||
|
height: 25%; |
||||
|
border-color: teal; |
||||
|
background: white; |
||||
|
} |
||||
|
|
||||
|
.pos .mode-button.selected-mode { |
||||
|
color: teal; |
||||
|
background: white; |
||||
|
border-color: teal; |
||||
|
} |
||||
|
|
||||
|
.pos .actionpad { |
||||
|
padding: 0; |
||||
|
text-align: center; |
||||
|
vertical-align: top; |
||||
|
border: none; |
||||
|
border-right: 1px solid gray; |
||||
|
flex-grow: 1; |
||||
|
width: 50%; |
||||
|
} |
||||
|
|
||||
|
.pos .right { |
||||
|
float: right; |
||||
|
background: white; |
||||
|
width: 30%; |
||||
|
height: 98.9%; |
||||
|
max-height: 97vh; |
||||
|
border: solid 5px teal; |
||||
|
box-sizing: border-box; |
||||
|
margin-top: 2px; |
||||
|
margin-bottom: 8px; |
||||
|
} |
||||
|
|
||||
|
.pos .customer-button { |
||||
|
width: 65%; |
||||
|
margin-bottom: 110px; |
||||
|
border: 2px solid teal !important; |
||||
|
color: teal !important; |
||||
|
} |
||||
|
|
||||
|
.pos .head { |
||||
|
color: #017e84; |
||||
|
font-size: 12px; |
||||
|
font-weight: bold; |
||||
|
} |
||||
|
|
||||
|
.pos .center { |
||||
|
background: white; |
||||
|
height: 100%; |
||||
|
max-height: 97vh; |
||||
|
} |
||||
|
|
||||
|
.pos ._o_customer { |
||||
|
text-align: justify; |
||||
|
margin-left: 30px; |
||||
|
margin-right: 30px; |
||||
|
} |
||||
|
|
||||
|
.pos .paymentlines-container { |
||||
|
padding: 16px; |
||||
|
padding-top: 0; |
||||
|
border: solid 5px teal; |
||||
|
min-height: 154px; |
||||
|
text-align: center; |
||||
|
padding: 50px 30px 0px 18px; |
||||
|
font-size: 30px; |
||||
|
color: #43996E; |
||||
|
} |
||||
|
|
||||
|
.pos p.title-category { |
||||
|
margin: 0; |
||||
|
text-align: center; |
||||
|
background: #ededed; |
||||
|
color: teal; |
||||
|
text-transform: uppercase; |
||||
|
font-weight: bold; |
||||
|
font-size: 15px; |
||||
|
order: 1; |
||||
|
height: 23px; |
||||
|
padding-top: 4px; |
||||
|
|
||||
|
} |
||||
|
|
||||
|
.pos .payment-status-total-due { |
||||
|
font-size: 17px; |
||||
|
padding-top: 12px; |
||||
|
padding-bottom: 12px; |
||||
|
color: gray; |
||||
|
padding-left: 100px; |
||||
|
} |
||||
|
|
||||
|
.pos .payment-status-container { |
||||
|
display: flex; |
||||
|
justify-content: center; |
||||
|
font-size: 25px; |
||||
|
padding-top: 15px; |
||||
|
} |
||||
|
|
||||
|
.pos .button.validation { |
||||
|
display: flex; |
||||
|
align-items: center; |
||||
|
justify-content: center; |
||||
|
flex-direction: column; |
||||
|
height: calc(var(--btn-height-size) * 2.3); |
||||
|
border: none; |
||||
|
background: teal; |
||||
|
color: #fff; |
||||
|
font-size: 14px; |
||||
|
font-weight: bold; |
||||
|
transition: all 150ms linear; |
||||
|
background: #39B8B8 !important; |
||||
|
margin-bottom: 13px !important; |
||||
|
height: 11.85%; |
||||
|
} |
||||
|
|
||||
|
.pos .amount-paymentmethod { |
||||
|
padding-left: 40%; |
||||
|
} |
||||
|
|
||||
|
.pos .delete-button { |
||||
|
padding-left: 30%; |
||||
|
} |
||||
|
|
||||
|
.pos .form-container { |
||||
|
max-width: 450px; |
||||
|
padding: 30px; |
||||
|
background-color: white; |
||||
|
} |
||||
|
|
||||
|
.pos .orderlinesactionpad-receipt { |
||||
|
font-size: 15px; |
||||
|
text-align: left; |
||||
|
margin-left: 35px; |
||||
|
} |
||||
|
|
||||
|
.highlight { |
||||
|
width: 29.45% !important; |
||||
|
} |
||||
|
|
||||
|
.next { |
||||
|
border-bottom: solid 5px teal !important; |
||||
|
} |
||||
|
|
||||
|
.paymentmethods-container { |
||||
|
overflow: scroll; |
||||
|
height: 48%; |
||||
|
|
||||
|
&::-webkit-scrollbar { |
||||
|
width: 0; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
.pos .nextorder { |
||||
|
position: absolute; |
||||
|
width: 28.3%; |
||||
|
bottom: 0; |
||||
|
} |
||||
|
|
||||
|
.pos .search-bar-container.sb-product { |
||||
|
max-width: 100%; |
||||
|
width: 100%; |
||||
|
-webkit-box-pack: start; |
||||
|
justify-content: center; |
||||
|
height: 100%; |
||||
|
min-height: 48px; |
||||
|
display: flex; |
||||
|
position: relative; |
||||
|
flex: 1; |
||||
|
align-items: center; |
||||
|
} |
||||
|
|
||||
|
.pos .search-bar-container.sb-product input { |
||||
|
flex: 1; |
||||
|
font-size: medium; |
||||
|
height: 100%; |
||||
|
border: none; |
||||
|
color: #63717f; |
||||
|
padding-left: 38px; |
||||
|
padding-right: 38px; |
||||
|
border-radius: 5px; |
||||
|
} |
||||
|
|
||||
|
.pos .search-bar-container.sb-product input:focus-visible { |
||||
|
outline: none; |
||||
|
} |
||||
|
|
||||
|
.pos .search-bar-container.sb-product .icon { |
||||
|
position: absolute; |
||||
|
left: 0; |
||||
|
margin-left: 4px; |
||||
|
z-index: 1; |
||||
|
color: #4f5b66; |
||||
|
font-size: 15px; |
||||
|
margin-left: 15px; |
||||
|
} |
||||
|
|
||||
|
.pos .search-bar-container.sb-product .clear-icon { |
||||
|
position: absolute; |
||||
|
right: 13px; |
||||
|
margin-left: 28%; |
||||
|
color: #4f5b66; |
||||
|
cursor: pointer; |
||||
|
} |
||||
|
|
||||
|
.pos .button.new-order { |
||||
|
background: #39b8b8 !important; |
||||
|
position: absolute; |
||||
|
align-items: center; |
||||
|
justify-content: center; |
||||
|
display: grid; |
||||
|
bottom: 13px; |
||||
|
width: 29.15% !important; |
||||
|
height: 11.5%; |
||||
|
} |
@ -0,0 +1,17 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<templates id="template" xml:space="preserve"> |
||||
|
<!-- Inherit ActionpadWidget to Modify it --> |
||||
|
<t t-name="ActionpadWidget" t-inherit="point_of_sale.ActionpadWidget" t-inherit-mode="extension" owl="1"> |
||||
|
<xpath expr="//div[hasclass('actionpad')]" position="replace"> |
||||
|
<button class="button set-partner" t-att-class="{'decentered': isLongName}" t-on-click="() => this.trigger('click-partner')" style="top: 0px;width:50%; height: 100%;background: white;flex-grow: 1;"> |
||||
|
<t t-if="!env.isMobile"><i class="fa fa-user" role="img" aria-label="Customer" title="Customer" /></t> |
||||
|
<t t-if="props.partner"> |
||||
|
<t t-esc="props.partner.name" /> |
||||
|
</t> |
||||
|
<t t-else=""> |
||||
|
Customer |
||||
|
</t> |
||||
|
</button> |
||||
|
</xpath> |
||||
|
</t> |
||||
|
</templates> |
@ -0,0 +1,19 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<templates id="template" xml:space="preserve"> |
||||
|
<!-- A template ConfirmationPopup is created for the confirmation popup --> |
||||
|
<t t-name="ConfirmationPopup" owl="1"> |
||||
|
<div class="popup popup-selection" style="position: absolute;width:20%;background: teal;margin-left: 45%;margin-top: 25%;"> |
||||
|
<header class="title drag-handle"> |
||||
|
<t t-esc="props.title" /> |
||||
|
</header> |
||||
|
<footer class="footer"> |
||||
|
<div class="button cancel" t-on-click="cancel"> |
||||
|
<t t-esc="props.cancelText" /> |
||||
|
</div> |
||||
|
<div class="button confirm" t-on-click="confirm"> |
||||
|
<t t-esc="props.confirmText" /> |
||||
|
</div> |
||||
|
</footer> |
||||
|
</div> |
||||
|
</t> |
||||
|
</templates> |
@ -0,0 +1,11 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<templates id="template" xml:space="preserve"> |
||||
|
<!-- Inherit PaymentScreenPaymentLines to Modify it --> |
||||
|
<t t-inherit="point_of_sale.PaymentScreenPaymentLines" t-inherit-mode="extension" owl="1"> |
||||
|
<xpath expr="//div[hasclass('delete-button')]" position="replace"> |
||||
|
<div class="delete-button" t-on-click="() => this.trigger('delete-payment', { cid: line.cid })" aria-label="Delete" title="Delete"> |
||||
|
<i class="fa fa-times-circle" /> |
||||
|
</div> |
||||
|
</xpath> |
||||
|
</t> |
||||
|
</templates> |
@ -0,0 +1,136 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<templates id="template" xml:space="preserve"> |
||||
|
<!-- A template is created for the print popup --> |
||||
|
<t t-name="PrintPopup" owl="1"> |
||||
|
<div class="popup popup-selection" |
||||
|
style="background: teal;position: fixed;margin-top: 7%;margin-left: 37%;"> |
||||
|
<header class="title drag-handle"> |
||||
|
<h3 style="text-align:center" t-esc="props.title"/> |
||||
|
</header> |
||||
|
<div class="form-container"> |
||||
|
<t t-if="company_details.company_logo_base64"> |
||||
|
<img class="pos-receipt-logo" |
||||
|
t-att-src="company_details.company_logo_base64" |
||||
|
alt="Logo"/> |
||||
|
<br/> |
||||
|
</t> |
||||
|
<center> |
||||
|
<t t-if="!company_logo"> |
||||
|
<h2 class="pos-receipt-center-align"> |
||||
|
<t t-esc="company_name"/> |
||||
|
</h2> |
||||
|
<br/> |
||||
|
</t> |
||||
|
<div class="pos-receipt-contact"> |
||||
|
<t t-if="company_details.company.name"> |
||||
|
<div> |
||||
|
<t t-esc="company_details.company.name"/> |
||||
|
</div> |
||||
|
</t> |
||||
|
<t t-if="company_details.company.phone"> |
||||
|
<div>Tel: |
||||
|
<t t-esc="company_details.company.phone"/> |
||||
|
</div> |
||||
|
</t> |
||||
|
<t t-if="company_details.company.vat"> |
||||
|
<div> |
||||
|
<t t-esc="company_details.company.vat"/>: |
||||
|
<t t-esc="company_details.company.vat_label"/> |
||||
|
</div> |
||||
|
</t> |
||||
|
<t t-if="company_details.company.email"> |
||||
|
<div> |
||||
|
<t t-esc="company_details.company.email"/> |
||||
|
</div> |
||||
|
</t> |
||||
|
<t t-if="company_details.company.website"> |
||||
|
<div> |
||||
|
<t t-esc="company_details.company.website"/> |
||||
|
</div> |
||||
|
</t> |
||||
|
<t t-if="company_details.header_html"> |
||||
|
<t t-raw="company_details.header_html"/> |
||||
|
</t> |
||||
|
<t t-if="!company_details.header_html and company_details.header"> |
||||
|
<div style="white-space:pre-line"> |
||||
|
<t t-esc="company_details.header"/> |
||||
|
</div> |
||||
|
</t> |
||||
|
<t t-if="company_details.get_cashier()"> |
||||
|
<div class="cashier"> |
||||
|
<div>--------------------------------</div> |
||||
|
<div>Served by |
||||
|
<t t-esc="company_details.get_cashier().name"/> |
||||
|
</div> |
||||
|
</div> |
||||
|
</t> |
||||
|
</div> |
||||
|
</center> |
||||
|
<br/> |
||||
|
<br/> |
||||
|
<!-- Orderlines --> |
||||
|
<div class="orderlines-receipt"> |
||||
|
<t t-foreach="orderlines()" t-as="line" t-key="line[0]"> |
||||
|
<t t-esc="line[0]"/> |
||||
|
<span style="float: right;margin-right:20px;"> |
||||
|
<t t-esc="line[3]"/> |
||||
|
</span> |
||||
|
<br/> |
||||
|
<span>(</span> |
||||
|
<t t-esc="line[1]"/>x |
||||
|
<t t-esc="line[2]"/> |
||||
|
<span>)</span> |
||||
|
<br/> |
||||
|
</t> |
||||
|
</div> |
||||
|
<br/> |
||||
|
<br/> |
||||
|
<center>-----------------------</center> |
||||
|
<!-- Payment Lines --> |
||||
|
<t t-foreach="paymentlines" t-as="line" t-key="line.cid"> |
||||
|
<div> |
||||
|
<t t-esc="line.name"/> |
||||
|
<span t-esc="line.amount" |
||||
|
style="float: right;margin-right:20px;"/> |
||||
|
</div> |
||||
|
</t> |
||||
|
<!--Total --> |
||||
|
<center>-----------------------</center> |
||||
|
<br/> |
||||
|
<div class="pos-receipt-amount" style="margin-left:35px;"> |
||||
|
TOTAL |
||||
|
<span t-esc="total" class="pos-receipt-right-align" |
||||
|
style="float: right;"/> |
||||
|
</div> |
||||
|
<br/> |
||||
|
<div class="pos-receipt-amount" style="margin-left:35px;"> |
||||
|
To Pay |
||||
|
<span t-esc='total_rounded' class="pos-receipt-right-align" |
||||
|
style="float: right;"/> |
||||
|
</div> |
||||
|
<br/> |
||||
|
<br/> |
||||
|
<div class="after-footer"> |
||||
|
<t t-foreach="paymentlines" t-as="line"> |
||||
|
<t t-if="line.ticket"> |
||||
|
<br/> |
||||
|
<div class="pos-payment-terminal-receipt"> |
||||
|
<t t-raw="line.ticket"/> |
||||
|
</div> |
||||
|
</t> |
||||
|
</t> |
||||
|
</div> |
||||
|
<br/> |
||||
|
<br/> |
||||
|
</div> |
||||
|
<footer class="footer"> |
||||
|
<div class="button confirm" t-on-click="cancel"> |
||||
|
<t t-esc="props.cancelText"/> |
||||
|
</div> |
||||
|
<div class="button confirm" t-on-click="printReceipt"> |
||||
|
<t t-esc="props.confirmText"/> |
||||
|
</div> |
||||
|
</footer> |
||||
|
</div> |
||||
|
</t> |
||||
|
</templates> |
@ -0,0 +1,106 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<template id="template" xml:space="preserve"> |
||||
|
<!-- Inherit ProductScreen to Modify it --> |
||||
|
<t t-name="CustomProductScreen" t-inherit="point_of_sale.ProductScreen" t-inherit-mode="extension" owl="1"> |
||||
|
<xpath expr="//div[hasclass('product-screen')]" position="replace"> |
||||
|
<div class="div-main" style="height: 100%;"> |
||||
|
<div class="leftpane pane-border"> |
||||
|
<ProductsWidget mobileSearchBarIsShown="props.mobileSearchBarIsShown" /> |
||||
|
<MobileOrderWidget t-if="env.isMobile" pane="state.mobile_pane" t-on-switchpane="switchPane" /> |
||||
|
<OrderWidget /> |
||||
|
<NumpadWidget activeMode="env.pos.numpadMode" /> |
||||
|
</div> |
||||
|
<div class="right"> |
||||
|
<div class="head"> |
||||
|
<center> |
||||
|
<h2>CUSTOMER</h2> |
||||
|
</center> |
||||
|
</div> |
||||
|
<br /> |
||||
|
<br /> |
||||
|
<div class="_o_customer"> |
||||
|
<t t-if="client"> |
||||
|
<h2>Name:</h2> |
||||
|
<h3 t-esc="client.name" /> |
||||
|
<h2>Address:</h2> |
||||
|
<h3 t-esc="client.address" /> |
||||
|
<h2>Email:</h2> |
||||
|
<h3 t-esc="client.email" /> |
||||
|
<h2>Phone:</h2> |
||||
|
<h3 t-esc="client.phone" /> |
||||
|
</t> |
||||
|
</div> |
||||
|
<br /> |
||||
|
<br /> |
||||
|
<center> |
||||
|
|
||||
|
<button class="customer-button" t-on-click="_onClickCustomer"> |
||||
|
<i class="fa fa-search" /> |
||||
|
</button> |
||||
|
</center> |
||||
|
<div class="button new-order next validation" style="bottom: 0;height: 11.65%;width: 29.35% !important;" t-att-class="{ highlight: !locked }" t-on-click="orderDone"> |
||||
|
<div class="pay-circle" style="margin-top: 21px;"> |
||||
|
<i class="fa fa-angle-double-right" /> |
||||
|
</div> |
||||
|
<span class="next_text" style="padding-bottom: 53px;margin-left: -10px;">New Order</span> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="center"> |
||||
|
<section class="paymentlines-container"> |
||||
|
<t t-log="get_current_Order().length" /> |
||||
|
<div t-if="get_current_Order().length === 0" class="paymentlines-empty"> |
||||
|
<div class="total"> |
||||
|
<t t-esc="totalDueText" /> |
||||
|
</div> |
||||
|
<div class="message"> |
||||
|
Please select a payment method. |
||||
|
</div> |
||||
|
</div> |
||||
|
<div t-else=""> |
||||
|
<div class="payment-status-container"> |
||||
|
<div> |
||||
|
<div class="payment-status-remaining"> |
||||
|
<span class="label">Remaining</span> |
||||
|
<span class="amount" t-att-class="{ highlight: currentOrder.get_due() > 0 }"> |
||||
|
<t t-esc="remainingText" /> |
||||
|
</span> |
||||
|
</div> |
||||
|
<div class="payment-status-total-due"> |
||||
|
<span class="label">Total Due</span> |
||||
|
<span> |
||||
|
<t t-esc="totalDueText" /> |
||||
|
</span> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div> |
||||
|
<div class="payment-status-change"> |
||||
|
<span class="label">Change</span> |
||||
|
<span class="amount" t-att-class="{ highlight: currentOrder.get_change() > 0 }"> |
||||
|
<t t-esc="changeText" /> |
||||
|
</span> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</section> |
||||
|
<p class="title-category">Payment method</p> |
||||
|
<div class="paymentmethods-container"> |
||||
|
<div class="paymentmethods"> |
||||
|
<t t-foreach="get_payment_methods()" t-as="paymentMethod" t-key="paymentMethod.id"> |
||||
|
<PaymentMethodButton paymentMethod="paymentMethod" /> |
||||
|
</t> |
||||
|
</div> |
||||
|
<p class="title-category" style="border-top: solid 5px teal;">summary</p> |
||||
|
<PaymentScreenPaymentLines paymentLines="paymentLines" /> |
||||
|
</div> |
||||
|
<div class="button next validation" t-on-click="confirmOrder"> |
||||
|
<div class="pay-circle"> |
||||
|
<i class="fa fa-chevron-right" role="img" aria-label="Pay" title="Pay" /> |
||||
|
</div> |
||||
|
<span class="next_text">Validate</span> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</xpath> |
||||
|
</t> |
||||
|
</template> |
@ -0,0 +1,24 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<templates id="template" xml:space="preserve"> |
||||
|
<!-- Inherit ProductsWidgetControlPanel to Modify it --> |
||||
|
<t t-inherit="point_of_sale.ProductsWidgetControlPanel" t-inherit-mode="extension" owl="1"> |
||||
|
<xpath expr="//div[hasclass('rightpane-header')]" position="replace"> |
||||
|
<div class="rightpane-header"> |
||||
|
<div class="search-bar-container sb-product"> |
||||
|
<span t-if="env.isMobile" class="icon" t-on-click="_toggleMobileSearchbar"> |
||||
|
<i t-attf-class="fa {{props.mobileSearchBarIsShown ? 'fa-arrow-left' : 'fa-search'}}" /> |
||||
|
</span> |
||||
|
<span t-else="" class="icon"> |
||||
|
<i class="fa fa-search" /> |
||||
|
</span> |
||||
|
<t t-if="!env.isMobile || props.mobileSearchBarIsShown"> |
||||
|
<input t-ref="search-word-input" autofocus="autofocus" type="text" placeholder="Search Products..." t-on-keyup="updateSearch" /> |
||||
|
<span t-on-click="clearSearch" class="clear-icon"> |
||||
|
<i class="fa fa-times" aria-hidden="true" /> |
||||
|
</span> |
||||
|
</t> |
||||
|
</div> |
||||
|
</div> |
||||
|
</xpath> |
||||
|
</t> |
||||
|
</templates> |
@ -0,0 +1,12 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<templates id="template" xml:space="preserve"> |
||||
|
<!-- Inherit point_of_sale.Chrome to Modify it --> |
||||
|
<t t-name="Chrome" t-inherit="point_of_sale.Chrome" t-inherit-mode="extension" owl="1"> |
||||
|
<xpath expr="//div[hasclass('pos-branding')]" position="replace"> |
||||
|
<div class="pos-branding"> |
||||
|
<img t-if="!env.isMobile" class="pos-logo" t-on-click="() => this.trigger('toggle-debug-widget')" src="/point_of_sale/static/src/img/logo.png" alt="Logo" /> |
||||
|
<CashMoveButton t-if="showCashMoveButton()" /> |
||||
|
</div> |
||||
|
</xpath> |
||||
|
</t> |
||||
|
</templates> |