├── customer ├── __init__.py ├── migrations │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-310.pyc │ │ └── 0001_initial.cpython-310.pyc │ └── 0001_initial.py ├── admin.py ├── tests.py ├── apps.py ├── __pycache__ │ ├── urls.cpython-310.pyc │ ├── admin.cpython-310.pyc │ ├── forms.cpython-310.pyc │ ├── models.cpython-310.pyc │ ├── views.cpython-310.pyc │ └── __init__.cpython-310.pyc ├── forms.py ├── models.py ├── urls.py └── views.py ├── insurance ├── __init__.py ├── migrations │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-310.pyc │ │ ├── 0001_initial.cpython-310.pyc │ │ ├── 0002_policy.cpython-310.pyc │ │ ├── 0004_question.cpython-310.pyc │ │ └── 0003_policyrecord.cpython-310.pyc │ ├── 0001_initial.py │ ├── 0004_question.py │ ├── 0003_policyrecord.py │ └── 0002_policy.py ├── admin.py ├── tests.py ├── apps.py ├── __pycache__ │ ├── admin.cpython-310.pyc │ ├── forms.cpython-310.pyc │ ├── views.cpython-310.pyc │ ├── __init__.cpython-310.pyc │ └── models.cpython-310.pyc ├── forms.py ├── models.py └── views.py ├── insurancemanagement ├── __init__.py ├── __pycache__ │ ├── urls.cpython-310.pyc │ ├── wsgi.cpython-310.pyc │ ├── __init__.cpython-310.pyc │ └── settings.cpython-310.pyc ├── asgi.py ├── wsgi.py ├── urls.py └── settings.py ├── templates ├── insurance │ ├── footer.html │ ├── logout.html │ ├── index.html │ ├── contactussuccess.html │ ├── admin_view_category.html │ ├── admin_view_approved_policy_holder.html │ ├── admin_view_disapproved_policy_holder.html │ ├── admin_view_waiting_policy_holder.html │ ├── admin_add_category.html │ ├── admin_delete_category.html │ ├── admin_update_category.html │ ├── admin_view_policy.html │ ├── update_category.html │ ├── admin_update_policy.html │ ├── admin_delete_policy.html │ ├── update_question.html │ ├── navbar.html │ ├── admin_question.html │ ├── admin_add_policy.html │ ├── admin_view_customer.html │ ├── admin_view_policy_holder.html │ ├── update_policy.html │ ├── update_customer.html │ ├── adminlogin.html │ ├── admin_category.html │ ├── adminbase.html │ ├── admin_policy.html │ └── admin_dashboard.html └── customer │ ├── customerclick.html │ ├── history.html │ ├── question_history.html │ ├── ask_question.html │ ├── apply_policy.html │ ├── customersignup.html │ ├── customer_dashboard.html │ └── customerbase.html ├── db.sqlite3 ├── static ├── image │ ├── admin.png │ └── logout_img.png ├── screenshots │ ├── homepage.jpg │ ├── policy.png │ ├── dashboard.png │ └── policyrecord.png └── profile_pic │ └── Customer │ ├── lazy.PNG │ └── nn.jpg ├── requirements.txt ├── manage.py ├── LICENSE └── README.md /customer/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /insurance/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /customer/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /insurance/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /insurancemanagement/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /templates/insurance/footer.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /db.sqlite3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MainakRepositor/Smart-IMS/HEAD/db.sqlite3 -------------------------------------------------------------------------------- /customer/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | # Register your models here. 4 | -------------------------------------------------------------------------------- /customer/tests.py: -------------------------------------------------------------------------------- 1 | from django.test import TestCase 2 | 3 | # Create your tests here. 4 | -------------------------------------------------------------------------------- /insurance/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | # Register your models here. 4 | -------------------------------------------------------------------------------- /insurance/tests.py: -------------------------------------------------------------------------------- 1 | from django.test import TestCase 2 | 3 | # Create your tests here. 4 | -------------------------------------------------------------------------------- /static/image/admin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MainakRepositor/Smart-IMS/HEAD/static/image/admin.png -------------------------------------------------------------------------------- /static/image/logout_img.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MainakRepositor/Smart-IMS/HEAD/static/image/logout_img.png -------------------------------------------------------------------------------- /static/screenshots/homepage.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MainakRepositor/Smart-IMS/HEAD/static/screenshots/homepage.jpg -------------------------------------------------------------------------------- /static/screenshots/policy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MainakRepositor/Smart-IMS/HEAD/static/screenshots/policy.png -------------------------------------------------------------------------------- /customer/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class CustomerConfig(AppConfig): 5 | name = 'customer' 6 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | asgiref==3.2.7 2 | Django==3.0.5 3 | django-widget-tweaks==1.4.8 4 | pytz==2020.1 5 | sqlparse==0.3.1 6 | 7 | -------------------------------------------------------------------------------- /static/screenshots/dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MainakRepositor/Smart-IMS/HEAD/static/screenshots/dashboard.png -------------------------------------------------------------------------------- /insurance/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class InsuranceConfig(AppConfig): 5 | name = 'insurance' 6 | -------------------------------------------------------------------------------- /static/profile_pic/Customer/lazy.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MainakRepositor/Smart-IMS/HEAD/static/profile_pic/Customer/lazy.PNG -------------------------------------------------------------------------------- /static/profile_pic/Customer/nn.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MainakRepositor/Smart-IMS/HEAD/static/profile_pic/Customer/nn.jpg -------------------------------------------------------------------------------- /static/screenshots/policyrecord.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MainakRepositor/Smart-IMS/HEAD/static/screenshots/policyrecord.png -------------------------------------------------------------------------------- /customer/__pycache__/urls.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MainakRepositor/Smart-IMS/HEAD/customer/__pycache__/urls.cpython-310.pyc -------------------------------------------------------------------------------- /customer/__pycache__/admin.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MainakRepositor/Smart-IMS/HEAD/customer/__pycache__/admin.cpython-310.pyc -------------------------------------------------------------------------------- /customer/__pycache__/forms.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MainakRepositor/Smart-IMS/HEAD/customer/__pycache__/forms.cpython-310.pyc -------------------------------------------------------------------------------- /customer/__pycache__/models.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MainakRepositor/Smart-IMS/HEAD/customer/__pycache__/models.cpython-310.pyc -------------------------------------------------------------------------------- /customer/__pycache__/views.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MainakRepositor/Smart-IMS/HEAD/customer/__pycache__/views.cpython-310.pyc -------------------------------------------------------------------------------- /insurance/__pycache__/admin.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MainakRepositor/Smart-IMS/HEAD/insurance/__pycache__/admin.cpython-310.pyc -------------------------------------------------------------------------------- /insurance/__pycache__/forms.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MainakRepositor/Smart-IMS/HEAD/insurance/__pycache__/forms.cpython-310.pyc -------------------------------------------------------------------------------- /insurance/__pycache__/views.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MainakRepositor/Smart-IMS/HEAD/insurance/__pycache__/views.cpython-310.pyc -------------------------------------------------------------------------------- /customer/__pycache__/__init__.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MainakRepositor/Smart-IMS/HEAD/customer/__pycache__/__init__.cpython-310.pyc -------------------------------------------------------------------------------- /insurance/__pycache__/__init__.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MainakRepositor/Smart-IMS/HEAD/insurance/__pycache__/__init__.cpython-310.pyc -------------------------------------------------------------------------------- /insurance/__pycache__/models.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MainakRepositor/Smart-IMS/HEAD/insurance/__pycache__/models.cpython-310.pyc -------------------------------------------------------------------------------- /insurancemanagement/__pycache__/urls.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MainakRepositor/Smart-IMS/HEAD/insurancemanagement/__pycache__/urls.cpython-310.pyc -------------------------------------------------------------------------------- /insurancemanagement/__pycache__/wsgi.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MainakRepositor/Smart-IMS/HEAD/insurancemanagement/__pycache__/wsgi.cpython-310.pyc -------------------------------------------------------------------------------- /customer/migrations/__pycache__/__init__.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MainakRepositor/Smart-IMS/HEAD/customer/migrations/__pycache__/__init__.cpython-310.pyc -------------------------------------------------------------------------------- /insurancemanagement/__pycache__/__init__.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MainakRepositor/Smart-IMS/HEAD/insurancemanagement/__pycache__/__init__.cpython-310.pyc -------------------------------------------------------------------------------- /insurancemanagement/__pycache__/settings.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MainakRepositor/Smart-IMS/HEAD/insurancemanagement/__pycache__/settings.cpython-310.pyc -------------------------------------------------------------------------------- /insurance/migrations/__pycache__/__init__.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MainakRepositor/Smart-IMS/HEAD/insurance/migrations/__pycache__/__init__.cpython-310.pyc -------------------------------------------------------------------------------- /customer/migrations/__pycache__/0001_initial.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MainakRepositor/Smart-IMS/HEAD/customer/migrations/__pycache__/0001_initial.cpython-310.pyc -------------------------------------------------------------------------------- /insurance/migrations/__pycache__/0001_initial.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MainakRepositor/Smart-IMS/HEAD/insurance/migrations/__pycache__/0001_initial.cpython-310.pyc -------------------------------------------------------------------------------- /insurance/migrations/__pycache__/0002_policy.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MainakRepositor/Smart-IMS/HEAD/insurance/migrations/__pycache__/0002_policy.cpython-310.pyc -------------------------------------------------------------------------------- /insurance/migrations/__pycache__/0004_question.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MainakRepositor/Smart-IMS/HEAD/insurance/migrations/__pycache__/0004_question.cpython-310.pyc -------------------------------------------------------------------------------- /insurance/migrations/__pycache__/0003_policyrecord.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MainakRepositor/Smart-IMS/HEAD/insurance/migrations/__pycache__/0003_policyrecord.cpython-310.pyc -------------------------------------------------------------------------------- /insurancemanagement/asgi.py: -------------------------------------------------------------------------------- 1 | """ 2 | ASGI config for insurancemanagement project. 3 | 4 | It exposes the ASGI callable as a module-level variable named ``application``. 5 | 6 | For more information on this file, see 7 | https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ 8 | """ 9 | 10 | import os 11 | 12 | from django.core.asgi import get_asgi_application 13 | 14 | os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'insurancemanagement.settings') 15 | 16 | application = get_asgi_application() 17 | -------------------------------------------------------------------------------- /insurancemanagement/wsgi.py: -------------------------------------------------------------------------------- 1 | """ 2 | WSGI config for insurancemanagement project. 3 | 4 | It exposes the WSGI callable as a module-level variable named ``application``. 5 | 6 | For more information on this file, see 7 | https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/ 8 | """ 9 | 10 | import os 11 | 12 | from django.core.wsgi import get_wsgi_application 13 | 14 | os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'insurancemanagement.settings') 15 | 16 | application = get_wsgi_application() 17 | -------------------------------------------------------------------------------- /templates/insurance/logout.html: -------------------------------------------------------------------------------- 1 | {%load static%} 2 | 3 | 4 |
5 | 6 |We will respond to your feedback soon
29 |Check other features of website !
31 |32 | HOME 33 |
34 |Welcome to Insurance Management System
30 |You can access various features after Login.
32 |33 | Create Your Account 34 | Login 35 |
36 || Serial No. | 34 |Category Name | 35 |Creation Date | 36 | 37 |
|---|---|---|
| {{ forloop.counter }} | 42 |{{t.category_name}} | 43 |{{t.creation_date}} | 44 |
| Serial No. | 34 |Policy Name | 35 |Customer Name | 36 |Applied Date | 37 |Status | 38 | 39 |
|---|---|---|---|---|
| {{ forloop.counter }} | 44 |{{t.Policy}} | 45 |{{t.customer}} | 46 | 47 |{{t.creation_date}} | 48 |{{t.status}} | 49 |
| Serial No. | 34 |Policy Name | 35 |Customer Name | 36 |Applied Date | 37 |Status | 38 | 39 |
|---|---|---|---|---|
| {{ forloop.counter }} | 44 |{{t.Policy}} | 45 |{{t.customer}} | 46 | 47 |{{t.creation_date}} | 48 |{{t.status}} | 49 |
| Serial No. | 34 |Policy Name | 35 |Customer Name | 36 |Applied Date | 37 |Status | 38 | 39 |
|---|---|---|---|---|
| {{ forloop.counter }} | 44 |{{t.Policy}} | 45 |{{t.customer}} | 46 | 47 |{{t.creation_date}} | 48 |{{t.status}} | 49 |
| Serial No. | 34 |Policy Name | 35 |Category | 36 |Sum Assurance | 37 |Premium | 38 |Tenure | 39 |Creation Date | 40 | 41 |
|---|---|---|---|---|---|---|
| {{ forloop.counter }} | 46 |{{t.policy_name}} | 47 |{{t.category}} | 48 |{{t.sum_assurance}} | 49 |{{t.premium}} | 50 |{{t.tenure}} | 51 |{{t.creation_date}} | 52 |
| Serial No. | 48 |Policy Name | 49 | 50 |Applied Date | 51 |Status | 52 | 53 |
|---|---|---|---|
| {{ forloop.counter }} | 58 |{{t.Policy}} | 59 | 60 |{{t.creation_date}} | 61 |{{t.status}} | 62 |
| Serial No. | 48 |Question | 49 |Admin Comment | 50 |Asked Date | 51 | 52 | 53 |
|---|---|---|---|
| {{ forloop.counter }} | 58 |{{t.description}} | 59 | 60 |{{t.admin_comment}} | 61 |{{t.asked_date}} | 62 |
| Serial No. | 47 |Policy Name | 48 |Category | 49 |Sum Assurance | 50 |Premium | 51 |Tenure | 52 |Creation Date | 53 |Apply | 54 | 55 |
|---|---|---|---|---|---|---|---|
| {{ forloop.counter }} | 60 |{{t.policy_name}} | 61 |{{t.category}} | 62 |{{t.sum_assurance}} | 63 |{{t.premium}} | 64 |{{t.tenure}} | 65 |{{t.creation_date}} | 66 |Apply | 67 |
| Serial No. | 34 |Policy Name | 35 |Customer Name | 36 |Applied Date | 37 |Status | 38 |Action | 39 ||
|---|---|---|---|---|---|---|
| {{ forloop.counter }} | 44 |{{t.Policy}} | 45 |{{t.customer}} | 46 | 47 |{{t.creation_date}} | 48 |{{t.status}} | 49 | 50 | {% if t.status == 'Pending' %} 51 |52 | 53 | 54 | | 55 | 56 | {% else %} 57 |58 | {{t.status}} | 59 | 60 | 61 | {% endif %} 62 | 63 | 64 |