diff --git a/salon_management/__openerp__.py b/salon_management/__openerp__.py index b6a3fac87..ebc4ee623 100644 --- a/salon_management/__openerp__.py +++ b/salon_management/__openerp__.py @@ -23,7 +23,7 @@ { 'name': 'Beauty Spa Management', 'summary': """Beauty Parlour Management with Online Booking System""", - 'version': '0.1', + 'version': '9.0.1.1.0', 'author': 'Cybrosys Techno Solutions', 'website': "http://www.cybrosys.com", 'company': 'Cybrosys Techno Solutions', @@ -42,8 +42,11 @@ 'views/working_hours.xml', 'security/ir.model.access.csv', ], + 'demo': [ + 'views/booking_demo.xml', + ], 'images': ['static/description/banner.jpg'], 'license': 'AGPL-3', 'installable': True, 'application': True, -} \ No newline at end of file +} diff --git a/salon_management/__openerp__.py~ b/salon_management/__openerp__.py~ new file mode 100644 index 000000000..8160a8ed9 --- /dev/null +++ b/salon_management/__openerp__.py~ @@ -0,0 +1,52 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2009-TODAY Cybrosys Technologies(). +# Author: Avinash Nk() +# you can modify it under the terms of the GNU LESSER +# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# +# It is forbidden to publish, distribute, sublicense, or sell copies +# of the Software or modified copies of the Software. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# +# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE +# GENERAL PUBLIC LICENSE (LGPL v3) along with this program. +# If not, see . +# +############################################################################## +{ + 'name': 'Beauty Spa Management', + 'summary': """Beauty Parlour Management with Online Booking System""", + 'version': '0.1', + 'author': 'Cybrosys Techno Solutions', + 'website': "http://www.cybrosys.com", + 'company': 'Cybrosys Techno Solutions', + "category": "Tools", + 'depends': ['base', 'account', 'mail', 'website'], + 'data': ['views/salon_holiday.xml', + 'views/salon_data.xml', + 'views/salon_management_chair.xml', + 'views/salon_management_services.xml', + 'views/salon_order_view.xml', + 'views/salon_management_dashboard.xml', + 'views/booking_backend.xml', + 'views/salon_bookings.xml', + 'views/salon_email_template.xml', + 'views/salon_config.xml', + 'views/working_hours.xml', + 'security/ir.model.access.csv', + ], + 'demo': [ + 'views/booking_demo.xml', + ], + 'images': ['static/description/banner.jpg'], + 'license': 'AGPL-3', + 'installable': True, + 'application': True, +} \ No newline at end of file diff --git a/salon_management/static/description/index.html~ b/salon_management/static/description/index.html~ deleted file mode 100644 index 7fd47db38..000000000 --- a/salon_management/static/description/index.html~ +++ /dev/null @@ -1,249 +0,0 @@ -
-
-

Beauty Spa Management

-

This Module is for Managing the Process's in a Spa

-

Author : Cybrosys Techno Solutions, www.cybrosys.com

-
-
-

Major Features

-
    -
  • Online Booking Facility
  • -
  • Accounting Facility
  • -
  • Customer Notification Through Mail
  • -
  • User Interactive Dashboard
  • -
  • Customer Can view the Available chairs and order details
  • -
  • Different access levels for Users and Administrator
  • -
  • Track the chair user by date
  • -
-
-
-
- This Spa Management system by Cybrosys Techno Solutions for Online Booking Facility to Enhance Your - Business.Also you can Managing your Accounting Sections through this Module. - Another Facility is, Online Booked Customers get the Notification of Booking information - through Mail. -
-
-
-
- ☛ Installation : When you Install This Module, The supporting modules website, - accounting...are installed -
-
-
-
-
- -
-
-
-

- Go to Salon Menu

-

- Salon Menu Direct you to the Dashboard of the Salon. -

-

- *Note : First it is empty(False) because you have to create Chairs

-

- Dashboard view is shown in the above image.Blue Chair Represents the Normal - Chair and the Rose Chair Represents the Chairs Reserved For Booking. - In the Dashboard, you get the today's collection on that chair.and how much time - it's take the chair free.You can also see the active orders on that chair - and go to that orders by clicking on it.You can change the settings of - chair by clicking the settings button in the dashboard

-
-
-
- -
-
-
-

- Sub Menu : Salon -> Chair

-

- Here you can create and edit each chair details. - You can assign a user to the chair by adding new user to the Users Tab in the - form view of Chair(Check the image shown below).The last added user will be - Turned to the current user of the chair.By this Tab, you can Track which User - is Active on the Chair In a particular Date or Time.

-
-
-
- -
-
-
-
-
-
-
-
- -
-
-
-

- Sub Menu : Salon -> Services

-

- List of services of Spa.You can create and edit Services here. -

-
-
-
-
-
-

- Sub Menu : Salon -> Salon Orders

-
-

- Here you have the all Orders in the Spa. -

-
-
-
- -
-
-
-
-
-
-
-
- -
-
-
-

- Form view of the Salon order is shown in the image. - You can get the corresponding invoice details of the - order by clicking the Invoice button in the upper right - side of the Form view -

-
-
-
- -
-
-
-

- Sub Menu : Salon -> Bookings

-

- Here you can see all the online bookings. You can either approve a booking - or Reject a booking. Both cases the notification is send to the customer mail - address. The approved bookings changed to salon orders. -

-
-
-
- -
-
-
-
- -
-
-
-

- Form View of Booking

-

- Here you can see all the salon orders on the corresponding date. - by checking the availability of the time, you can decide to approve the - booking. -

-
-
-
- -
-
-
-
- - - -
-
-
-

- Sub Menu : Salon -> Settings

-

- Here you can assign the chairs for booking purpose. - Only the assigned chairs can book a customer through - online. -

-
-
-
- -
-
-
-
-
-
-
- ☛ Online Booking Form -
-
-
-
-
- -
-
-
-

- Here the customer can fill the details. and send the form.

-
-
-
-
-
-
- ☛ Online Booking Chair Details -
-
-
-
-
- -
-
-
-

- Here the customer can check the availability of the chair by date.

-
-
-
-
-

You Looking for a free Documentation of this Application.?

-

Give a Request Mail to:    odoo@cybrosys.com

-
- -
-

Need Any Help?

- - -
- - diff --git a/salon_management/static/src/js/salon_booking.js b/salon_management/static/src/js/salon_booking.js index 2bd889bc8..6ee673899 100644 --- a/salon_management/static/src/js/salon_booking.js +++ b/salon_management/static/src/js/salon_booking.js @@ -24,10 +24,17 @@ $(document).on('click',"#submit_button",function() { $(document).on('click',"#check_button",function() { var check_date = $( "#check_date" ).val(); + if (check_date != "") + { var salon_check_date = ajax.jsonRpc("/page/salon_check_date", 'call', {'check_date':check_date }) .then(function(date_info){ window.location= "/page/salon_management.salon_booking_form?x=" + date_info }) + } + else + { + alert("Fill the Field") + } }); }); diff --git a/salon_management/views/booking_demo.xml b/salon_management/views/booking_demo.xml new file mode 100644 index 000000000..6925806ff --- /dev/null +++ b/salon_management/views/booking_demo.xml @@ -0,0 +1,12 @@ + + + + + Bookings + /page/salon_management.salon_booking_form + + 80 + + + + \ No newline at end of file diff --git a/salon_management/views/salon_bookings.xml b/salon_management/views/salon_bookings.xml index 54117ac56..f1fe33aab 100644 --- a/salon_management/views/salon_bookings.xml +++ b/salon_management/views/salon_bookings.xml @@ -4,9 +4,9 @@ Bookings /page/salon_management.salon_booking_form - + 80 - +