Browse Source

Mar 1 : [ADD] Initial Commit 'adult_daycare_center'

pull/243/head
AjmalCybro 2 years ago
parent
commit
ef2ea71165
  1. 37
      adult_daycare_center/README.rst
  2. 23
      adult_daycare_center/__init__.py
  3. 52
      adult_daycare_center/__manifest__.py
  4. 22
      adult_daycare_center/controllers/__init__.py
  5. 99
      adult_daycare_center/controllers/main.py
  6. 9
      adult_daycare_center/data/website_data.xml
  7. 7
      adult_daycare_center/doc/RELEASE_NOTES.md
  8. 26
      adult_daycare_center/models/__init__.py
  9. 28
      adult_daycare_center/models/activity_type.py
  10. 141
      adult_daycare_center/models/crm_lead.py
  11. 36
      adult_daycare_center/models/daycare_activities.py
  12. 27
      adult_daycare_center/models/product_template.py
  13. 117
      adult_daycare_center/models/res_partner.py
  14. 47
      adult_daycare_center/models/sale_order.py
  15. 181
      adult_daycare_center/reports/crm_lead_report.xml
  16. 265
      adult_daycare_center/reports/res_partner_report.xml
  17. 13
      adult_daycare_center/reports/sale_template_inherit.xml
  18. 4
      adult_daycare_center/security/ir.model.access.csv
  19. BIN
      adult_daycare_center/static/description/assets/icons/check.png
  20. BIN
      adult_daycare_center/static/description/assets/icons/chevron.png
  21. BIN
      adult_daycare_center/static/description/assets/icons/cogs.png
  22. BIN
      adult_daycare_center/static/description/assets/icons/consultation.png
  23. BIN
      adult_daycare_center/static/description/assets/icons/ecom-black.png
  24. BIN
      adult_daycare_center/static/description/assets/icons/education-black.png
  25. BIN
      adult_daycare_center/static/description/assets/icons/hotel-black.png
  26. BIN
      adult_daycare_center/static/description/assets/icons/license.png
  27. BIN
      adult_daycare_center/static/description/assets/icons/lifebuoy.png
  28. BIN
      adult_daycare_center/static/description/assets/icons/manufacturing-black.png
  29. BIN
      adult_daycare_center/static/description/assets/icons/pos-black.png
  30. BIN
      adult_daycare_center/static/description/assets/icons/puzzle.png
  31. BIN
      adult_daycare_center/static/description/assets/icons/restaurant-black.png
  32. BIN
      adult_daycare_center/static/description/assets/icons/service-black.png
  33. BIN
      adult_daycare_center/static/description/assets/icons/trading-black.png
  34. BIN
      adult_daycare_center/static/description/assets/icons/training.png
  35. BIN
      adult_daycare_center/static/description/assets/icons/update.png
  36. BIN
      adult_daycare_center/static/description/assets/icons/user.png
  37. BIN
      adult_daycare_center/static/description/assets/icons/wrench.png
  38. BIN
      adult_daycare_center/static/description/assets/misc/categories.png
  39. BIN
      adult_daycare_center/static/description/assets/misc/check.png
  40. BIN
      adult_daycare_center/static/description/assets/misc/compass.png
  41. BIN
      adult_daycare_center/static/description/assets/misc/corporate.png
  42. BIN
      adult_daycare_center/static/description/assets/misc/customer-support.png
  43. BIN
      adult_daycare_center/static/description/assets/misc/cybrosys-logo.png
  44. BIN
      adult_daycare_center/static/description/assets/misc/logo.png
  45. BIN
      adult_daycare_center/static/description/assets/misc/pictures.png
  46. BIN
      adult_daycare_center/static/description/assets/misc/pie-chart.png
  47. BIN
      adult_daycare_center/static/description/assets/misc/right-arrow.png
  48. BIN
      adult_daycare_center/static/description/assets/misc/star.png
  49. BIN
      adult_daycare_center/static/description/assets/misc/support.png
  50. BIN
      adult_daycare_center/static/description/assets/misc/whatsapp.png
  51. BIN
      adult_daycare_center/static/description/assets/modules/approval_image.png
  52. BIN
      adult_daycare_center/static/description/assets/modules/budget_image.png
  53. BIN
      adult_daycare_center/static/description/assets/modules/gantt_image.png
  54. BIN
      adult_daycare_center/static/description/assets/modules/library_image.png
  55. BIN
      adult_daycare_center/static/description/assets/modules/pos_order_image.png
  56. BIN
      adult_daycare_center/static/description/assets/modules/whatsapp_image.gif
  57. BIN
      adult_daycare_center/static/description/assets/screenshots/1.png
  58. BIN
      adult_daycare_center/static/description/assets/screenshots/10.png
  59. BIN
      adult_daycare_center/static/description/assets/screenshots/11.png
  60. BIN
      adult_daycare_center/static/description/assets/screenshots/12.png
  61. BIN
      adult_daycare_center/static/description/assets/screenshots/13.png
  62. BIN
      adult_daycare_center/static/description/assets/screenshots/14.png
  63. BIN
      adult_daycare_center/static/description/assets/screenshots/15.png
  64. BIN
      adult_daycare_center/static/description/assets/screenshots/16.png
  65. BIN
      adult_daycare_center/static/description/assets/screenshots/17.png
  66. BIN
      adult_daycare_center/static/description/assets/screenshots/18.png
  67. BIN
      adult_daycare_center/static/description/assets/screenshots/19.png
  68. BIN
      adult_daycare_center/static/description/assets/screenshots/2.png
  69. BIN
      adult_daycare_center/static/description/assets/screenshots/20.png
  70. BIN
      adult_daycare_center/static/description/assets/screenshots/21.png
  71. BIN
      adult_daycare_center/static/description/assets/screenshots/22.png
  72. BIN
      adult_daycare_center/static/description/assets/screenshots/23.png
  73. BIN
      adult_daycare_center/static/description/assets/screenshots/24.png
  74. BIN
      adult_daycare_center/static/description/assets/screenshots/25.png
  75. BIN
      adult_daycare_center/static/description/assets/screenshots/26.png
  76. BIN
      adult_daycare_center/static/description/assets/screenshots/27.png
  77. BIN
      adult_daycare_center/static/description/assets/screenshots/28.png
  78. BIN
      adult_daycare_center/static/description/assets/screenshots/29.png
  79. BIN
      adult_daycare_center/static/description/assets/screenshots/3.png
  80. BIN
      adult_daycare_center/static/description/assets/screenshots/30.png
  81. BIN
      adult_daycare_center/static/description/assets/screenshots/31.png
  82. BIN
      adult_daycare_center/static/description/assets/screenshots/32.png
  83. BIN
      adult_daycare_center/static/description/assets/screenshots/33.png
  84. BIN
      adult_daycare_center/static/description/assets/screenshots/34.png
  85. BIN
      adult_daycare_center/static/description/assets/screenshots/4.png
  86. BIN
      adult_daycare_center/static/description/assets/screenshots/5.png
  87. BIN
      adult_daycare_center/static/description/assets/screenshots/6.png
  88. BIN
      adult_daycare_center/static/description/assets/screenshots/7.png
  89. BIN
      adult_daycare_center/static/description/assets/screenshots/8.png
  90. BIN
      adult_daycare_center/static/description/assets/screenshots/9.png
  91. BIN
      adult_daycare_center/static/description/assets/screenshots/v16-hero.gif
  92. BIN
      adult_daycare_center/static/description/banner.png
  93. BIN
      adult_daycare_center/static/description/icon.png
  94. 695
      adult_daycare_center/static/description/index.html
  95. 25
      adult_daycare_center/views/activity_type_views.xml
  96. 578
      adult_daycare_center/views/assessment_request_template.xml
  97. 128
      adult_daycare_center/views/crm_lead_views.xml
  98. 25
      adult_daycare_center/views/daycare_activities_views.xml
  99. 50
      adult_daycare_center/views/menu_views.xml
  100. 38
      adult_daycare_center/views/product_template_views.xml

37
adult_daycare_center/README.rst

@ -0,0 +1,37 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl.html
:alt: License: AGPL-3
Adult Day Care Center
======================
This module allow to manage Adult day care center.
Company
-------
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__
Credits
-------
Developer: Javid A @cybrosys, 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>`__

23
adult_daycare_center/__init__.py

@ -0,0 +1,23 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<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
from . import controllers

52
adult_daycare_center/__manifest__.py

@ -0,0 +1,52 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<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': "Adult Day Care Center",
'version': '16.0.1.0.0',
'category': 'Tools',
'summary': """ Adult Day Care Center For Senior Citizens """,
'description': """ Adult Day Care Center For Senior Citizens""",
'author': "Cybrosys Techno Solutions",
'website': "https://www.cybrosys.com",
'company': 'Cybrosys Techno Solutions',
'maintainer': 'Cybrosys Techno Solutions',
'images': ['static/description/banner.png'],
'depends': ['crm', 'project', 'sale_management', 'website', 'account', 'hr'],
'data': [
'security/ir.model.access.csv',
'data/website_data.xml',
'views/res_partners_views.xml',
'views/crm_lead_views.xml',
'views/product_template_views.xml',
'views/assessment_request_template.xml',
'views/activity_type_views.xml',
'views/daycare_activities_views.xml',
'views/sale_order_views.xml',
'views/menu_views.xml',
'reports/res_partner_report.xml',
'reports/crm_lead_report.xml',
'reports/sale_template_inherit.xml',
],
'license': 'AGPL-3',
'installable': True,
'auto_install': False,
'application': False,
}

22
adult_daycare_center/controllers/__init__.py

@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Javid A(<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 main

99
adult_daycare_center/controllers/main.py

@ -0,0 +1,99 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<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 odoo import http
from odoo.http import request
class RoomBooking(http.Controller):
@http.route(['/assessment_request'], type='http', auth="public", website=True)
def assessment_request(self, **kw):
"""
Redirects to Assessment Request Form
"""
partners = request.env['res.partner'].sudo().search([])
rooms = request.env['crm.lead'].sudo().search([])
values = {
'guests': partners,
'rooms': rooms
}
return request.render("adult_daycare_center.assessment_request_form", values)
@http.route(['/assessment_request/submit'], type='http', auth="public", website=True, csrf=False)
def assessment_request_submit(self, **kw):
"""
Assessment Request Submitted and a lead created
"""
lead = request.env['crm.lead'].sudo().create({
'type': 'lead',
'name': kw.get('subject'),
'contact_name': kw.get('applicant_name'),
'birth_date': kw.get('birth_date'),
'gender': kw.get('gender'),
'street': kw.get('street'),
'city': kw.get('city'),
'marital_status': kw.get('marital_status'),
'present_living': kw.get('living_arrangement'),
'medicaid': kw.get('medicaid'),
'medicare': kw.get('medicare'),
'supplemental_income': kw.get('sup_sec_income'),
'interest_program': kw.get('why_interest'),
'previous_experience': kw.get('experience'),
'where_when': kw.get('where_when'),
'living_with_whom': kw.get('living_with_whom'),
'relationship_responsible_relative': kw.get('relation_with_living'),
'nearest_relative': kw.get('nearest_relative'),
'nearest_relative_relation': kw.get('nearest_relative_relation'),
'employed_at': kw.get('employed_where'),
'business_phone': kw.get('business_phone'),
'emergency_name': kw.get('emergency_contact_1'),
'applicant_relationship': kw.get('applicant_relation_1'),
'emergency_address': kw.get('emergency_address_1'),
'emergency_phone': kw.get('emergency_phone_1'),
'emergency_name_1': kw.get('emergency_contact_2'),
'applicant_relationship_2': kw.get('applicant_relation_2'),
'emergency_address_1': kw.get('emergency_address_2'),
'emergency_phone_1': kw.get('emergency_phone_2'),
'physician_name': kw.get('physician_name'),
'physician_address': kw.get('physician_address'),
'physician_phone': kw.get('physician_phone'),
'physician_last_visit': kw.get('physician_last_visit'),
'dentist_name': kw.get('dentist_name'),
'dentist_address': kw.get('dentist_address'),
'dentist_phone': kw.get('dentist_phone'),
'dentist_last_visit': kw.get('dentist_last_visit'),
'transportation': kw.get('transport_provider'),
'arrival_time': kw.get('arrive_time'),
'departure_time': kw.get('departure_time'),
'special_diet': kw.get('diet'),
'diet_detail': kw.get('diet_detail'),
'allergies': kw.get('allergies'),
'request_assurance': kw.get('request_assurance'),
'paid_by': kw.get('paid_by'),
'paid_by_name': kw.get('paid_by_name'),
'paid_by_phone': kw.get('paid_by_phone'),
'your_email': kw.get('email'),
'email_from': kw.get('email'),
'hospital_name': kw.get('hospital_choice'),
})
vals = {
'lead': lead,
}
return request.render("adult_daycare_center.assessment_request_submit_template", vals)

9
adult_daycare_center/data/website_data.xml

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="menu_assessment_request" model="website.menu">
<field name="name">Self Assessment Request</field>
<field name="url">/assessment_request</field>
<field name="parent_id" ref="website.main_menu" />
<field name="sequence" type="int">22</field>
</record>
</odoo>

7
adult_daycare_center/doc/RELEASE_NOTES.md

@ -0,0 +1,7 @@
## Module <adult_daycare_center>
#### 14.02.2023
#### Version 16.0.1.0.0
#### ADD
- Initial commit for Adult Day Care Center For Senior Citizens

26
adult_daycare_center/models/__init__.py

@ -0,0 +1,26 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<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 res_partner
from . import crm_lead
from . import product_template
from . import activity_type
from . import daycare_activities
from . import sale_order

28
adult_daycare_center/models/activity_type.py

@ -0,0 +1,28 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<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 odoo import models, fields
class ActivityTypes(models.Model):
_name = 'activity.type'
_description = 'Activity Types'
name = fields.Char(string='Name')

141
adult_daycare_center/models/crm_lead.py

@ -0,0 +1,141 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<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 odoo import models, fields
class DaycareRequests(models.Model):
_inherit = 'crm.lead'
birth_date = fields.Date(string='Birthdate')
gender = fields.Selection([('male', 'Male'), ('female', 'Female')], string='Gender')
medicaid = fields.Integer(string='Medicaid')
medicare = fields.Integer(string='Medicare')
supplemental_income = fields.Float(string='Supplemental Security Income')
interest_program = fields.Char(string='Interest In Program')
previous_experience = fields.Selection([('yes', 'Yes'), ('no', 'No')],
string='Previous Experience')
where_when = fields.Char(string='Where and When')
marital_status = fields.Selection([('single', 'Single'), ('married', 'Married'),
('separated', 'Separated'), ('widowed', 'Widowed'),
('divorced', 'Divorced')])
present_living = fields.Selection([('with_relative', 'With Relative'),
('non_relative', 'With Non-Relative'),
('home_alone', 'Alone(Home/Apartment)'),
('alone_single', 'Alone(Single Room)')],
string='Present Living Arrangement')
living_with_whom = fields.Char(string='Living With Whom')
living_with = fields.Char(string='Living With')
relationship_responsible_relative = fields.Char(
string='Relationship Responsible Relative')
nearest_relative = fields.Char(string='Nearest Relative')
nearest_relative_relation = fields.Char(string='Nearest Relative Relation')
business_phone = fields.Char(string='Business Phone')
emergency_name = fields.Char(string='Emergency Name')
applicant_relationship = fields.Char(string='Applicant Relationship')
emergency_address = fields.Text(string='Emergency Address')
emergency_phone = fields.Char(string='Emergency Phone')
emergency_name_1 = fields.Char(string='Emergency Name#1')
applicant_relationship_2 = fields.Char(string='Applicant Relationship#2')
emergency_address_1 = fields.Text(string='Emergency Address#1')
emergency_phone_1 = fields.Char(string='Emergency Phone#1')
physician_name = fields.Char(string='Physician Name')
physician_address = fields.Text(string='Physician Address')
physician_phone = fields.Char(string='Physician Phone')
physician_last_visit = fields.Date(string='Physician Last Visit')
dentist_name = fields.Char(string='Dentist Name')
dentist_address = fields.Text(string='Dentist Address')
dentist_phone = fields.Char(string='Dentist Phone')
dentist_last_visit = fields.Date(string='Dentist Last Visit')
transportation = fields.Selection([('relative_friend', 'Relative or Friend'),
('public_transport', 'Public Transportation'),
('blessed_assurance', 'Blessed Assurance')],
string='Transportation')
arrival_time = fields.Float(string='Arrival TIme')
departure_time = fields.Float(string='Departure Time')
special_diet = fields.Selection([('yes', 'Yes'), ('no', 'No')], string='Special Diet')
responsible = fields.Char(string='Responsible')
paid_by = fields.Selection([('myself', 'Myself'), ('relative', 'Relative'),
('another_party', 'Another Party')], string='Paid By')
paid_by_name = fields.Char(string='Payer Name')
paid_by_phone = fields.Char(string='Payer Phone')
your_email = fields.Char(string='Your Email')
hospital_name = fields.Char(string='Hospital Name')
today_date = fields.Date(string='Today Date', default=fields.Date.today)
diet_detail = fields.Char(string='Diet Detail')
allergies = fields.Char(string='List of Allergies')
time_request = fields.Char(string='Time Request')
employed_at = fields.Char(string='Employed At')
request_assurance = fields.Char(string='Blessed Assurance')
def action_updt_adult_info(self):
"""
This function Updates the daycare data inside res.partner with the
corresponding data in the crm.lead model
"""
adult_person = self.env['res.partner'].browse(self.partner_id.id)
adult_person.update({
'is_customer': True,
'is_adult_member': True,
'medicare_no': self.medicare,
'medicaid_no': self.medicaid,
'birth_date': self.birth_date,
'marital_status': self.marital_status,
'physician_id': self.physician_name,
'physician_address': self.physician_address,
'physician_phone': self.physician_phone,
'dentist_id': self.dentist_name,
'dentist_address': self.dentist_address,
'dentist_phone': self.dentist_phone,
'dentist_last_visit': self.dentist_last_visit,
'transportation': self.transportation,
'arrival_time': self.arrival_time,
'departure_time': self.departure_time,
'special_diet': self.special_diet,
'diet_detail': self.diet_detail,
'allergies': self.allergies,
'time_request': self.time_request,
'emergency_name': self.emergency_name,
'applicant_relationship': self.applicant_relationship,
'emergency_address': self.emergency_address,
'emergency_phone': self.emergency_phone,
'emergency_name_1': self.emergency_name_1,
'applicant_relationship_2': self.applicant_relationship_2,
'emergency_address_1': self.emergency_address_1,
'emergency_phone_1': self.emergency_phone_1,
'responsible': self.responsible,
'paid_by': self.paid_by,
'paid_by_name': self.paid_by_name,
'paid_by_phone': self.paid_by_phone,
'your_email': self.your_email,
'hospital_name': self.hospital_name,
'today_date': self.today_date,
'interest_program': self.interest_program,
'previous_experience': self.previous_experience,
'where_when': self.where_when,
'present_living': self.present_living,
'living_with_whom': self.living_with_whom,
'living_with': self.living_with,
'relationship_responsible_relative': self.relationship_responsible_relative,
'nearest_relative': self.nearest_relative,
'nearest_relative_relation': self.nearest_relative_relation,
'business_phone': self.business_phone,
'employed_at': self.employed_at,
})

36
adult_daycare_center/models/daycare_activities.py

@ -0,0 +1,36 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<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 odoo import models, fields
class DaycareActivitiesView(models.Model):
_name = 'daycare.activities'
_description = 'Day Care Activities'
name = fields.Many2one('activity.type', string='Name', required=True)
product_id = fields.Many2one('product.template', string='Product', required=True,
domain=[('is_adult_activity', '=', True)])
notes = fields.Char(string='Notes')
time_in = fields.Float(string='Time In')
time_out = fields.Float(string='Time Out')
responsible = fields.Many2one('res.users', string='Responsible By')
res_partner_id = fields.Many2one('res.partner')

27
adult_daycare_center/models/product_template.py

@ -0,0 +1,27 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<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 odoo import models, fields
class DaycareActivityTypes(models.Model):
_inherit = 'product.template'
is_adult_activity = fields.Boolean(string='Is Adult Activity?')

117
adult_daycare_center/models/res_partner.py

@ -0,0 +1,117 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<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 odoo import models, fields, api
class AdultMembers(models.Model):
_inherit = 'res.partner'
is_customer = fields.Boolean(string='Is A Customer',
help='If user is a customer, enable this option')
is_adult_member = fields.Boolean(string='Is Adult Member?',
help='If user is a adult member, enable this option')
social_security_no = fields.Integer(string='Social Security Number')
medicare_no = fields.Integer(string='Medicare Number')
medicaid_no = fields.Integer(string='Medicaid Number')
birth_date = fields.Date(string='Birth Date')
age = fields.Integer(string='Age')
referred_by_id = fields.Many2one('res.partner', string='Referred By')
marital_status = fields.Selection([('single', 'Single'), ('married', 'Married'),
('separated', 'Separated'), ('widowed', 'Widowed'),
('divorced', 'Divorced')])
place_birth = fields.Char(string='Place Of Birth')
responsible_id = fields.Many2one('hr.employee', string='Responsible Party/Guardian')
responsible_address = fields.Text(string='Address')
responsible_telephone = fields.Char(string='Telephone',)
care_provider_id = fields.Many2one('hr.employee', string='Primary Care Provider')
care_provider_address = fields.Text(string='Address')
care_provider_telephone = fields.Text(string='Telephone',)
physician_id = fields.Char(string='Physician')
physician_address = fields.Text(string='Address')
physician_phone = fields.Char(string='Phone')
travel_by = fields.Selection([('car', 'Car'), ('bus', 'Bus')])
travel_assistance = fields.Boolean(string='Is Need Travel Assistance')
present_medical = fields.Char(string='Present Diagnoses/Medical Problems')
other_disability = fields.Char(string='Other Disability')
weight = fields.Float(string='Weight')
height = fields.Float(string='Height')
dentist_id = fields.Char(string='Dentist Name')
dentist_address = fields.Text(string='Address')
dentist_phone = fields.Char(string='Phone')
dentist_last_visit = fields.Date(string='Dentist Last Visit')
daycare_activities_ids = fields.One2many('daycare.activities', 'res_partner_id')
transportation = fields.Selection([('relative_friend', 'Relative or Friend'),
('public_transport', 'Public Transportation'),
('blessed_assurance', 'Blessed Assurance')],
string='Transportation')
arrival_time = fields.Float(string='Arrival TIme')
departure_time = fields.Float(string='Departure Time')
special_diet = fields.Selection([('yes', 'Yes'), ('no', 'No')], string='Special Diet')
diet_detail = fields.Char(string='Diet Detail')
allergies = fields.Char(string='List of Allergies')
time_request = fields.Char(string='Time Request')
emergency_name = fields.Char(string='Emergency Name')
applicant_relationship = fields.Char(string='Applicant Relationship')
emergency_address = fields.Text(string='Emergency Address')
emergency_phone = fields.Char(string='Emergency Phone')
emergency_name_1 = fields.Char(string='Emergency Name#1')
applicant_relationship_2 = fields.Char(string='Applicant Relationship#2')
emergency_address_1 = fields.Text(string='Emergency Address#1')
emergency_phone_1 = fields.Char(string='Emergency Phone#1')
responsible = fields.Char(string='Responsible')
paid_by = fields.Selection([('myself', 'Myself'), ('relative', 'Relative'),
('another_party', 'Another Party')], string='Paid By')
paid_by_name = fields.Char(string='Payer Name')
paid_by_phone = fields.Char(string='Payer Phone')
your_email = fields.Char(string='Your Email')
hospital_name = fields.Char(string='Hospital Name')
today_date = fields.Date(string='Today Date')
interest_program = fields.Char(string='Interest In Program')
previous_experience = fields.Selection([('yes', 'Yes'), ('no', 'No')],
string='Previous Experience')
where_when = fields.Char(string='Where and When')
present_living = fields.Selection([('with_relative', 'With Relative'),
('non_relative', 'With Non-Relative'),
('home_alone', 'Alone(Home/Apartment)'),
('alone_single', 'Alone(Single Room)')],
string='Present Living Arrangement')
living_with_whom = fields.Char(string='Living With Whom')
living_with = fields.Char(string='Living With')
relationship_responsible_relative = fields.Char(
string='Relationship Responsible Relative')
nearest_relative = fields.Char(string='Nearest Relative')
nearest_relative_relation = fields.Char(string='Nearest Relative Relation')
business_phone = fields.Char(string='Business Phone')
employed_at = fields.Char(string='Employed At')
@api.onchange('is_adult_member')
def _onchange_is_adult_member(self):
"""
When is_adult_member is True, is_customer becomes True and if
is_adult_member is False then, is_customer becomes False
"""
if self.is_adult_member:
self.is_customer = True
else:
self.is_customer = False

47
adult_daycare_center/models/sale_order.py

@ -0,0 +1,47 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<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 odoo import models, fields, api
class DayCareSales(models.Model):
_inherit = 'sale.order'
adult_person_id = fields.Many2one('res.partner', string='Adult Person',
domain="[('is_adult_member', '=', True)]")
@api.onchange('adult_person_id')
def _onchange_adult_person_id(self):
"""
When adult_person_id is chosen corresponding activities loads
to the order lines
"""
product = []
for rec in self.adult_person_id.daycare_activities_ids:
product_id = self.env['product.product'].search([
('product_tmpl_id', '=', rec.product_id.id)])
product.append(product_id.id)
self.write({'order_line': [(5, 0)]})
self.update({
'order_line': [(0, 0, {
'product_id': rec,
'product_uom_qty': 1,
}) for rec in product],
})

181
adult_daycare_center/reports/crm_lead_report.xml

@ -0,0 +1,181 @@
<?xml version="1.0"?>
<odoo>
<record id="action_report_crm_lead" model="ir.actions.report">
<field name="name">Adult Care Details</field>
<field name="model">crm.lead</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">adult_daycare_center.adult_care_crm_lead_report</field>
<field name="report_file">adult_daycare_center.adult_care_crm_lead_report</field>
<field name="binding_model_id" ref="model_crm_lead"/>
<field name="binding_type">report</field>
</record>
<template id="adult_care_crm_lead_report">
<t t-call="web.html_container">
<t t-call="web.external_layout">
<div class="page">
<t t-foreach="docs" t-as="data">
<center><span style="font-size:25px;"><strong><t t-esc="data['name']"/> - <t t-esc="data['partner_id'].name"/></strong></span></center>
<br/>
<span><strong style="font-size:25px;">Personal Information</strong>
<table class="table table-borderless">
<tr>
<td><strong>Birthdate</strong></td>
<td><t t-esc="data['birth_date']"/></td>
<td><strong>Gender</strong></td>
<td><t t-esc="data['gender']"/></td>
</tr>
<tr>
<td><strong>Address</strong></td>
<td><t t-esc="data['street']"/>, <t t-esc="data['city']"/></td>
<td><strong>Medicaid</strong></td>
<td><t t-esc="data['medicaid']"/></td>
</tr>
<tr>
<td><strong>Medicare</strong></td>
<td><t t-esc="data['medicare']"/></td>
<td><strong>Marital Status</strong></td>
<td><t t-esc="data['marital_status']"/></td>
</tr>
<tr>
<td><strong>Supplemental Income</strong></td>
<td><t t-esc="data['supplemental_income']"/></td>
<td><strong>Interest in Program</strong></td>
<td><t t-esc="data['interest_program']"/></td>
</tr>
<tr>
<td><strong>Previous Experience</strong></td>
<td><t t-esc="data['previous_experience']"/></td>
<td><strong>Where and When</strong></td>
<td><t t-esc="data['where_when']"/></td>
</tr>
</table>
<br/>
</span>
<span><strong style="font-size:25px;">Relative and Emergency Detail</strong>
<table class="table table-borderless">
<tr>
<td><strong>Present Living Arrangement</strong></td>
<td><t t-esc="data['present_living']"/></td>
<td><strong>Emergency Name</strong></td>
<td><t t-esc="data['emergency_name']"/></td>
</tr>
<tr>
<td><strong>Living with whom</strong></td>
<td><t t-esc="data['living_with_whom']"/>, <t t-esc="data['city']"/></td>
<td><strong>Applicant Relationship</strong></td>
<td><t t-esc="data['applicant_relationship']"/></td>
</tr>
<tr>
<td><strong>Living with Relationship</strong></td>
<td><t t-esc="data['living_with']"/></td>
<td><strong>Address Emergency</strong></td>
<td><t t-esc="data['emergency_address']"/></td>
</tr>
<tr>
<td><strong>Responsible Relative</strong></td>
<td><t t-esc="data['relationship_responsible_relative']"/></td>
<td><strong>Phone Emergency</strong></td>
<td><t t-esc="data['emergency_phone']"/></td>
</tr>
<tr>
<td><strong>Nearest Relative</strong></td>
<td><t t-esc="data['nearest_relative']"/></td>
<td><strong>Emergency Name</strong></td>
<td><t t-esc="data['emergency_name_1']"/></td>
</tr>
<tr>
<td><strong>Relationship with Relative</strong></td>
<td><t t-esc="data['nearest_relative_relation']"/></td>
<td><strong>Applicant Relationship #1</strong></td>
<td><t t-esc="data['applicant_relationship_2']"/></td>
</tr>
</table>
<br/>
</span>
<span><strong style="font-size:25px;">Medical and Transportation Detail</strong>
<table class="table table-borderless">
<tr>
<td><strong>Physician Name</strong></td>
<td><t t-esc="data['physician_name']"/></td>
<td><strong>Transportation</strong></td>
<td><t t-esc="data['transportation']"/></td>
</tr>
<tr>
<td><strong>Physician Address</strong></td>
<td><t t-esc="data['physician_address']"/>, <t t-esc="data['city']"/></td>
<td><strong>Arrival Time</strong></td>
<td><t t-esc="data['arrival_time']"/></td>
</tr>
<tr>
<td><strong>Phone</strong></td>
<td><t t-esc="data['physician_phone']"/></td>
<td><strong>Departure Time</strong></td>
<td><t t-esc="data['departure_time']"/></td>
</tr>
<tr>
<td><strong>Physician Last Vist</strong></td>
<td><t t-esc="data['physician_last_visit']"/></td>
<td><strong>Special Diet</strong></td>
<td><t t-esc="data['special_diet']"/></td>
</tr>
<tr>
<td><strong>Dentist Name</strong></td>
<td><t t-esc="data['dentist_name']"/></td>
<td><strong>Transportation</strong></td>
<td><t t-esc="data['transportation']"/></td>
</tr>
<tr>
<td><strong>Dentist Address</strong></td>
<td><t t-esc="data['dentist_address']"/></td>
<td><strong>Responsible</strong></td>
<td><t t-esc="data['responsible']"/></td>
</tr>
<tr>
<td><strong>Dentist Phone</strong></td>
<td><t t-esc="data['dentist_phone']"/></td>
<td><strong>Phone Pay</strong></td>
<td><t t-esc="data['paid_by_name']"/></td>
</tr>
<tr>
<td><strong>Date of Dentist</strong></td>
<td><t t-esc="data['dentist_last_visit']"/></td>
<td><strong>Your Email</strong></td>
<td><t t-esc="data['your_email']"/></td>
</tr>
<tr>
<td><strong>Hospital Name</strong></td>
<td><t t-esc="data['hospital_name']"/></td>
<td><strong>Today date</strong></td>
<td><t t-esc="data['today_date']"/></td>
</tr>
</table>
<br/>
</span>
<span><strong style="font-size:25px;">Other Information</strong>
<table class="table table-borderless">
<tr>
<td colspan="2"><strong>Diet Detail</strong></td>
<td colspan="2"><t t-esc="data['diet_detail']"/></td>
</tr>
<tr>
<td colspan="2"><strong>List of Allergies</strong></td>
<td colspan="2"><t t-esc="data['allergies']"/></td>
</tr>
<tr>
<td colspan="2"><strong>Time Request</strong></td>
<td colspan="2"><t t-esc="data['time_request']"/></td>
</tr>
</table>
</span>
</t>
</div>
</t>
</t>
</template>
</odoo>

265
adult_daycare_center/reports/res_partner_report.xml

@ -0,0 +1,265 @@
<?xml version="1.0"?>
<odoo>
<record id="action_report_adult_details" model="ir.actions.report">
<field name="name">Adult Care Details</field>
<field name="model">res.partner</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">adult_daycare_center.adult_care_details_report</field>
<field name="report_file">adult_daycare_center.adult_care_details_report</field>
<field name="binding_model_id" ref="model_res_partner"/>
<field name="binding_type">report</field>
</record>
<template id="adult_care_details_report">
<t t-call="web.html_container">
<t t-call="web.external_layout">
<div class="page">
<t t-foreach="docs" t-as="data">
<center><span style="font-size:25px;"><strong>Member : <t t-esc="data['name']"/></strong></span></center>
<br/>
<span><strong style="font-size:25px;">Application Information</strong>
<table class="table table-borderless">
<tr>
<td><strong>Social Security Number</strong></td>
<td><t t-esc="data['social_security_no']"/></td>
<td><strong>Referred By</strong></td>
<td><t t-esc="data['referred_by_id'].name"/></td>
</tr>
<tr>
<td><strong>Medicare Number</strong></td>
<td><t t-esc="data['medicare_no']"/></td>
<td><strong>Marital Status</strong></td>
<td><t t-esc="data['marital_status']"/></td>
</tr>
<tr>
<td><strong>Medicaid Number</strong></td>
<td><t t-esc="data['medicaid_no']"/></td>
<td><strong>Place of Birth</strong></td>
<td><t t-esc="data['place_birth']"/></td>
</tr>
<tr>
<td><strong>Birth Date</strong></td>
<td><t t-esc="data['birth_date']"/></td>
<td><strong>Age</strong></td>
<td><t t-esc="data['age']"/></td>
</tr>
<tr>
<td><strong>Responsible Party/Guardian</strong></td>
<td><t t-esc="data['responsible_id'].name"/></td>
<td><strong>Primary Care</strong></td>
<td><t t-esc="data['care_provider_id'].name"/></td>
</tr>
<tr>
<td><strong>Responsible Address</strong></td>
<td><t t-esc="data['responsible_address']"/></td>
<td><strong>Primary Care Address</strong></td>
<td><t t-esc="data['care_provider_address']"/></td>
</tr>
<tr>
<td><strong>Responsible Telephone</strong></td>
<td><t t-esc="data['responsible_telephone']"/></td>
<td><strong>Primary Care Telephone</strong></td>
<td><t t-esc="data['care_provider_telephone']"/></td>
</tr>
<tr>
<td><strong>Present Living Arrangements</strong></td>
<td><t t-esc="data['present_living']"/></td>
<td><strong>Living with whom</strong></td>
<td><t t-esc="data['living_with_whom']"/></td>
</tr>
<tr>
<td><strong>Relationship with whom their living</strong></td>
<td><t t-esc="data['living_with']"/></td>
<td><strong>Nearest Responsible Relative</strong></td>
<td><t t-esc="data['nearest_relative']"/></td>
</tr>
<tr>
<td><strong>If Employed, where</strong></td>
<td><t t-esc="data['employed_at']"/></td>
<td><strong>Business Phone</strong></td>
<td><t t-esc="data['business_phone']"/></td>
</tr>
<tr>
<td colspan="2"><strong>Why interested in joining the program?</strong></td>
<td colspan="2"><t t-esc="data['interest_program']"/></td>
</tr>
<tr>
<td colspan="2"><strong>Have you had previous experience in an Adult Daycare Program?</strong></td>
<td colspan="2"><t t-esc="data['previous_experience']"/></td>
</tr>
<tr>
<td colspan="2"><strong>If yes, Where and When?</strong></td>
<td colspan="2"><t t-esc="data['where_when']"/></td>
</tr>
</table>
<br/>
</span>
<span><strong style="font-size:25px;">Medical Details</strong>
<table class="table table-borderless">
<tr>
<td><strong>Physician</strong></td>
<td><t t-esc="data['physician_id']"/></td>
<td><strong>Travel By</strong></td>
<td><t t-esc="data['travel_by']"/></td>
</tr>
<tr>
<td><strong>Address</strong></td>
<td><t t-esc="data['physician_address']"/></td>
<td><strong>Is Need Travel Assistance</strong></td>
<td><t t-esc="data['travel_assistance']"/></td>
</tr>
<tr>
<td><strong>Phone</strong></td>
<td><t t-esc="data['physician_phone']"/></td>
<td/>
<td/>
</tr>
<tr>
<td><strong>Present Diagnoses/Medical Problems</strong></td>
<td><t t-esc="data['present_medical']"/></td>
<td><strong>Other Disability</strong></td>
<td><t t-esc="data['other_disability']"/></td>
</tr>
<tr>
<td><strong>Weight</strong></td>
<td><t t-esc="data['weight']"/></td>
<td><strong>Height</strong></td>
<td><t t-esc="data['height']"/></td>
</tr>
<tr>
<td><strong>Dentist</strong></td>
<td><t t-esc="data['dentist_id']"/></td>
<td><strong>Address</strong></td>
<td><t t-esc="data['dentist_address']"/></td>
</tr>
<tr>
<td><strong>Phone Number</strong></td>
<td><t t-esc="data['dentist_phone']"/></td>
<td><strong>Date of Last Visit</strong></td>
<td><t t-esc="data['dentist_last_visit']"/></td>
</tr>
</table>
<br/>
</span>
<span t-if="data['daycare_activities_ids']"><strong style="font-size:25px;">Activity</strong>
<table class="table table-borderless">
<tr>
<td><strong>Name</strong></td>
<td><strong>Product</strong></td>
<td><strong>Notes</strong></td>
<td><strong>Time In</strong></td>
<td><strong>Time Out</strong></td>
<td><strong>Responsible By</strong></td>
</tr>
<tr t-foreach="data['daycare_activities_ids']" t-as="rec">
<td><t t-esc="rec['name'].name"/></td>
<td><t t-esc="rec['product_id'].name"/></td>
<td><t t-esc="rec['notes']"/></td>
<td><t t-esc="rec['time_in']"/></td>
<td><t t-esc="rec['time_out']"/></td>
<td><t t-esc="rec['responsible'].name"/></td>
</tr>
</table>
<br/>
</span>
<span><strong style="font-size:25px;">Emergency Care Information</strong>
<strong style="font-size:20px;">Emergency Contact#1</strong>
<br/>
<table class="table table-borderless">
<tr>
<td><strong>Full Name</strong></td>
<td><t t-esc="data['emergency_name']"/></td>
<td><strong>Relationship To Applicant</strong></td>
<td><t t-esc="data['applicant_relationship']"/></td>
</tr>
<tr>
<td><strong>Address</strong></td>
<td><t t-esc="data['emergency_address']"/></td>
<td><strong>Phone</strong></td>
<td><t t-esc="data['emergency_phone']"/></td>
</tr>
</table>
<br/>
<strong style="font-size:20px;">Emergency Contact#2</strong>
<table class="table table-borderless">
<tr>
<td><strong>Full Name</strong></td>
<td><t t-esc="data['emergency_name_1']"/></td>
<td><strong>Relationship To Applicant</strong></td>
<td><t t-esc="data['applicant_relationship_2']"/></td>
</tr>
<tr>
<td><strong>Address</strong></td>
<td><t t-esc="data['emergency_address_1']"/></td>
<td><strong>Phone</strong></td>
<td><t t-esc="data['emergency_phone_1']"/></td>
</tr>
</table>
<br/>
</span>
<span><strong style="font-size:25px;">Service</strong>
<table class="table table-borderless">
<tr>
<td><strong>Transportation Provided By</strong></td>
<td><t t-esc="data['transportation']"/></td>
<td><strong>Arrive Time</strong></td>
<td><t t-esc="data['arrival_time']"/></td>
</tr>
<tr>
<td><strong>Departure Time</strong></td>
<td><t t-esc="data['departure_time']"/></td>
<td><strong>Special Diet?</strong></td>
<td><t t-esc="data['special_diet']"/></td>
</tr>
<tr>
<td colspan="2"><strong>If yes, Give Details</strong></td>
<td colspan="2"><t t-esc="data['diet_detail']"/></td>
</tr>
<tr>
<td colspan="2"><strong>List of Allergies</strong></td>
<td colspan="2"><t t-esc="data['allergies']"/></td>
</tr>
</table>
</span>
<span><strong style="font-size:25px;">Contract and Commitment</strong>
<table class="table table-borderless">
<tr>
<td colspan="2"><strong>I acknowledge that the participation in this program will be paid by</strong></td>
<td colspan="2"><t t-esc="data['paid_by']"/></td>
</tr>
<tr>
<td colspan="2"><strong>Name of person/party responsible for mentioned above</strong></td>
<td colspan="2"><t t-esc="data['paid_by_name']"/></td>
</tr>
<tr>
<td colspan="2"><strong>Phone number of person to pay bill</strong></td>
<td colspan="2"><t t-esc="data['paid_by_phone']"/></td>
</tr>
<tr>
<td colspan="2"><strong>Your email</strong></td>
<td colspan="2"><t t-esc="data['your_email']"/></td>
</tr>
<tr>
<td colspan="2"><strong>Hospital Choice</strong></td>
<td colspan="2"><t t-esc="data['hospital_name']"/></td>
</tr>
<tr>
<td colspan="2"><strong>Digital Signature</strong></td>
<td colspan="2"><t t-esc="data['name']"/></td>
</tr>
</table>
</span>
</t>
</div>
</t>
</t>
</template>
</odoo>

13
adult_daycare_center/reports/sale_template_inherit.xml

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="sale_report_inherit" inherit_id="sale.report_saleorder_document">
<xpath expr="//div[@id='informations']" position="inside">
<div t-if="doc.adult_person_id.name" class="col-auto col-3 mw-100 mb-2">
<strong>Adult Person:</strong>
<p class="m-0" t-field="doc.adult_person_id"/>
</div>
</xpath>
</template>
</odoo>

4
adult_daycare_center/security/ir.model.access.csv

@ -0,0 +1,4 @@
id,name,model_id/id,group_id/id,perm_read,perm_write,perm_create,perm_unlink
access_activity_type,access.activity.type,model_activity_type,base.group_user,1,1,1,1
access_daycare_activities,access.daycare.activities,model_daycare_activities,base.group_user,1,1,1,1
1 id name model_id/id group_id/id perm_read perm_write perm_create perm_unlink
2 access_activity_type access.activity.type model_activity_type base.group_user 1 1 1 1
3 access_daycare_activities access.daycare.activities model_daycare_activities base.group_user 1 1 1 1

BIN
adult_daycare_center/static/description/assets/icons/check.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
adult_daycare_center/static/description/assets/icons/chevron.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 B

BIN
adult_daycare_center/static/description/assets/icons/cogs.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
adult_daycare_center/static/description/assets/icons/consultation.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
adult_daycare_center/static/description/assets/icons/ecom-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 B

BIN
adult_daycare_center/static/description/assets/icons/education-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 B

BIN
adult_daycare_center/static/description/assets/icons/hotel-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 911 B

BIN
adult_daycare_center/static/description/assets/icons/license.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
adult_daycare_center/static/description/assets/icons/lifebuoy.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
adult_daycare_center/static/description/assets/icons/manufacturing-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

BIN
adult_daycare_center/static/description/assets/icons/pos-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 878 B

BIN
adult_daycare_center/static/description/assets/icons/puzzle.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 B

BIN
adult_daycare_center/static/description/assets/icons/restaurant-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 905 B

BIN
adult_daycare_center/static/description/assets/icons/service-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 839 B

BIN
adult_daycare_center/static/description/assets/icons/trading-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 427 B

BIN
adult_daycare_center/static/description/assets/icons/training.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 B

BIN
adult_daycare_center/static/description/assets/icons/update.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
adult_daycare_center/static/description/assets/icons/user.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 B

BIN
adult_daycare_center/static/description/assets/icons/wrench.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
adult_daycare_center/static/description/assets/misc/categories.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
adult_daycare_center/static/description/assets/misc/check.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
adult_daycare_center/static/description/assets/misc/compass.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
adult_daycare_center/static/description/assets/misc/corporate.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
adult_daycare_center/static/description/assets/misc/customer-support.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
adult_daycare_center/static/description/assets/misc/cybrosys-logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

BIN
adult_daycare_center/static/description/assets/misc/logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
adult_daycare_center/static/description/assets/misc/pictures.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
adult_daycare_center/static/description/assets/misc/pie-chart.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
adult_daycare_center/static/description/assets/misc/right-arrow.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 967 B

BIN
adult_daycare_center/static/description/assets/misc/star.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
adult_daycare_center/static/description/assets/misc/support.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
adult_daycare_center/static/description/assets/misc/whatsapp.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

BIN
adult_daycare_center/static/description/assets/modules/approval_image.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

BIN
adult_daycare_center/static/description/assets/modules/budget_image.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

BIN
adult_daycare_center/static/description/assets/modules/gantt_image.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

BIN
adult_daycare_center/static/description/assets/modules/library_image.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

BIN
adult_daycare_center/static/description/assets/modules/pos_order_image.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

BIN
adult_daycare_center/static/description/assets/modules/whatsapp_image.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 KiB

BIN
adult_daycare_center/static/description/assets/screenshots/1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 KiB

BIN
adult_daycare_center/static/description/assets/screenshots/10.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

BIN
adult_daycare_center/static/description/assets/screenshots/11.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

BIN
adult_daycare_center/static/description/assets/screenshots/12.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

BIN
adult_daycare_center/static/description/assets/screenshots/13.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 KiB

BIN
adult_daycare_center/static/description/assets/screenshots/14.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

BIN
adult_daycare_center/static/description/assets/screenshots/15.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

BIN
adult_daycare_center/static/description/assets/screenshots/16.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

BIN
adult_daycare_center/static/description/assets/screenshots/17.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

BIN
adult_daycare_center/static/description/assets/screenshots/18.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 KiB

BIN
adult_daycare_center/static/description/assets/screenshots/19.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

BIN
adult_daycare_center/static/description/assets/screenshots/2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

BIN
adult_daycare_center/static/description/assets/screenshots/20.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

BIN
adult_daycare_center/static/description/assets/screenshots/21.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

BIN
adult_daycare_center/static/description/assets/screenshots/22.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 KiB

BIN
adult_daycare_center/static/description/assets/screenshots/23.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 KiB

BIN
adult_daycare_center/static/description/assets/screenshots/24.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

BIN
adult_daycare_center/static/description/assets/screenshots/25.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 KiB

BIN
adult_daycare_center/static/description/assets/screenshots/26.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

BIN
adult_daycare_center/static/description/assets/screenshots/27.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

BIN
adult_daycare_center/static/description/assets/screenshots/28.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

BIN
adult_daycare_center/static/description/assets/screenshots/29.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

BIN
adult_daycare_center/static/description/assets/screenshots/3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

BIN
adult_daycare_center/static/description/assets/screenshots/30.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 KiB

BIN
adult_daycare_center/static/description/assets/screenshots/31.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

BIN
adult_daycare_center/static/description/assets/screenshots/32.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

BIN
adult_daycare_center/static/description/assets/screenshots/33.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

BIN
adult_daycare_center/static/description/assets/screenshots/34.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

BIN
adult_daycare_center/static/description/assets/screenshots/4.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

BIN
adult_daycare_center/static/description/assets/screenshots/5.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 KiB

BIN
adult_daycare_center/static/description/assets/screenshots/6.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 KiB

BIN
adult_daycare_center/static/description/assets/screenshots/7.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

BIN
adult_daycare_center/static/description/assets/screenshots/8.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

BIN
adult_daycare_center/static/description/assets/screenshots/9.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 KiB

BIN
adult_daycare_center/static/description/assets/screenshots/v16-hero.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 KiB

BIN
adult_daycare_center/static/description/banner.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

BIN
adult_daycare_center/static/description/icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

695
adult_daycare_center/static/description/index.html

@ -0,0 +1,695 @@
<div style="background-color: #714B67; min-height: 600px; width: 100%; padding: 15px; position: relative;">
<!-- TITLE BAR -->
<div
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: #875A7B; 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: #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>
<!-- END OF TITLE BAR -->
<!-- APP HERO -->
<h1 style="color: #FFFFFF; font-weight: bolder; font-size: 50px; text-align: center; margin-top: 50px;">
Adult Daycare Center</h1>
<p style="color:#FFFFFF; padding: 8px 15px; text-align: center; font-size: 24px;"> Manage Adult Day Care Center and Activities.</p>
<!-- END OF APP HERO -->
<img src="assets/screenshots/v16-hero.gif"
style="width: 75%; height: auto; position: absolute; margin-left: auto; margin-right: auto; top: 45%; left: 12%; right: auto;" />
</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" id="overview" 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/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">
This fully integrated app allows for the management of adult day care services and activities alongside Odoo's standard applications.
Its easy to use and very user-friendly.
</div>
</div>
<!-- END OF OVERVIEW SECTION -->
<!--FEATURES SECTIONS-->
<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;">
Management of Adult dare care request</h4>
</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;">
Printing Adult Dare Care registration pdf report</h4>
</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;">
Quote/Sales order can be created from Day Care Registration</h4>
</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;">
Task generation from Sales order</h4>
</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;">
Communication in open chatter for more details gathering.</h4>
</div>
</div>
</div>
<!--FEATURES SECTION END-->
<!-- SCREENSHOTS SECTION -->
<div class="d-flex align-items-center" id="screenshots" 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/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;">Create an Assessment Request</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">From the website, you can fill out the form and submit an assessment request.</p>
<img src="assets/screenshots/1.png" class="img-thumbnail">
<img src="assets/screenshots/2.png" class="img-thumbnail">
<img src="assets/screenshots/3.png" class="img-thumbnail">
<img src="assets/screenshots/4.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">After submitting the form, you will get a view like this.</p>
<img src="assets/screenshots/5.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">You can see all the request submitted by going to Day Care --> Requests --> Day Care Requests.</p>
<img src="assets/screenshots/6.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">A Lead will be generated. All datas can be seen under the Day Care Information tab.</p>
<img src="assets/screenshots/7.png" class="img-thumbnail">
<img src="assets/screenshots/8.png" class="img-thumbnail">
<img src="assets/screenshots/9.png" class="img-thumbnail">
<img src="assets/screenshots/10.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">You can convert lead to opportunity by clicking on the button 'Convert To Opportunity'. So the request will be confirmed.</p>
<img src="assets/screenshots/11.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">And the lead will be converted to opportunity. And also all the daycare information will be there.</p>
<img src="assets/screenshots/12.png" class="img-thumbnail">
<img src="assets/screenshots/13.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">You can Update all the information in the form to corresponding adult by clicking 'Update Adult Information' button.</p>
<img src="assets/screenshots/14.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">You can see all the Adult Members data by going through Day Care --> Members --> Adult Members.</p>
<img src="assets/screenshots/15.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">You can see 'Is A Customer' and 'Is Adult Member'</p>
<img src="assets/screenshots/16.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">Under the Applicant Information tab , the personal information of the applicant can be seen.</p>
<img src="assets/screenshots/17.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">Under the Medical Details tab , the medical detail of the applicant can be seen.</p>
<img src="assets/screenshots/18.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">Under the Lead Detail tab , all the lead datas can be seen.</p>
<img src="assets/screenshots/19.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">You can create activity type by going to Day Care --> Configuration --> Activity type.</p>
<img src="assets/screenshots/20.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">You can create activities by going to Day Care --> Activities --> Adult Activities.</p>
<img src="assets/screenshots/21.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">You can add Day Care Activities for the adult member under the Day Care Activities tab.</p>
<img src="assets/screenshots/22.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">You can create an order for the adult member by going to the Day CAre --> Orders --> Quotations.</p>
<img src="assets/screenshots/23.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">When you choose the Adult Person, the corresponding activity products will be loaded to the order line.</p>
<img src="assets/screenshots/24.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">When you confirm the sale order, there will be project and task created and can be accessed using the smart button marked.</p>
<img src="assets/screenshots/25.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">This is the Project created.</p>
<img src="assets/screenshots/26.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">And these are the tasks created under the project.</p>
<img src="assets/screenshots/27.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">Under the Reports --> Activity Type, you can see all the activity set to the adult members.</p>
<img src="assets/screenshots/28.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">You can print the Adult Care Details of an Adult Member from the members form view itself.</p>
<img src="assets/screenshots/29.png" class="img-thumbnail">
<img src="assets/screenshots/30.png" class="img-thumbnail">
<img src="assets/screenshots/31.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">Likewise you can print the approved day care request detail from its form view.</p>
<img src="assets/screenshots/32.png" class="img-thumbnail">
<img src="assets/screenshots/33.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">When you are printing Quotation/Sale order, the Adult Person will be visible.</p>
<img src="assets/screenshots/34.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: 40px;">
<img src="assets/misc/categories.png" />
</div>
<h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Related
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/14.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/gantt_image.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/library_management_system/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block" style="border-radius: 0px;"
src="assets/modules/library_image.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/product_approval_management/"
target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block" style="border-radius: 0px;"
src="assets/modules/approval_image.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/14.0/base_account_budget/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block" style="border-radius: 0px;"
src="assets/modules/budget_image.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-radius: 0px;"
src="assets/modules/pos_order_image.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/whatsapp_mail_messaging/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block" style="border-radius: 0px;"
src="assets/modules/whatsapp_image.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 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 &amp; 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"
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"
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 -->

25
adult_daycare_center/views/activity_type_views.xml

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="action_activity_type" model="ir.actions.act_window">
<field name="name">Activity Types</field>
<field name="res_model">activity.type</field>
<field name="view_mode">tree,form</field>
<field name="help" type="html">
<p class="o_view_nocontent_smiling_face">
Create a new Activity!
</p>
</field>
</record>
<record id="activity_type_view_tree" model="ir.ui.view">
<field name="name">activity.type.tree</field>
<field name="model">activity.type</field>
<field name="arch" type="xml">
<tree editable="bottom">
<field name="name"/>
</tree>
</field>
</record>
</odoo>

578
adult_daycare_center/views/assessment_request_template.xml

@ -0,0 +1,578 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="assessment_request_form">
<t t-call="website.layout">
<div id="wrap" class="oe_structure oe_empty">
<section class="s_title parallax s_parallax_is_fixed bg-black-50 pt24 pb24" data-vcss="001" data-snippet="s_title" data-scroll-background-ratio="1">
<span class="s_parallax_bg oe_img_bg" style="background-image: url('/web/image/website.s_banner_default_image'); background-position: 50% 0;"/>
<div class="o_we_bg_filter bg-black-50"/>
<div class="container">
<h1>Assessment Request Form</h1>
</div>
</section>
<p></p>
<section class="s_website_form" data-vcss="001" data-snippet="s_website_form">
<div class="container s_allow_columns">
<div class="row">
<div class="col-lg-8 mt-4 mt-lg-0">
<section class="s_website_form" data-vcss="001" data-snippet="s_website_form">
<div class="container">
<form id="contactus_form" action="/assessment_request/submit" method="post" enctype="multipart/form-data" class="o_mark_required" data-mark="*" data-model_name="mail.mail" data-success-mode="redirect" data-success-page="/contactus-thank-you" data-pre-fill="true">
<div class="s_website_form_rows row s_col_no_bgcolor">
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="applicant_name">
<span class="s_website_form_label_content">Applicant's Full Name: </span>
</label>
<div class="col-sm">
<input id="applicant_name" type="text" class="form-control s_website_form_input" name="applicant_name" required=""/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="date" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="birth_date">
<span class="s_website_form_label_content">Birth Date: </span>
</label>
<div class="col-sm">
<input id="birth_date" type="date" class="form-control s_website_form_input" name="birth_date" required=""/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="date" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="male">
<span class="s_website_form_label_content">Gender: </span>
</label>
<div class="col-sm">
<input type="radio" id="male" name="gender" value="male" required=""/>
<label for="male">Male</label>
<input type="radio" id="female" name="gender" value="female"/>
<label for="female">Female</label>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="street">
<span class="s_website_form_label_content">Applicant Address: </span>
</label>
<div class="col-sm">
<input id="street" type="text" class="form-control s_website_form_input o_address_street" name="street" placeholder="Street" required=""/>
<input id="city" type="text" class="form-control s_website_form_input o_address_city" name="city" placeholder="City" required=""/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="subject">
<span class="s_website_form_label_content">Subject: </span>
</label>
<div class="col-sm">
<input id="subject" type="text" class="form-control s_website_form_input" name="subject" required=""/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="marital_status">
<span class="s_website_form_label_content">Marital Status: </span>
</label>
<div class="col-sm">
<select id="marital_status" class="form-control s_website_form_input" name="marital_status">
<option value="married">Married</option>
<option value="single">Single</option>
<option value="separated">Separated</option>
<option value="widowed">Widowed</option>
<option value="divorced">Divorced</option>
</select>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="living_arrangement">
<span class="s_website_form_label_content">Present Living Arrangements: </span>
</label>
<div class="col-sm">
<select id="living_arrangement" class="form-control s_website_form_input" name="living_arrangement">
<option value="with_relative">With Relative</option>
<option value="non_relative">With Non-Relative</option>
<option value="home_alone">Alone(Home/Apartment)</option>
<option value="alone_single">Alone(Single Room)</option>
</select>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="medicaid">
<span class="s_website_form_label_content">Medicaid#: </span>
</label>
<div class="col-sm">
<input id="medicaid" type="number" class="form-control s_website_form_input" name="medicaid"/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="medicare">
<span class="s_website_form_label_content">Medicare#: </span>
</label>
<div class="col-sm">
<input id="medicare" type="number" class="form-control s_website_form_input" name="medicare"/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="sup_sec_income">
<span class="s_website_form_label_content">Supplemental Security Income: </span>
</label>
<div class="col-sm">
<input id="sup_sec_income" type="number" class="form-control s_website_form_input" name="sup_sec_income"/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="why_interest">
<span class="s_website_form_label_content">Tell us why you are interested in joining this program?: </span>
</label>
<div class="col-sm">
<input id="why_interest" type="text" class="form-control s_website_form_input" name="why_interest"/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="date" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="yes">
<span class="s_website_form_label_content">Have you had previous experience in an adult day care program?: </span>
</label>
<div class="col-sm">
<input type="radio" id="yes" name="experience" value="yes" required=""/>
<label for="yes">Yes</label>
<input type="radio" id="no" name="experience" value="no"/>
<label for="no">No</label>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="where_when">
<span class="s_website_form_label_content">If yes, Where and when?: </span>
</label>
<div class="col-sm">
<input id="where_when" type="text" class="form-control s_website_form_input" name="where_when"/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="living_with_whom">
<span class="s_website_form_label_content">Living with whom: </span>
</label>
<div class="col-sm">
<input id="living_with_whom" type="text" class="form-control s_website_form_input" name="living_with_whom" required=""/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="relation_with_living">
<span class="s_website_form_label_content">Relationship with whom their living: </span>
</label>
<div class="col-sm">
<input id="relation_with_living" type="text" class="form-control s_website_form_input" name="relation_with_living" required=""/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="nearest_relative">
<span class="s_website_form_label_content">Nearest responsible relative: </span>
</label>
<div class="col-sm">
<input id="nearest_relative" type="text" class="form-control s_website_form_input" name="nearest_relative" required=""/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="nearest_relative_relation">
<span class="s_website_form_label_content">Relationship to nearest relative: </span>
</label>
<div class="col-sm">
<input id="nearest_relative_relation" type="text" class="form-control s_website_form_input" name="nearest_relative_relation" required=""/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="employed_where">
<span class="s_website_form_label_content">If employed, Where: </span>
</label>
<div class="col-sm">
<input id="employed_where" type="text" class="form-control s_website_form_input" name="employed_where"/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="business_phone">
<span class="s_website_form_label_content">Business Phone: </span>
</label>
<div class="col-sm">
<input id="business_phone" type="text" class="form-control s_website_form_input" name="business_phone"/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="emergency_contact_1">
<span class="s_website_form_label_content">Emergency Contact#1: </span>
</label>
<div class="col-sm">
<input id="emergency_contact_1" type="text" class="form-control s_website_form_input" name="emergency_contact_1" required=""/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="applicant_relation_1">
<span class="s_website_form_label_content">Applicant Relationship#1: </span>
</label>
<div class="col-sm">
<input id="applicant_relation_1" type="text" class="form-control s_website_form_input" name="applicant_relation_1" required=""/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="emergency_address_1">
<span class="s_website_form_label_content">Emergency Address#1: </span>
</label>
<div class="col-sm">
<input id="emergency_address_1" type="text" class="form-control s_website_form_input" name="emergency_address_1" required=""/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="emergency_phone_1">
<span class="s_website_form_label_content">Emergency Phone#1: </span>
</label>
<div class="col-sm">
<input id="emergency_phone_1" type="text" class="form-control s_website_form_input" name="emergency_phone_1" required=""/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="emergency_contact_2">
<span class="s_website_form_label_content">Emergency Contact#2: </span>
</label>
<div class="col-sm">
<input id="emergency_contact_2" type="text" class="form-control s_website_form_input" name="emergency_contact_2" required=""/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="applicant_relation_2">
<span class="s_website_form_label_content">Applicant Relationship#2: </span>
</label>
<div class="col-sm">
<input id="applicant_relation_2" type="text" class="form-control s_website_form_input" name="applicant_relation_2" required=""/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="emergency_address_2">
<span class="s_website_form_label_content">Emergency Address#2: </span>
</label>
<div class="col-sm">
<input id="emergency_address_2" type="text" class="form-control s_website_form_input" name="emergency_address_2" required=""/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="emergency_phone_2">
<span class="s_website_form_label_content">Emergency Phone#2: </span>
</label>
<div class="col-sm">
<input id="emergency_phone_2" type="text" class="form-control s_website_form_input" name="emergency_phone_2" required=""/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="physician_name">
<span class="s_website_form_label_content">Physician Name: </span>
</label>
<div class="col-sm">
<input id="physician_name" type="text" class="form-control s_website_form_input" name="physician_name" required=""/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="physician_address">
<span class="s_website_form_label_content">Physician Address: </span>
</label>
<div class="col-sm">
<input id="physician_address" type="text" class="form-control s_website_form_input" name="physician_address" required=""/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="physician_phone">
<span class="s_website_form_label_content">Physician Phone: </span>
</label>
<div class="col-sm">
<input id="physician_phone" type="text" class="form-control s_website_form_input" name="physician_phone" required=""/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="date" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="physician_last_visit">
<span class="s_website_form_label_content">Physician Last Visit: </span>
</label>
<div class="col-sm">
<input id="physician_last_visit" type="date" class="form-control s_website_form_input" name="physician_last_visit" required=""/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="dentist_name">
<span class="s_website_form_label_content">Dentist Name: </span>
</label>
<div class="col-sm">
<input id="dentist_name" type="text" class="form-control s_website_form_input" name="dentist_name" required=""/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="dentist_address">
<span class="s_website_form_label_content">Dentist Address: </span>
</label>
<div class="col-sm">
<input id="dentist_address" type="text" class="form-control s_website_form_input" name="dentist_address" required=""/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="dentist_phone">
<span class="s_website_form_label_content">Dentist Phone: </span>
</label>
<div class="col-sm">
<input id="dentist_phone" type="text" class="form-control s_website_form_input" name="dentist_phone" required=""/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="date" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="dentist_last_visit">
<span class="s_website_form_label_content">Dentist Last Visit: </span>
</label>
<div class="col-sm">
<input id="dentist_last_visit" type="date" class="form-control s_website_form_input" name="dentist_last_visit" required=""/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="transport_provider">
<span class="s_website_form_label_content">Transportation will be provided by: </span>
</label>
<div class="col-sm">
<select id="transport_provider" class="form-control s_website_form_input" name="transport_provider">
<option value="relative_friend">Relative or Friend</option>
<option value="public_transport">Public Transportation</option>
<option value="blessed_assurance">Blessed Assurance</option>
</select>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="int" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="arrive_time">
<span class="s_website_form_label_content">Arrive Time: </span>
</label>
<div class="col-sm">
<input id="arrive_time" type="number" class="form-control s_website_form_input" name="arrive_time"/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="int" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="departure_time">
<span class="s_website_form_label_content">Departure Time: </span>
</label>
<div class="col-sm">
<input id="departure_time" type="number" class="form-control s_website_form_input" name="departure_time"/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="date" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="yes">
<span class="s_website_form_label_content">Special Diet?: </span>
</label>
<div class="col-sm">
<input type="radio" id="yes" name="diet" value="yes" required=""/>
<label for="yes">Yes</label>
<input type="radio" id="no" name="diet" value="no"/>
<label for="no">No</label>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="diet_detail">
<span class="s_website_form_label_content">If yes, give details: </span>
</label>
<div class="col-sm">
<input id="diet_detail" type="text" class="form-control s_website_form_input" name="diet_detail"/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="allergies">
<span class="s_website_form_label_content">List all allergies: </span>
</label>
<div class="col-sm">
<input id="allergies" type="text" class="form-control s_website_form_input" name="allergies"/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="request_assurance">
<span class="s_website_form_label_content">Days and times requested to be at Blessed Assurance: </span>
</label>
<div class="col-sm">
<input id="request_assurance" type="text" class="form-control s_website_form_input" name="request_assurance"/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="paid_by">
<span class="s_website_form_label_content">I acknowledge that the participation in this program will be paid by : </span>
</label>
<div class="col-sm">
<select id="paid_by" class="form-control s_website_form_input" name="paid_by">
<option value="myself">Myself</option>
<option value="relative">Relative</option>
<option value="another_party">Another Party</option>
</select>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="paid_by_name">
<span class="s_website_form_label_content">Give name of person/party responsible that is mentioned above: </span>
</label>
<div class="col-sm">
<input id="paid_by_name" type="text" class="form-control s_website_form_input" name="paid_by_name" required=""/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="paid_by_phone">
<span class="s_website_form_label_content">Phone number of person to pay bill: </span>
</label>
<div class="col-sm">
<input id="paid_by_phone" type="text" class="form-control s_website_form_input" name="paid_by_phone" required=""/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="email">
<span class="s_website_form_label_content">Your Email: </span>
</label>
<div class="col-sm">
<input id="email" type="email" class="form-control s_website_form_input" name="email" required=""/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="hospital_choice">
<span class="s_website_form_label_content">If emergency medical care becomes necessary, I give permission for any treatment the physician deems necessary. My hospital choice is: </span>
</label>
<div class="col-sm">
<input id="hospital_choice" type="text" class="form-control s_website_form_input" name="hospital_choice" placeholder="e.g.City Life Hospital"/>
<span>But I (the applicant) may be treated at the nearest facility if the emergency deems it necessary.</span>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_field s_website_form_custom s_website_form_required" data-type="char" data-name="Field">
<div class="row s_col_no_resize s_col_no_bgcolor">
<label class="col-form-label col-sm-auto s_website_form_label" style="width: 200px" for="digital_sign">
<span class="s_website_form_label_content">By entering your full name, you are digitally signing this form: </span>
</label>
<div class="col-sm">
<input id="digital_sign" type="text" class="form-control s_website_form_input" name="digital_sign" required=""/>
</div>
</div>
</div>
<div class="mb-0 py-2 col-12 s_website_form_submit" data-name="Submit Button">
<div style="width: 200px;" class="s_website_form_label"/>
<button type="submit" class="btn btn-primary">Submit</button>
</div>
</div>
</form>
</div>
</section>
</div>
</div>
</div>
</section>
</div>
</t>
</template>
<template id="assessment_request_submit_template" name="Assessment Request Submitted">
<t t-call="website.layout">
<div id="wrap" class="oe_structure oe_empty">
<section class="s_title parallax s_parallax_is_fixed bg-black-50 pt24 pb24" data-vcss="001" data-snippet="s_title" data-scroll-background-ratio="1">
<span class="s_parallax_bg oe_img_bg" style="background-image: url('/web/image/website.s_banner_default_image'); background-position: 50% 0;"/>
<div class="o_we_bg_filter bg-black-50"/>
<div class="container">
<h1>Assessment Request Form</h1>
</div>
</section>
<p></p>
<section class="s_website_form" data-vcss="001" data-snippet="s_website_form">
<div class="container s_allow_columns">
<div class="row">
<div class="col-lg-8 mt-4 mt-lg-0">
<div class="alert alert-success">
Your Day Care Assessment Request is "<t t-esc="lead['name']"/>".<br/>
Please Note it for further communication.<br/>
You Will Receive Email from our Team shortly.<br/>
Please reply to that mail for feature conversation.<br/>
</div>
</div>
</div>
</div>
</section>
</div>
</t>
</template>
</odoo>

128
adult_daycare_center/views/crm_lead_views.xml

@ -0,0 +1,128 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Daycare Request Action -->
<record model="ir.actions.act_window" id="action_daycare_requests">
<field name="name">Day Care Requests</field>
<field name="res_model">crm.lead</field>
<field name="view_mode">tree,kanban,graph,pivot,calendar,form,activity</field>
<field name="domain">['|', ('type','=','lead'), ('type','=',False)]</field>
<field name="search_view_id" ref="crm.view_crm_case_leads_filter"/>
<field name="context">{
'default_type':'lead',
'search_default_type': 'lead',
'search_default_to_process':1,
}
</field>
<field name="help" type="html">
<p class="o_view_nocontent_smiling_face">
Create a Lead
</p><p>
Leads are the qualification step before the creation of an opportunity.
</p>
</field>
</record>
<!-- Daycare Approved Request Action -->
<record model="ir.actions.act_window" id="action_daycare_approved_requests">
<field name="name">Day Care Approved Request</field>
<field name="res_model">crm.lead</field>
<field name="view_mode">tree,kanban,graph,pivot,form,calendar,activity</field>
<field name="domain">[('type','=','opportunity')]</field>
<field name="context">{
'default_type': 'opportunity',
'search_default_assigned_to_me': 1
}</field>
<field name="search_view_id" ref="crm.view_crm_case_opportunities_filter"/>
</record>
<!-- Inherited crm.lead form view -->
<record id="daycare_crm_lead_form_inherit" model="ir.ui.view">
<field name="name">crm.lead.form</field>
<field name="inherit_id" ref="crm.crm_lead_view_form"/>
<field name="model">crm.lead</field>
<field name="arch" type="xml">
<xpath expr="//header" position="inside">
<button name="action_updt_adult_info" string="Update Adult Information" type="object"
class="oe_highlight" attrs="{'invisible': [('type', '=', 'lead')]}"/>
</xpath>
<xpath expr="//notebook" position="inside">
<page string="Day Care Information" name="daycare_info">
<group>
<group string="Personal Information">
<field name="birth_date"/>
<field name="gender"/>
<label for="street" string="Address"/>
<div class="o_address_format">
<field name="street" placeholder="Street..." class="o_address_street"/>
<field name="street2" placeholder="Street 2..." class="o_address_street"/>
<field name="city" placeholder="City" class="o_address_city"/>
<field name="state_id" class="o_address_state" placeholder="State" options='{"no_open": True}'/>
<field name="zip" placeholder="ZIP" class="o_address_zip"/>
<field name="country_id" placeholder="Country" class="o_address_country" options='{"no_open": True, "no_create": True}'/>
</div>
<field name="medicaid"/>
<field name="medicare"/>
</group>
<group>
<field name="supplemental_income"/>
<field name="interest_program"/>
<field name="previous_experience"/>
<field name="where_when"/>
<field name="marital_status"/>
</group>
<group string="Relative Detail">
<field name="present_living"/>
<field name="living_with_whom"/>
<field name="living_with"/>
<field name="relationship_responsible_relative"/>
<field name="nearest_relative"/>
<field name="nearest_relative_relation"/>
<field name="business_phone"/>
</group>
<group string="Emergency Detail">
<field name="emergency_name"/>
<field name="applicant_relationship"/>
<field name="emergency_address"/>
<field name="emergency_phone"/>
<field name="emergency_name_1"/>
<field name="applicant_relationship_2"/>
<field name="emergency_address_1"/>
<field name="emergency_phone_1"/>
</group>
<group string="Medical Information">
<field name="physician_name"/>
<field name="physician_address"/>
<field name="physician_phone"/>
<field name="physician_last_visit"/>
<field name="dentist_name"/>
<field name="dentist_address"/>
<field name="dentist_phone"/>
<field name="dentist_last_visit"/>
</group>
<group string="Transportation Information">
<field name="transportation"/>
<field name="arrival_time" widget="timesheet_uom"/>
<field name="departure_time" widget="timesheet_uom"/>
<field name="special_diet"/>
<field name="responsible"/>
<field name="paid_by"/>
<field name="paid_by_name"/>
<field name="paid_by_phone"/>
<field name="your_email"/>
<field name="hospital_name"/>
<field name="today_date"/>
</group>
<group string="Other Information">
<field name="diet_detail" attrs="{'invisible':[('special_diet','!=','yes')]}"/>
<field name="allergies"/>
<field name="time_request"/>
<field name="employed_at"/>
<field name="request_assurance"/>
</group>
</group>
</page>
</xpath>
</field>
</record>
</odoo>

25
adult_daycare_center/views/daycare_activities_views.xml

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="action_daycare_activities" model="ir.actions.act_window">
<field name="name">Activities</field>
<field name="res_model">daycare.activities</field>
<field name="view_mode">tree</field>
</record>
<record id="activity_type_view_tree" model="ir.ui.view">
<field name="name">daycare.activities.tree</field>
<field name="model">daycare.activities</field>
<field name="arch" type="xml">
<tree create='0'>
<field name="name"/>
<field name="product_id"/>
<field name="notes"/>
<field name="time_in"/>
<field name="time_out"/>
<field name="responsible"/>
</tree>
</field>
</record>
</odoo>

50
adult_daycare_center/views/menu_views.xml

@ -0,0 +1,50 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Root Menu -->
<menuitem id="day_care_root" name="Day Care"/>
<!-- Main Menu -->
<menuitem id="members_menu" name="Members" parent="day_care_root" sequence="5"/>
<menuitem id="requests_menu" name="Requests" parent="day_care_root" sequence="10"/>
<menuitem id="orders_menu" name="Orders" parent="day_care_root" sequence="15"/>
<menuitem id="activities_menu" name="Activities" parent="day_care_root" sequence="20"/>
<menuitem id="tasks_menu" name="Tasks" parent="day_care_root" sequence="25"/>
<menuitem id="reports_menu" name="Reports" parent="day_care_root" sequence="30"/>
<menuitem id="configuration_menu" name="Configuration" parent="day_care_root" sequence="50"/>
<!-- Sub Menu -->
<menuitem id="customers_menu" name="Customers" parent="members_menu"
action="action_daycare_customers" sequence="2"/>
<menuitem id="adult_members_menu" name="Adult Members" parent="members_menu"
action="action_daycare_adult_members" sequence="4"/>
<menuitem id="day_care_requests_menu" name="Day Care Requests" parent="requests_menu"
action="action_daycare_requests" sequence="2"/>
<menuitem id="approved_requests_menu" name="Approved Requests" parent="requests_menu"
action="action_daycare_approved_requests" sequence="4"/>
<menuitem id="adult_activities_menu" name="Adult Activities" parent="activities_menu"
action="action_daycare_activity_product" sequence="2"/>
<menuitem id="pricelist_menu" name="Pricelist" parent="activities_menu"
action="product.product_pricelist_action2" sequence="4"/>
<menuitem id="activities_report_menu" name="Activity type" parent="reports_menu"
action="action_daycare_activities" sequence="2"/>
<menuitem id="activity_type_menu" name="Activity type" parent="configuration_menu"
action="action_activity_type" sequence="2"/>
<menuitem id="quotations_menu" name="Quotations" parent="orders_menu"
action="sale.action_quotations_with_onboarding" sequence="2"/>
<menuitem id="orders_sub_menu" name="Orders" parent="orders_menu"
action="sale.action_orders" sequence="4"/>
<menuitem id="tasks_sub_menu" name="Tasks" parent="tasks_menu"
action="project.action_view_all_task" sequence="2"/>
</odoo>

38
adult_daycare_center/views/product_template_views.xml

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="action_daycare_activity_product" model="ir.actions.act_window">
<field name="name">Activities</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">product.template</field>
<field name="view_mode">kanban,tree,form</field>
<field name="search_view_id" ref="product.product_template_search_view"/>
<field name="domain">[('is_adult_activity','=',True)]</field>
<field name="context">{
'default_detailed_type': 'service',
'default_is_adult_activity': True,
'default_service_tracking': 'task_in_project',
}
</field>
<field name="help" type="html">
<p class="o_view_nocontent_smiling_face">
Create a new product
</p><p>
You must define a product for everything you sell or purchase,
whether it's a storable product, a consumable or a service.
</p>
</field>
</record>
<record id="daycare_product_form_inherit" model="ir.ui.view">
<field name="name">product.template.form</field>
<field name="inherit_id" ref="product.product_template_only_form_view"/>
<field name="model">product.template</field>
<field name="arch" type="xml">
<xpath expr="//field[@name='product_tooltip']" position="after">
<field name="is_adult_activity" attrs="{'invisible': [('detailed_type', '!=', 'service')]}"/>
</xpath>
</field>
</record>
</odoo>

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save