| @ -0,0 +1,56 @@ | |||
| .. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg | |||
|     :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html | |||
|     :alt: License: AGPL-3 | |||
| 
 | |||
| POS Restaurant Dine-in/TakeAway | |||
| =============================== | |||
| * This module will add the options Dine-in and Take away in Odoo POS. | |||
| * A separate token will be generated for all Takeaway orders. | |||
| 
 | |||
| Installation | |||
| ============ | |||
|     - www.odoo.com/documentation/14.0/setup/install.html | |||
|     - Install our custom addon | |||
| 
 | |||
| Configuration | |||
| ============= | |||
|     - After installation, go to configuration settings - other features | |||
|     - Enable the checkbox POS Takeaways and Generate Token | |||
| 
 | |||
| License | |||
| ------- | |||
| Affero General Public License, v3.0 (AGPL v3). | |||
| (https://www.gnu.org/licenses/agpl-3.0-standalone.html) | |||
| 
 | |||
| Company | |||
| ------- | |||
| * `Cybrosys Techno Solutions <https://cybrosys.com/>`__ | |||
| 
 | |||
| Credits | |||
| ------- | |||
| * Developers: (V14) Aysha Shalin, | |||
|               (V15) Raveena | |||
| 
 | |||
|   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 https://www.cybrosys.com | |||
| 
 | |||
| Further information | |||
| =================== | |||
| HTML Description: `<static/description/index.html>`__ | |||
| @ -0,0 +1,22 @@ | |||
| # -*- coding: utf-8 -*- | |||
| ############################################################################# | |||
| # | |||
| #    Cybrosys Technologies Pvt. Ltd. | |||
| # | |||
| #    Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | |||
| #    Author: Aysha Shalin(<https://www.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/>. | |||
| # | |||
| ############################################################################# | |||
| from . import models | |||
| @ -0,0 +1,51 @@ | |||
| # -*- coding: utf-8 -*- | |||
| ############################################################################# | |||
| # | |||
| #    Cybrosys Technologies Pvt. Ltd. | |||
| # | |||
| #    Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | |||
| #    Author: Aysha Shalin(<https://www.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': 'POS Restaurant Dine-in/TakeAway', | |||
|     'version': '14.0.1.0.0', | |||
|     'category': 'Point of Sale', | |||
|     'summary': """This module will add the options for Dine-in  | |||
|     and Take away in Odoo POS.""", | |||
|     'description': """The POS user can make orders as Dine-in or Take  | |||
|     away and it will create separate tokens for Take away orders.""", | |||
|     'author': 'Cybrosys Techno Solutions', | |||
|     'company': 'Cybrosys Techno Solutions', | |||
|     'maintainer': 'Cybrosys Techno Solutions', | |||
|     'website': 'https://www.cybrosys.com', | |||
|     'depends': [ | |||
|         'point_of_sale', 'pos_restaurant', 'web'], | |||
|     'data': [ | |||
|         'data/ir_cron_data.xml', | |||
|         'views/res_config_settings_views.xml', | |||
|         'views/pos_order_filter_views.xml', | |||
|         'views/assets.xml', | |||
|     ], | |||
|     'qweb': [ | |||
|         'static/src/xml/Screens/ProductScreen/ControlButtons/TakeAway.xml', | |||
|         'static/src/xml/Screens/ReceiptScreen/OrderReceipt.xml', | |||
|     ], | |||
|     'images': ['static/description/banner.png'], | |||
|     'license': 'AGPL-3', | |||
|     'installable': True, | |||
|     'auto_install': False, | |||
|     'application': False, | |||
| } | |||
| @ -0,0 +1,16 @@ | |||
| <?xml version="1.0" encoding="utf-8" ?> | |||
| <odoo> | |||
|     <data noupdate="1"> | |||
|         <!--    Scheduler to reset the Token to 0    --> | |||
|         <record id="ir_cron_ticket_scheduler" model="ir.cron"> | |||
|             <field name="name">POS TakeAway Ticket Scheduler</field> | |||
|             <field name="model_id" ref="model_pos_order"/> | |||
|             <field name="state">code</field> | |||
|             <field name="code">model.ticket_scheduler()</field> | |||
|             <field name="interval_type">days</field> | |||
|             <field name="interval_number">1</field> | |||
|             <field name="numbercall">-1</field> | |||
|             <field name="active">True</field> | |||
|         </record> | |||
|     </data> | |||
| </odoo> | |||
| @ -0,0 +1,7 @@ | |||
| ## Module <pos_takeaway> | |||
| 
 | |||
| #### 31.08.2023 | |||
| #### Version 14.0.1.0.0 | |||
| #### ADD | |||
| 
 | |||
| Initial Commit for POS Restaurant Dine-in/TakeAway | |||
| @ -0,0 +1,23 @@ | |||
| # -*- coding: utf-8 -*- | |||
| ############################################################################# | |||
| # | |||
| #    Cybrosys Technologies Pvt. Ltd. | |||
| # | |||
| #    Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | |||
| #    Author: Aysha Shalin (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/>. | |||
| # | |||
| ############################################################################# | |||
| from . import pos_order | |||
| from . import res_config_settings | |||
| @ -0,0 +1,71 @@ | |||
| # -*- coding: utf-8 -*- | |||
| ############################################################################# | |||
| # | |||
| #    Cybrosys Technologies Pvt. Ltd. | |||
| # | |||
| #    Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | |||
| #    Author: Aysha Shalin (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/>. | |||
| # | |||
| ############################################################################# | |||
| from odoo import fields, models | |||
| 
 | |||
| 
 | |||
| class PosOrder(models.Model): | |||
|     """ | |||
|     Adding the fields in model pos order for determining whether the order is a | |||
|     take-away or dine-in. | |||
|     """ | |||
|     _inherit = "pos.order" | |||
| 
 | |||
|     is_takeaway = fields.Boolean(string="Is a Takeaway Order", | |||
|                                  help="If enabled the order is take away") | |||
|     token_number = fields.Char(string="Token Number", | |||
|                                help="If enabled token number will start from 1") | |||
| 
 | |||
|     def generate_token(self, uid): | |||
|         """ | |||
|         This function checks whether the order is a take-away order or a | |||
|         dine-in.If it is a take-away order, it will create the token number and | |||
|         returns it. | |||
|         :param : uid: the pos order id | |||
|         :return : order.token_number: token number of the pos order having the | |||
|         order reference uid | |||
|         """ | |||
|         order = self.env['pos.order'].search([('pos_reference', 'ilike', | |||
|                                                "Order " + uid[0])]) | |||
|         order.is_takeaway = True | |||
|         if not order.token_number and \ | |||
|                 self.env['res.config.settings'].get_values()[ | |||
|                     'generate_token']: | |||
|             if self.env['res.config.settings'].get_values()[ | |||
|                        'pos_token']: | |||
|                 order.token_number = int( | |||
|                     self.env['res.config.settings'].get_values()[ | |||
|                         'pos_token']) + 1 | |||
|             else: | |||
|                 order.token_number = 1 | |||
|             self.env['ir.config_parameter'].sudo().set_param( | |||
|                 'pos_takeaway.pos_token', | |||
|                 order.token_number) | |||
|             return order.token_number | |||
|         else: | |||
|             return 0 | |||
| 
 | |||
|     def ticket_scheduler(self): | |||
|         """ This function will reset the Token to 0 by a cron job. """ | |||
|         generate_token = self.env['ir.config_parameter'].sudo().get_param( | |||
|             'generate_token') | |||
|         if generate_token: | |||
|             self.env['ir.config_parameter'].sudo().set_param('pos_token', 0) | |||
| @ -0,0 +1,69 @@ | |||
| # -*- coding: utf-8 -*- | |||
| ############################################################################# | |||
| # | |||
| #    Cybrosys Technologies Pvt. Ltd. | |||
| # | |||
| #    Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). | |||
| #    Author: Aysha Shalin (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/>. | |||
| # | |||
| ############################################################################# | |||
| from odoo import fields, models | |||
| 
 | |||
| 
 | |||
| class ResConfigSettings(models.TransientModel): | |||
|     """ Adding fields in configuration settings """ | |||
|     _inherit = 'res.config.settings' | |||
| 
 | |||
|     generate_token = fields.Boolean(string="Generate Token", | |||
|                                     help="This will generate separate token " | |||
|                                          "for all Take Away orders.") | |||
|     pos_token = fields.Integer(string="Token", | |||
|                                help="The token will be starting from 1.") | |||
|     takeaway = fields.Boolean(string="POS Takeaways", | |||
|                               help="This will enable the Take Away feature " | |||
|                                    "on POS.") | |||
| 
 | |||
|     def get_values(self): | |||
|         """ | |||
|         Supering the getter to get the takeaway, generate_token | |||
|         and pos_token fields. | |||
|         """ | |||
|         res = super(ResConfigSettings, self).get_values() | |||
|         res.update( | |||
|             takeaway=self.env['ir.config_parameter'].sudo().get_param( | |||
|                 'pos_takeaway.takeaway'), | |||
|             generate_token=self.env['ir.config_parameter'].sudo().get_param( | |||
|                 'pos_takeaway.generate_token'), | |||
|             pos_token=self.env['ir.config_parameter'].sudo().get_param( | |||
|                 'pos_takeaway.pos_token') | |||
|         ) | |||
|         return res | |||
| 
 | |||
|     def set_values(self): | |||
|         """ | |||
|         Supering the setter to set the takeaway, generate_token | |||
|         and pos_token fields. | |||
|         """ | |||
|         res = super(ResConfigSettings, self).set_values() | |||
|         self.env['ir.config_parameter'].sudo().set_param( | |||
|             'pos_takeaway.takeaway', | |||
|             self.takeaway or False) | |||
|         self.env['ir.config_parameter'].sudo().set_param( | |||
|             'pos_takeaway.generate_token', | |||
|             self.generate_token or False) | |||
|         self.env['ir.config_parameter'].sudo().set_param( | |||
|             'pos_takeaway.pos_token', | |||
|             self.pos_token or 0) | |||
|         return res | |||
| 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: 3.4 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: 46 KiB | 
| After Width: | Height: | Size: 87 KiB | 
| After Width: | Height: | Size: 45 KiB | 
| After Width: | Height: | Size: 44 KiB | 
| After Width: | Height: | Size: 45 KiB | 
| After Width: | Height: | Size: 46 KiB | 
| After Width: | Height: | Size: 241 KiB | 
| After Width: | Height: | Size: 99 KiB | 
| After Width: | Height: | Size: 434 KiB | 
| After Width: | Height: | Size: 97 KiB | 
| After Width: | Height: | Size: 433 KiB | 
| After Width: | Height: | Size: 92 KiB | 
| After Width: | Height: | Size: 117 KiB | 
| After Width: | Height: | Size: 79 KiB | 
| After Width: | Height: | Size: 105 KiB | 
| After Width: | Height: | Size: 19 KiB | 
| @ -0,0 +1,616 @@ | |||
| <!DOCTYPE html> | |||
| <head> | |||
|   <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/css/bootstrap.min.css" | |||
|     integrity="sha384-zCbKRCUGaJDkqS1kPbPd7TveP5iyJE0EjAuZQTgFLD2ylzuqKfdKlfG/eSrtxUkn" crossorigin="anonymous"> | |||
| </head> | |||
| 
 | |||
| <body> | |||
|       <div class="row"> | |||
|           <div class="col-sm-12 col-md-12 col-lg-12 d-flex justify-content-between" style="border-bottom: 1px solid #d5d5d5;"> | |||
|               <div class="my-3"> | |||
|                 <img src="./assets/icons/logo.png" style="width: auto !important; height: 40px !important;"> | |||
|               </div> | |||
|               <div class="my-3 d-flex align-items-center"> | |||
|                   <div | |||
|                   style="background-color: #7C7BAD !important; color: #fff !important; font-weight: 600 !important; padding: 5px 15px 8px !important; margin: 0 5px !important;"> | |||
|                   <i class="fa fa-check mr-1"></i>Community | |||
|                   </div> | |||
|                   <div | |||
|                   style="background-color: #875A7B !important; color: #fff !important; font-weight: 600 !important; padding: 5px 15px 8px !important; margin: 0 5px !important;"> | |||
|                   <i class="fa fa-check mr-1"></i>Enterprise | |||
|                   </div> | |||
|                   <div style="color: #017E84; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;" class="mr-2"> | |||
|                       <i class="fa fa-check mr-1"></i>Odoo.sh | |||
|                   </div> | |||
|               </div> | |||
|             </div> | |||
|       </div> | |||
| 
 | |||
|     <div class="container" style="padding: 4rem 1.5rem !important"> | |||
|         <div class="row" style="height: 900px !important;"> | |||
|             <div class="col-sm-12 col-md-12 col-lg-12" | |||
|                 style="padding: 4rem 1rem !important; background-color: #714B67 !important; height: 600px !important; border-radius: 20px !important;"> | |||
|                 <h1 | |||
|                     style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #FFFFFF !important;  font-size: 3.5rem !important; text-align: center !important;"> | |||
|                     POS Restaurant Dine-in/TakeAway</h1> | |||
|                 <p | |||
|                     style="font-family: 'Montserrat', sans-serif !important; font-weight: 300 !important; color: #FFFFFF !important;  font-size: 1.4rem !important; text-align: center !important;"> | |||
|                     This Module Will Add The Options Dine-in And Take Away In Odoo POS. | |||
|                 </p> | |||
|                 <img src="assets/screenshots/hero.gif" class="img-responsive" width="100%" height="auto" /> | |||
|             </div> | |||
|         </div> | |||
| 
 | |||
|         <div class="row"> | |||
|             <div class="col-md-12" style="border-bottom: 1px solid #d5d5d5 !important; margin-bottom: 2rem !important"> | |||
|                 <h2 | |||
|                     style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;"> | |||
|                     <i class="fa fa-compass mr-2"></i>Explore this Module | |||
|                 </h2> | |||
|             </div> | |||
|             <div class="col-md-6"> | |||
|                 <a href="#overview" style="text-decoration: none !important;"> | |||
|                     <div class="row" | |||
|                         style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;"> | |||
|                         <div class="col-8"> | |||
|                             <h3 | |||
|                                 style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;"> | |||
|                                 Overview</h3> | |||
|                             <p | |||
|                                 style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;"> | |||
|                                 Learn more about this module</p> | |||
|                         </div> | |||
|                         <div class="col-4 text-right d-flex justify-content-end align-items-center"> | |||
|                             <i class="fa fa-chevron-right" style="color: #714B67 !important;"></i> | |||
|                         </div> | |||
|                     </div> | |||
|                 </a> | |||
|             </div> | |||
| 
 | |||
|             <div class="col-md-6"> | |||
|                 <a href="#features" style="text-decoration: none !important;"> | |||
|                     <div class="row" | |||
|                         style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;"> | |||
|                         <div class="col-8"> | |||
|                             <h3 | |||
|                                 style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;"> | |||
|                                 Features</h3> | |||
|                             <p | |||
|                                 style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;"> | |||
|                                 View features of this module</p> | |||
|                         </div> | |||
|                         <div class="col-4 text-right d-flex justify-content-end align-items-center"> | |||
|                             <i class="fa fa-chevron-right" style="color: #714B67 !important;"></i> | |||
|                         </div> | |||
|                     </div> | |||
|                 </a> | |||
|             </div> | |||
|             <div class="col-md-6"> | |||
|                 <a href="#screenshots" style="text-decoration: none !important;"> | |||
|                     <div class="row" | |||
|                         style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;"> | |||
|                         <div class="col-8"> | |||
|                             <h3 | |||
|                                 style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;"> | |||
|                                 Screenshots</h3> | |||
|                             <p | |||
|                                 style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;"> | |||
|                                 See key screenshots of this module</p> | |||
|                         </div> | |||
|                         <div class="col-4 text-right d-flex justify-content-end align-items-center"> | |||
|                             <i class="fa fa-chevron-right" style="color: #714B67 !important;"></i> | |||
|                         </div> | |||
|                     </div> | |||
|                 </a> | |||
|             </div> | |||
|         </div> | |||
| 
 | |||
|         <div class="row" id="overview"> | |||
|             <div class="col-md-12" style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important"> | |||
|                 <h2 | |||
|                     style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;"> | |||
|                     <i class="fa fa-pie-chart mr-2"></i>Overview | |||
|                 </h2> | |||
|             </div> | |||
| 
 | |||
|             <div class="col-mg-12 pl-3"> | |||
|                 <p | |||
|                     style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important; line-height: 30px !important;"> | |||
|                     The POS user can make orders as Dine-in or Take | |||
|                     away, and it will create separate token for Take Away orders.</p> | |||
| 
 | |||
|             </div> | |||
|         </div> | |||
| 
 | |||
|         <div class="row" id="features"> | |||
|             <div class="col-md-12" style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important"> | |||
|                 <h2 | |||
|                     style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;"> | |||
|                     <i class="fa fa-star mr-2"></i>Features | |||
|                 </h2> | |||
|             </div> | |||
| 
 | |||
|             <div class="col-md-6 pl-3 py-3 d-flex"> | |||
|                 <div> | |||
|                     <img src="assets/icons/check.png"> | |||
|                 </div> | |||
|                 <div> | |||
|                     <h4 | |||
|                         style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> | |||
|                         Dine-In or Take away</h4> | |||
|                     <p | |||
|                         style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> | |||
|                         The POS user can make orders as Dine-in or Take Away</p> | |||
|                 </div> | |||
|             </div> | |||
| 
 | |||
|             <div class="col-md-6 pl-3 py-3 d-flex"> | |||
|                 <div> | |||
|                     <img src="assets/icons/check.png"> | |||
|                 </div> | |||
|                 <div> | |||
|                     <h4 | |||
|                         style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> | |||
|                         Token for Orders</h4> | |||
|                     <p | |||
|                         style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">Receipt | |||
|                         It will create a separate token for each Take Away orders.</p> | |||
|                 </div> | |||
|             </div> | |||
| 
 | |||
|             <div class="col-md-6 pl-3 py-3 d-flex"> | |||
|                 <div> | |||
|                     <img src="assets/icons/check.png"> | |||
|                 </div> | |||
|                 <div> | |||
|                     <h4 | |||
|                         style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> | |||
|                         Token on Receipt</h4> | |||
|                     <p | |||
|                         style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> | |||
|                         The token number of Take Away order will be printed on the Receipt.</p> | |||
|                 </div> | |||
|             </div> | |||
| 
 | |||
|         </div> | |||
| 
 | |||
|         <div class="row" id="screenshots"> | |||
|             <div class="col-md-12" style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important"> | |||
|                 <h2 | |||
|                     style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;"> | |||
|                     <i class="fa fa-image mr-2"></i>Screenshots | |||
|                 </h2> | |||
|             </div> | |||
|             <div class="col-lg-12 my-2"> | |||
|                 <h4 class="mt-2" | |||
|                     style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> | |||
|                     Configuration</h4> | |||
|                 <p | |||
|                     style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> | |||
|                    You can enable the Take-away feature from the boolean field in POS configuration settings. | |||
|                     Also, you can enable the feature of tokens from here. | |||
|                 </p> | |||
|                 <img src="assets/screenshots/pos1.png" class="img-responsive img-thumbnail border" width="100%" | |||
|                     height="auto" /> | |||
|             </div> | |||
|             <div class="col-lg-12 my-2"> | |||
|                 <h4 class="mt-2" | |||
|                     style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> | |||
|                     Place Order as Take Away</h4> | |||
|                 <p | |||
|                     style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> | |||
|                     You can create order and click on the 'Take away' button to make the order Take Away.</p> | |||
|                 <img src="assets/screenshots/pos2.png" class="img-responsive img-thumbnail border" width="100%" | |||
|                     height="auto" /> | |||
|             </div> | |||
|             <div class="col-lg-12 my-2"> | |||
|                 <h4 class="mt-2" | |||
|                     style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> | |||
|                     Token on Receipts</h4> | |||
|                 <p | |||
|                     style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> | |||
|                     If the order is a Take Away one, you can see the 'Take Away' label and the Token on the receipt.</p> | |||
|                 <img src="assets/screenshots/pos3.png" class="img-responsive img-thumbnail border" width="100%" | |||
|                     height="auto" /> | |||
|             </div> | |||
|             <div class="col-lg-12 my-2"> | |||
|                 <h4 class="mt-2" | |||
|                     style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> | |||
|                     Place Order as Dine-In</h4> | |||
|                 <p | |||
|                     style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> | |||
|                     You can simply create a normal Order without clicking the 'Take away' button, and it will be a Dine-In order.</p> | |||
|                 <img src="assets/screenshots/pos4.png" class="img-responsive img-thumbnail border" width="100%" | |||
|                     height="auto" /> | |||
|             </div> | |||
|             <div class="col-lg-12 my-2"> | |||
|                 <h4 class="mt-2" | |||
|                     style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> | |||
|                     Dine-In Receipts</h4> | |||
|                 <p | |||
|                     style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> | |||
|                     The receipt of Dine-in orders will be labelled as 'Dine-In'.</p> | |||
|                 <img src="assets/screenshots/pos5.png" class="img-responsive img-thumbnail border" width="100%" | |||
|                     height="auto" /> | |||
|             </div> | |||
|             <div class="col-lg-12 my-2"> | |||
|                 <h4 class="mt-2" | |||
|                     style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> | |||
|                     Filter Dine-In</h4> | |||
|                 <p | |||
|                     style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> | |||
|                     You can filter the Dine-In orders with the 'Dine In' filter available on orders.</p> | |||
|                 <img src="assets/screenshots/pos6.png" class="img-responsive img-thumbnail border" width="100%" | |||
|                     height="auto" /> | |||
|             </div> | |||
|             <div class="col-lg-12 my-2"> | |||
|                 <h4 class="mt-2" | |||
|                     style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> | |||
|                     Filter Take Away</h4> | |||
|                 <p | |||
|                     style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> | |||
|                     You can filter the 'Take Away' orders with the Take Away filter available on orders.</p> | |||
|                 <img src="assets/screenshots/pos7.png" class="img-responsive img-thumbnail border" width="100%" | |||
|                     height="auto" /> | |||
|             </div> | |||
|         </div> | |||
| 
 | |||
|         <!-- SUGGESTED PRODUCTS --> | |||
|         <div class="row"> | |||
|             <div class="col-lg-12 d-flex flex-column justify-content-center" | |||
|                 style="text-align: center; padding: 2.5rem 1rem !important;"> | |||
|                 <h2 style="color: #212529 !important;">Suggested Products</h2> | |||
|                 <hr | |||
|                     style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;" /> | |||
|                 <div id="demo1" class="row carousel slide" data-ride="carousel"> | |||
|                     <!-- The slideshow --> | |||
|                     <div class="carousel-inner"> | |||
|                         <div class="carousel-item active" style="min-height:0px"> | |||
|                             <div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> | |||
|                                 <a href="https://apps.odoo.com/apps/modules/14.0/combo_product_pos/" target="_blank"> | |||
|                                     <div style="border-radius:10px"> | |||
|                                         <img class="img img-responsive center-block" | |||
|                                             style="border-top-left-radius:10px; border-top-right-radius:10px" | |||
|                                             src="./assets/modules/POS-Combo-Product.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/14.0/pos_credit_limit/" target="_blank"> | |||
|                                     <div style="border-radius:10px"> | |||
|                                         <img class="img img-responsive center-block" | |||
|                                             style="border-top-left-radius:10px; border-top-right-radius:10px" | |||
|                                             src="./assets/modules/POS-Credit-Limit.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/14.0/pos_order_types/" target="_blank"> | |||
|                                     <div style="border-radius:10px"> | |||
|                                         <img class="img img-responsive center-block" | |||
|                                             style="border-top-left-radius:10px; border-top-right-radius:10px" | |||
|                                             src="./assets/modules/POS-Order-Types.png"> | |||
|                                     </div> | |||
|                                 </a> | |||
|                             </div> | |||
|                         </div> | |||
|                         <div class="carousel-item" style="min-height:0px"> | |||
|                             <div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> | |||
|                                 <a href="https://apps.odoo.com/apps/modules/14.0/pos_product_addons/" target="_blank"> | |||
|                                     <div style="border-radius:10px"> | |||
|                                         <img class="img img-responsive center-block" | |||
|                                             style="border-top-left-radius:10px; border-top-right-radius:10px" | |||
|                                             src="./assets/modules/Product-Add-ons-in-POS.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/14.0/custom_receipts_for_pos/" target="_blank"> | |||
|                                     <div style="border-radius:10px"> | |||
|                                         <img class="img img-responsive center-block" | |||
|                                             style="border-top-left-radius:10px; border-top-right-radius:10px" | |||
|                                             src="./assets/modules/Custom-Receipts-For-POS.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/14.0/dashboard_pos/" | |||
|                                     target="_blank"> | |||
|                                     <div style="border-radius:10px"> | |||
|                                         <img class="img img-responsive center-block" | |||
|                                             style="border-top-left-radius:10px; border-top-right-radius:10px" | |||
|                                             src="./assets/modules/POS-Dashboard.png"> | |||
|                                     </div> | |||
|                                 </a> | |||
|                             </div> | |||
|                         </div> | |||
|                     </div> | |||
|                     <!-- Left and right controls --> | |||
|                     <a class="carousel-control-prev" href="#demo1" data-slide="prev" | |||
|                         style="left:-25px;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="right:-25px;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 SUGGESTED PRODUCTS --> | |||
| 
 | |||
|         <!-- OUR SERVICES --> | |||
|         <section class="container" style="margin-top: 6rem !important;"> | |||
|             <div class="row"> | |||
|                 <div class="col-lg-12 d-flex flex-column justify-content-center align-items-center"> | |||
|                     <h2 style="color: #212529 !important;">Our Services</h2> | |||
|                     <hr | |||
|                         style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;" /> | |||
|                 </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: #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> | |||
|         </section> | |||
|         <!-- END OF OUR SERVICES --> | |||
| 
 | |||
|         <!-- OUR INDUSTRIES --> | |||
|         <section class="container" style="margin-top: 6rem !important;"> | |||
|             <div class="row"> | |||
|                 <div class="col-lg-12 d-flex flex-column justify-content-center align-items-center"> | |||
|                     <h2 style="color: #212529 !important;">Our Industries</h2> | |||
|                     <hr | |||
|                         style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;" /> | |||
|                 </div> | |||
| 
 | |||
|                 <div class="col-lg-3"> | |||
|                     <div class="my-4 d-flex flex-column justify-content-center" | |||
|                         style="background-color: #f6f8f9 !important; border-radius: 10px; 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: 10px; 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: 10px; 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: 10px; 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: 10px; 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: 10px; 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: 10px; 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: 10px; 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> | |||
|         </section> | |||
|         <!-- END OF OUR INDUSTRIES --> | |||
|         <!-- FOOTER --> | |||
|         <!-- Footer Section --> | |||
|         <section class="container" style="margin: 5rem auto 2rem;"> | |||
|             <div class="row" style="max-width:1540px;"> | |||
|                 <div class="col-lg-12 d-flex flex-column justify-content-center align-items-center"> | |||
|                     <h2 style="color: #212529 !important;">Need Help?</h2> | |||
|                     <hr | |||
|                         style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;" /> | |||
|                 </div> | |||
|             </div> | |||
| 
 | |||
|             <!-- Contact Cards --> | |||
|             <div class="row d-flex justify-content-center align-items-center" | |||
|                 style="max-width:1540px; margin: 0 auto 2rem auto;"> | |||
| 
 | |||
|                 <div class="col-lg-12" style="padding: 0rem 3rem 2rem; border-radius: 10px; margin-right: 3rem; "> | |||
| 
 | |||
|                     <div class="row mt-4"> | |||
|                         <div class="col-lg-4"> | |||
|                             <a href="mailto:odoo@cybrosys.com" target="_blank" class="btn btn-block mb-2 deep_hover" | |||
|                                 style="text-decoration: none;  background-color: #4d4d4d; color: #FFF;  border-radius: 4px;"><i | |||
|                                     class="fa fa-envelope mr-2"></i>odoo@cybrosys.com</a> | |||
|                         </div> | |||
|                         <div class="col-lg-4"> | |||
|                             <a href="https://api.WhatsApp.com/send?phone=918606827707" target="_blank" | |||
|                                 class="btn btn-block mb-2 deep_hover" | |||
|                                 style="text-decoration: none;  background-color: #25D366; color: #FFF;  border-radius: 4px;"><i | |||
|                                     class="fa fa-WhatsApp mr-2"></i>WhatsApp</a> | |||
|                         </div> | |||
|                         <div class="col-lg-4"> | |||
|                             <a href="mailto:info@cybrosys.com" target="_blank" class="btn btn-block deep_hover" | |||
|                                 style="text-decoration: none; background-color: #4d4d4d; color: #FFF;  border-radius: 4px;"><i | |||
|                                     class="fa fa-envelope mr-2"></i>info@cybrosys.com</a> | |||
|                         </div> | |||
|                     </div> | |||
|                 </div> | |||
| 
 | |||
|             </div> | |||
|             <!-- End of Contact Cards --> | |||
|         </section> | |||
|         <!-- Footer --> | |||
|         <section class="oe_container" style="padding: 2rem 3rem 1rem;"> | |||
|             <div class="row" style="max-width:1540px; margin: 0 auto; margin-right: 3rem; "> | |||
|                 <!-- Logo --> | |||
|                 <div class="col-lg-12 d-flex justify-content-center align-items-center" style="margin-top: 3rem;"> | |||
|                     <img src="https://www.cybrosys.com/images/logo.png" width="200px" height="auto" /> | |||
|                 </div> | |||
|                 <!-- End of Logo --> | |||
|                 <div class="col-lg-12"> | |||
|                     <hr | |||
|                         style="margin-top: 3rem;background: linear-gradient(90deg, rgba(2,0,36,0) 0%, rgba(229,229,229,1) 33%, rgba(229,229,229,1) 58%, rgba(0,212,255,0) 100%); height: 2px; border-style: none;"> | |||
|                     <!-- End of Footer Section --> | |||
|                 </div> | |||
|             </div> | |||
|         </section> | |||
|         <!-- END OF FOOTER --> | |||
|     </div> | |||
| </body> | |||
| 
 | |||
| @ -0,0 +1,51 @@ | |||
| odoo.define('pos_takeaway.SendToTakeaway', function(require) { | |||
|     'use strict'; | |||
|     const PosComponent = require('point_of_sale.PosComponent'); | |||
|     const ProductScreen = require('point_of_sale.ProductScreen'); | |||
|     const { useListener } = require('web.custom_hooks'); | |||
|     const Registries = require('point_of_sale.Registries'); | |||
|     const models = require("point_of_sale.models"); | |||
| //    Loading the model to access the field value
 | |||
|     models.load_models({ | |||
|         model: 'res.config.settings', | |||
|         fields: ['takeaway'], | |||
|         loaded: function(self, settings){ | |||
|         if(settings.length){ | |||
|             var index = settings.length-1 | |||
|             self.takeaway = settings[index].takeaway; | |||
|             } | |||
|         }, | |||
|     }); | |||
| //    Extending the PosComponent to enable the take away for the order.
 | |||
|     class SendToTakeaway extends PosComponent { | |||
|         constructor() { | |||
|             super(...arguments); | |||
|             useListener('click', this.onClick); | |||
|         } | |||
| //    Making the selected order as take away on clicking Take away button
 | |||
| 		onClick() { | |||
|             var selectedOrder = this.env.pos.get_order(); | |||
|             selectedOrder.initialize_validation_date(); | |||
|             if(selectedOrder.is_empty()){ | |||
|                 this.showPopup("ErrorPopup", { | |||
|                     title: this.env._t('Warning'), | |||
|                     body: this.env._t('Please add product'), | |||
|                 }); | |||
|             }else{ | |||
|                 const sendButton = document.getElementById('takeaway_button_id'); | |||
|                 sendButton.className = "control-button highlight"; | |||
|                 selectedOrder.is_take_way = true; | |||
|             } | |||
| 		} | |||
|     }; | |||
|     SendToTakeaway.template = 'SendToTakeaway'; | |||
| //    Adds the TakeAway button on ProductScreen
 | |||
|     ProductScreen.addControlButton({ | |||
|         component: SendToTakeaway, | |||
|         condition: function() { | |||
|             return this.env.pos.config.module_pos_restaurant && this.env.pos.takeaway; | |||
|         }, | |||
|     }); | |||
|     Registries.Component.add(SendToTakeaway); | |||
|     return SendToTakeaway; | |||
| }); | |||
| @ -0,0 +1,20 @@ | |||
| odoo.define('pos_takeaway.ProductScreen', function(require) { | |||
|     'use strict'; | |||
|     const ProductScreen = require('point_of_sale.ProductScreen') | |||
|     const Registries = require('point_of_sale.Registries'); | |||
| // Extending ProductScreen to add the button for Take away
 | |||
|     const TakeawayProductScreen = ProductScreen => | |||
|         class extends ProductScreen { | |||
| //  Adding the button 'Take away' as control-button
 | |||
|             mounted() { | |||
|                 var order = this.env.pos.get_order(); | |||
|                 var takeaway = order.is_take_way; | |||
|                 if(takeaway){ | |||
|                     const takeawayButton = document.getElementById('takeaway_button_id'); | |||
|                     takeawayButton.className = "control-button highlight"; | |||
|                 } | |||
|             } | |||
|         } | |||
|     Registries.Component.extend(ProductScreen, TakeawayProductScreen); | |||
|     return ProductScreen; | |||
| }); | |||
| @ -0,0 +1,31 @@ | |||
| odoo.define('pos_takeaway.OrderReceipt', function(require) { | |||
|     'use strict'; | |||
|     const Registries = require('point_of_sale.Registries'); | |||
|     const OrderReceipt = require('point_of_sale.OrderReceipt'); | |||
|     var rpc = require('web.rpc') | |||
| //    Extends OrderReceipt to assign the takeaway value and the token.
 | |||
|     const OrderReceiptToken = OrderReceipt => | |||
|     class extends OrderReceipt { | |||
|         async willUpdateProps(nextProps) { | |||
|             super.willUpdateProps(nextProps) | |||
|             var self = this; | |||
|             self.token = 0; | |||
|             self.is_take_way = self.env.pos.get_order().is_take_way; | |||
|             self.is_restaurant = self.env.pos.config.module_pos_restaurant; | |||
|             self.takeaway = self.env.pos.takeaway; | |||
| //    Calls function for generating the tokens of Take Away orders
 | |||
|             if (self.is_take_way && self.is_restaurant){ | |||
|                 await rpc.query({ | |||
|                     model: 'pos.order', | |||
|                     method: 'generate_token', | |||
|                     args: [,this.env.pos.get_order_with_uid() | |||
|                     ], | |||
|                 }).then(function (result){ | |||
|                     self.token = result | |||
|                 }); | |||
|             } | |||
|         } | |||
|     } | |||
|     Registries.Component.extend(OrderReceipt, OrderReceiptToken); | |||
|     return OrderReceipt; | |||
| }); | |||
| @ -0,0 +1,18 @@ | |||
| odoo.define('pos_takeaway.receipt', function (require) { | |||
|     'use strict'; | |||
| //  Loading fields from the model
 | |||
|     const models = require('point_of_sale.models'); | |||
|     models.load_fields('pos.order', 'is_takeaway'); | |||
|     var _super_order = models.Order.prototype; | |||
|     models.Order = models.Order.extend({ | |||
|     initialize: function() { | |||
|         //@Override
 | |||
|         /** Sets the values of the fields is_take_way and is_restaurant */ | |||
|         _super_order.initialize.apply(this,arguments); | |||
|         this.is_restaurant = this.pos.config.module_pos_restaurant || false; | |||
|         this.is_take_way = this.is_take_way || false; | |||
|         this.rpc = this.get('rpc'); | |||
|         this.save_to_db(); | |||
|     }, | |||
|     }); | |||
| }); | |||
| @ -0,0 +1,11 @@ | |||
| <?xml version="1.0" encoding="UTF-8"?> | |||
| <!--ControlButton for Takeaway--> | |||
| <templates id="template" xml:space="preserve"> | |||
|     <t t-name="SendToTakeaway" owl="1"> | |||
|         <div class="control-button" title="send-to-takeaway" | |||
|              id="takeaway_button_id"> | |||
|              <i class="fa fa-shopping-basket"> </i> | |||
|             <span>Take away</span> | |||
|         </div> | |||
|     </t> | |||
| </templates> | |||
| @ -0,0 +1,37 @@ | |||
| <?xml version="1.0" encoding="UTF-8"?> | |||
| <!--  Extending the order receipt to add the Dine-in or Takeaway label on it. | |||
|   If it is a takeaway and the generate token is enabled, it will add the | |||
|   token to the receipt. --> | |||
| <templates id="template" xml:space="preserve"> | |||
|     <t t-name="OrderReceipt" t-inherit="point_of_sale.OrderReceipt" | |||
|        t-inherit-mode="extension" owl="1"> | |||
|         <xpath expr="//div[hasclass('pos-receipt-contact')]" position="inside"> | |||
|             <t t-if='is_take_way and is_restaurant'> | |||
|                 <div>--------------------------------</div> | |||
|                 <div> | |||
|                     <span style="font-weight:bold;font-size: 13px;"> | |||
|                         Take Away | |||
|                     </span> | |||
|                 </div> | |||
|             </t> | |||
|             <t t-elif="!is_take_way and is_restaurant and takeaway"> | |||
|                 <div>--------------------------------</div> | |||
|                 <div> | |||
|                     <span style="font-weight:bold;font-size: 13px;"> | |||
|                         Dine-In | |||
|                     </span> | |||
|                 </div> | |||
|             </t> | |||
|             <t t-if='is_take_way and token != 0'> | |||
|                 <div>--------------------------------</div> | |||
|                 <div> | |||
|                     <span style="font-weight:bold;font-size: 13px;"> | |||
|                         Token Number: | |||
|                     </span> | |||
|                     <span t-esc='token' | |||
|                           style="font-weight:bold;font-size: 22px;"/> | |||
|                 </div> | |||
|             </t> | |||
|         </xpath> | |||
|     </t> | |||
| </templates> | |||
| @ -0,0 +1,12 @@ | |||
| <?xml version="1.0" encoding="UTF-8" ?> | |||
| <odoo> | |||
| <!--  Adding the js files into assets  --> | |||
|     <template id="assets_backend" inherit_id="web.assets_backend"> | |||
|         <xpath expr="." position="inside"> | |||
|             <script type="text/javascript" src="/pos_takeaway/static/src/js/models.js"/> | |||
|             <script type="text/javascript" src="/pos_takeaway/static/src/js/Screens/ProductScreen/ControlButtons/TakeAway.js"/> | |||
|             <script type="text/javascript" src="/pos_takeaway/static/src/js/Screens/ProductScreen/ProductScreen.js"/> | |||
|             <script type="text/javascript" src="/pos_takeaway/static/src/js/Screens/ReceiptScreen/OrderReceipt.js"/> | |||
|         </xpath> | |||
|     </template> | |||
| </odoo> | |||
| @ -0,0 +1,17 @@ | |||
| <?xml version="1.0" encoding="UTF-8" ?> | |||
| <odoo> | |||
|     <!-- Inherits pos order search view to add Dine-in and Takeaway filters --> | |||
|     <record id="view_pos_order_filter" model="ir.ui.view"> | |||
|         <field name="name">pos.order.view.filter.inherit.pos.takeaway</field> | |||
|         <field name="model">pos.order</field> | |||
|         <field name="inherit_id" ref="point_of_sale.view_pos_order_filter"/> | |||
|         <field name="arch" type="xml"> | |||
|             <search position="inside"> | |||
|                 <filter string="Dine In" name="take_away" | |||
|                         domain="[('is_takeaway','=', False)]"/> | |||
|                 <filter string="Take Away" name="take_away" | |||
|                         domain="[('is_takeaway','!=','')]"/> | |||
|             </search> | |||
|         </field> | |||
|     </record> | |||
| </odoo> | |||
| @ -0,0 +1,49 @@ | |||
| <?xml version="1.0" encoding="UTF-8"?> | |||
| <odoo> | |||
| <!-- Inherits the res config settings form view to add the Takeaway settings --> | |||
|     <record id="res_config_settings_view_form" model="ir.ui.view"> | |||
|         <field name="name">res.config.settings.form.inherit.pos.takeaway</field> | |||
|         <field name="model">res.config.settings</field> | |||
|         <field name="inherit_id" | |||
|                ref="point_of_sale.res_config_settings_view_form"/> | |||
|         <field name="arch" type="xml"> | |||
|             <xpath expr="//div[hasclass('settings')]// | |||
|             div[@data-key='point_of_sale']" | |||
|                    position="inside"> | |||
|                 <div id="other_features_takeaway" data-string="Point of sale" | |||
|                      string="Point of Sale" | |||
|                      data-key="point_of_sale"> | |||
|                     <h2>Other Features</h2> | |||
|                     <div class="row mt16 o_settings_container"> | |||
|                         <div class="col-xs-12 col-md-6 o_setting_box" | |||
|                              id="takeaway"> | |||
|                             <div class="o_setting_left_pane"> | |||
|                                 <field name="takeaway"/> | |||
|                             </div> | |||
|                             <div class="o_setting_right_pane"> | |||
|                                 <label for="takeaway" | |||
|                                        string="POS Takeaways"/> | |||
|                                 <div class="text-muted" id="takeaway"> | |||
|                                     Takeaway/Dine-in on restaurant. | |||
|                                 </div> | |||
|                             </div> | |||
|                         </div> | |||
|                         <div class="col-xs-12 col-md-6 o_setting_box" | |||
|                              attrs="{'invisible' : [('takeaway', '!=', True)]}" | |||
|                              id="generate_token"> | |||
|                             <div class="o_setting_left_pane"> | |||
|                                 <field name="generate_token"/> | |||
|                             </div> | |||
|                             <div class="o_setting_right_pane"> | |||
|                                 <label for="generate_token"/> | |||
|                                 <div class="text-muted"> | |||
|                                     The token number starts from 1. | |||
|                                 </div> | |||
|                             </div> | |||
|                         </div> | |||
|                     </div> | |||
|                 </div> | |||
|             </xpath> | |||
|         </field> | |||
|     </record> | |||
| </odoo> | |||