30 |
{{ errorMessage }}
31 | {% if button %} 32 |33 | 34 | {% endif %} 35 |
36 |
├── Bucks ├── __init__.py ├── __pycache__ │ ├── urls.cpython-37.pyc │ ├── views.cpython-37.pyc │ ├── wsgi.cpython-37.pyc │ ├── __init__.cpython-37.pyc │ └── settings.cpython-37.pyc ├── views.py ├── wsgi.py ├── urls.py └── settings.py ├── repair ├── __init__.py ├── migrations │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-35.pyc │ │ ├── __init__.cpython-36.pyc │ │ ├── __init__.cpython-37.pyc │ │ ├── 0001_initial.cpython-35.pyc │ │ ├── 0001_initial.cpython-36.pyc │ │ ├── 0001_initial.cpython-37.pyc │ │ ├── 0014_trialperiod.cpython-36.pyc │ │ ├── 0014_trialperiod.cpython-37.pyc │ │ ├── 0002_auto_20171112_0848.cpython-35.pyc │ │ ├── 0002_auto_20171112_0848.cpython-36.pyc │ │ ├── 0002_auto_20171112_0848.cpython-37.pyc │ │ ├── 0003_auto_20171113_0128.cpython-35.pyc │ │ ├── 0003_auto_20171113_0128.cpython-36.pyc │ │ ├── 0003_auto_20171113_0128.cpython-37.pyc │ │ ├── 0004_auto_20171113_0530.cpython-35.pyc │ │ ├── 0004_auto_20171113_0530.cpython-36.pyc │ │ ├── 0004_auto_20171113_0530.cpython-37.pyc │ │ ├── 0005_auto_20171113_0647.cpython-35.pyc │ │ ├── 0005_auto_20171113_0647.cpython-36.pyc │ │ ├── 0005_auto_20171113_0647.cpython-37.pyc │ │ ├── 0006_auto_20171115_0518.cpython-35.pyc │ │ ├── 0006_auto_20171115_0518.cpython-36.pyc │ │ ├── 0006_auto_20171115_0518.cpython-37.pyc │ │ ├── 0007_auto_20171118_1230.cpython-36.pyc │ │ ├── 0007_auto_20171118_1230.cpython-37.pyc │ │ ├── 0009_auto_20171118_1535.cpython-36.pyc │ │ ├── 0009_auto_20171118_1535.cpython-37.pyc │ │ ├── 0010_auto_20171118_1537.cpython-36.pyc │ │ ├── 0010_auto_20171118_1537.cpython-37.pyc │ │ ├── 0011_auto_20171118_1824.cpython-36.pyc │ │ ├── 0011_auto_20171118_1824.cpython-37.pyc │ │ ├── 0012_auto_20171119_1603.cpython-36.pyc │ │ ├── 0012_auto_20171119_1603.cpython-37.pyc │ │ ├── 0013_auto_20171122_1150.cpython-36.pyc │ │ ├── 0013_auto_20171122_1150.cpython-37.pyc │ │ ├── 0008_repairdetails_testdetails.cpython-36.pyc │ │ └── 0008_repairdetails_testdetails.cpython-37.pyc │ ├── 0003_auto_20171113_0128.py │ ├── 0004_auto_20171113_0530.py │ ├── 0009_auto_20171118_1535.py │ ├── 0013_auto_20171122_1150.py │ ├── 0002_auto_20171112_0848.py │ ├── 0014_trialperiod.py │ ├── 0011_auto_20171118_1824.py │ ├── 0010_auto_20171118_1537.py │ ├── 0005_auto_20171113_0647.py │ ├── 0012_auto_20171119_1603.py │ ├── 0006_auto_20171115_0518.py │ ├── 0007_auto_20171118_1230.py │ ├── 0001_initial.py │ └── 0008_repairdetails_testdetails.py ├── tests.py ├── static │ ├── img │ │ ├── bg.png │ │ ├── logo.png │ │ └── bgOld.jpg │ ├── fonts │ │ ├── otf │ │ │ ├── GothamRoundedBold.otf │ │ │ ├── GothamRoundedBook.otf │ │ │ ├── GothamRoundedLight.otf │ │ │ └── GothamRoundedMedium.otf │ │ └── ttf │ │ │ ├── GothamRoundedBold.ttf │ │ │ ├── GothamRoundedBook.ttf │ │ │ ├── GothamRoundedLight.ttf │ │ │ └── GothamRoundedMedium.ttf │ └── css │ │ ├── fonts.css │ │ ├── dashboard.css │ │ ├── checkStatusShow.css │ │ ├── receipt.css │ │ ├── form.css │ │ └── style.css ├── apps.py ├── __pycache__ │ ├── admin.cpython-37.pyc │ ├── apps.cpython-37.pyc │ ├── urls.cpython-37.pyc │ ├── views.cpython-37.pyc │ ├── models.cpython-37.pyc │ └── __init__.cpython-37.pyc ├── admin.py ├── urls.py ├── templates │ ├── repair │ │ ├── errorPage.html │ │ ├── finalReceipt.html │ │ ├── enquiryReceipt.html │ │ ├── updateRequest.html │ │ ├── pendingRepairRequest.html │ │ ├── dashboard.html │ │ ├── checkStatusRequest.html │ │ ├── enquiryReceiptFrameContent.html │ │ ├── enquiryForm.html │ │ ├── pendingRepairList.html │ │ ├── finalReceiptFrameContent.html │ │ ├── checkStatusShow.html │ │ └── updateForm.html │ └── index.html ├── models.py └── views.py ├── info.txt ├── .gitattributes ├── db.sqlite3 ├── README.md ├── Pending Tasks.txt └── manage.py /Bucks/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /repair/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /repair/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /info.txt: -------------------------------------------------------------------------------- 1 | Username : boss 2 | Password : boss1234 -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * linguist-vendored 2 | *.py linguist-vendored=false 3 | -------------------------------------------------------------------------------- /db.sqlite3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/db.sqlite3 -------------------------------------------------------------------------------- /repair/tests.py: -------------------------------------------------------------------------------- 1 | from django.test import TestCase 2 | 3 | # Create your tests here. 4 | -------------------------------------------------------------------------------- /repair/static/img/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/static/img/bg.png -------------------------------------------------------------------------------- /repair/static/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/static/img/logo.png -------------------------------------------------------------------------------- /repair/static/img/bgOld.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/static/img/bgOld.jpg -------------------------------------------------------------------------------- /repair/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class RepairConfig(AppConfig): 5 | name = 'repair' 6 | -------------------------------------------------------------------------------- /Bucks/__pycache__/urls.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/Bucks/__pycache__/urls.cpython-37.pyc -------------------------------------------------------------------------------- /Bucks/__pycache__/views.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/Bucks/__pycache__/views.cpython-37.pyc -------------------------------------------------------------------------------- /Bucks/__pycache__/wsgi.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/Bucks/__pycache__/wsgi.cpython-37.pyc -------------------------------------------------------------------------------- /repair/__pycache__/admin.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/__pycache__/admin.cpython-37.pyc -------------------------------------------------------------------------------- /repair/__pycache__/apps.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/__pycache__/apps.cpython-37.pyc -------------------------------------------------------------------------------- /repair/__pycache__/urls.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/__pycache__/urls.cpython-37.pyc -------------------------------------------------------------------------------- /repair/__pycache__/views.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/__pycache__/views.cpython-37.pyc -------------------------------------------------------------------------------- /Bucks/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/Bucks/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /Bucks/__pycache__/settings.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/Bucks/__pycache__/settings.cpython-37.pyc -------------------------------------------------------------------------------- /repair/__pycache__/models.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/__pycache__/models.cpython-37.pyc -------------------------------------------------------------------------------- /repair/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /repair/static/fonts/otf/GothamRoundedBold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/static/fonts/otf/GothamRoundedBold.otf -------------------------------------------------------------------------------- /repair/static/fonts/otf/GothamRoundedBook.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/static/fonts/otf/GothamRoundedBook.otf -------------------------------------------------------------------------------- /repair/static/fonts/otf/GothamRoundedLight.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/static/fonts/otf/GothamRoundedLight.otf -------------------------------------------------------------------------------- /repair/static/fonts/ttf/GothamRoundedBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/static/fonts/ttf/GothamRoundedBold.ttf -------------------------------------------------------------------------------- /repair/static/fonts/ttf/GothamRoundedBook.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/static/fonts/ttf/GothamRoundedBook.ttf -------------------------------------------------------------------------------- /repair/static/fonts/ttf/GothamRoundedLight.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/static/fonts/ttf/GothamRoundedLight.ttf -------------------------------------------------------------------------------- /repair/static/fonts/otf/GothamRoundedMedium.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/static/fonts/otf/GothamRoundedMedium.otf -------------------------------------------------------------------------------- /repair/static/fonts/ttf/GothamRoundedMedium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/static/fonts/ttf/GothamRoundedMedium.ttf -------------------------------------------------------------------------------- /repair/migrations/__pycache__/__init__.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/__init__.cpython-35.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/__init__.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/__init__.cpython-36.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/0001_initial.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/0001_initial.cpython-35.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/0001_initial.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/0001_initial.cpython-36.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/0001_initial.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/0001_initial.cpython-37.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/0014_trialperiod.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/0014_trialperiod.cpython-36.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/0014_trialperiod.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/0014_trialperiod.cpython-37.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/0002_auto_20171112_0848.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/0002_auto_20171112_0848.cpython-35.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/0002_auto_20171112_0848.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/0002_auto_20171112_0848.cpython-36.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/0002_auto_20171112_0848.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/0002_auto_20171112_0848.cpython-37.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/0003_auto_20171113_0128.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/0003_auto_20171113_0128.cpython-35.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/0003_auto_20171113_0128.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/0003_auto_20171113_0128.cpython-36.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/0003_auto_20171113_0128.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/0003_auto_20171113_0128.cpython-37.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/0004_auto_20171113_0530.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/0004_auto_20171113_0530.cpython-35.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/0004_auto_20171113_0530.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/0004_auto_20171113_0530.cpython-36.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/0004_auto_20171113_0530.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/0004_auto_20171113_0530.cpython-37.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/0005_auto_20171113_0647.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/0005_auto_20171113_0647.cpython-35.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/0005_auto_20171113_0647.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/0005_auto_20171113_0647.cpython-36.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/0005_auto_20171113_0647.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/0005_auto_20171113_0647.cpython-37.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/0006_auto_20171115_0518.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/0006_auto_20171115_0518.cpython-35.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/0006_auto_20171115_0518.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/0006_auto_20171115_0518.cpython-36.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/0006_auto_20171115_0518.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/0006_auto_20171115_0518.cpython-37.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/0007_auto_20171118_1230.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/0007_auto_20171118_1230.cpython-36.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/0007_auto_20171118_1230.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/0007_auto_20171118_1230.cpython-37.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/0009_auto_20171118_1535.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/0009_auto_20171118_1535.cpython-36.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/0009_auto_20171118_1535.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/0009_auto_20171118_1535.cpython-37.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/0010_auto_20171118_1537.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/0010_auto_20171118_1537.cpython-36.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/0010_auto_20171118_1537.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/0010_auto_20171118_1537.cpython-37.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/0011_auto_20171118_1824.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/0011_auto_20171118_1824.cpython-36.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/0011_auto_20171118_1824.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/0011_auto_20171118_1824.cpython-37.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/0012_auto_20171119_1603.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/0012_auto_20171119_1603.cpython-36.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/0012_auto_20171119_1603.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/0012_auto_20171119_1603.cpython-37.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/0013_auto_20171122_1150.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/0013_auto_20171122_1150.cpython-36.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/0013_auto_20171122_1150.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/0013_auto_20171122_1150.cpython-37.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/0008_repairdetails_testdetails.cpython-36.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/0008_repairdetails_testdetails.cpython-36.pyc -------------------------------------------------------------------------------- /repair/migrations/__pycache__/0008_repairdetails_testdetails.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nirnejak/store-management-app/HEAD/repair/migrations/__pycache__/0008_repairdetails_testdetails.cpython-37.pyc -------------------------------------------------------------------------------- /Bucks/views.py: -------------------------------------------------------------------------------- 1 | from django.shortcuts import render, render_to_response 2 | from django.http import HttpResponse 3 | 4 | from repair.models import Enquiry 5 | 6 | # Create your views here. 7 | 8 | def homepage(request): 9 | return render(request,'index.html') 10 | #monospace -------------------------------------------------------------------------------- /repair/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | 3 | from repair.models import Enquiry,TestDetail,RepairDetail,trialPeriod 4 | 5 | # Register your models here. 6 | 7 | admin.site.register(Enquiry) 8 | admin.site.register(TestDetail) 9 | admin.site.register(RepairDetail) 10 | admin.site.register(trialPeriod) -------------------------------------------------------------------------------- /Bucks/wsgi.py: -------------------------------------------------------------------------------- 1 | """ 2 | WSGI config for Bucks 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/1.11/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", "Bucks.settings") 15 | 16 | application = get_wsgi_application() 17 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Bucks 2 | A web application powered by Python and Django to manage repair shop. 3 | 4 | 5 | ## Installation and Usage 6 | 7 | ### Clone 8 | Clone the project 9 | ```sh 10 | $ git clone https://github.com/JitendraNirnejak/bucks.git 11 | $ cd bucks 12 | ``` 13 | 14 | ### Install Dependencies 15 | Install Django in your environment : 16 | 17 | **For Windows :** 18 | ```sh 19 | $ pip install django 20 | ``` 21 | **For Linux :** 22 | ```sh 23 | $ pip3 install django 24 | ``` 25 | 26 | ### Start the server 27 | ```sh 28 | $ python manage.py runserver 29 | ``` 30 | -------------------------------------------------------------------------------- /repair/migrations/0003_auto_20171113_0128.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by Django 1.11.7 on 2017-11-12 19:58 3 | from __future__ import unicode_literals 4 | 5 | from django.db import migrations 6 | 7 | 8 | class Migration(migrations.Migration): 9 | 10 | dependencies = [ 11 | ('repair', '0002_auto_20171112_0848'), 12 | ] 13 | 14 | operations = [ 15 | migrations.RenameField( 16 | model_name='enquiry', 17 | old_name='deviceName', 18 | new_name='deviceModel', 19 | ), 20 | ] 21 | -------------------------------------------------------------------------------- /repair/migrations/0004_auto_20171113_0530.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by Django 1.11.7 on 2017-11-13 00:00 3 | from __future__ import unicode_literals 4 | 5 | from django.db import migrations, models 6 | 7 | 8 | class Migration(migrations.Migration): 9 | 10 | dependencies = [ 11 | ('repair', '0003_auto_20171113_0128'), 12 | ] 13 | 14 | operations = [ 15 | migrations.AlterField( 16 | model_name='enquiry', 17 | name='enquiryDate', 18 | field=models.DateField(), 19 | ), 20 | ] 21 | -------------------------------------------------------------------------------- /repair/static/css/fonts.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: "gotham rounded bold"; 3 | src: url('../fonts/otf/GothamRoundedBold.otf') format("opentype"); 4 | } 5 | 6 | @font-face { 7 | font-family: "gotham rounded medium"; 8 | src: url('../fonts/otf/GothamRoundedMedium.otf') format("opentype"); 9 | } 10 | 11 | @font-face { 12 | font-family: "gotham rounded book"; 13 | src: url('../fonts/otf/GothamRoundedBook.otf') format("opentype"); 14 | } 15 | 16 | @font-face { 17 | font-family: "gotham rounded light"; 18 | src: url('../fonts/otf/GothamRoundedLight.otf') format("opentype"); 19 | } -------------------------------------------------------------------------------- /repair/migrations/0009_auto_20171118_1535.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by Django 1.11.7 on 2017-11-18 10:05 3 | from __future__ import unicode_literals 4 | 5 | from django.db import migrations 6 | 7 | 8 | class Migration(migrations.Migration): 9 | 10 | dependencies = [ 11 | ('repair', '0008_repairdetails_testdetails'), 12 | ] 13 | 14 | operations = [ 15 | migrations.RenameModel( 16 | old_name='repairDetails', 17 | new_name='RepairDetail', 18 | ), 19 | migrations.RenameModel( 20 | old_name='testDetails', 21 | new_name='TestDetail', 22 | ), 23 | ] 24 | -------------------------------------------------------------------------------- /repair/migrations/0013_auto_20171122_1150.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by Django 1.11.7 on 2017-11-22 06:20 3 | from __future__ import unicode_literals 4 | 5 | from django.db import migrations, models 6 | 7 | 8 | class Migration(migrations.Migration): 9 | 10 | dependencies = [ 11 | ('repair', '0012_auto_20171119_1603'), 12 | ] 13 | 14 | operations = [ 15 | migrations.AlterField( 16 | model_name='enquiry', 17 | name='status', 18 | field=models.CharField(choices=[('EN', 'Enquired'), ('CH', 'Checked'), ('RE', 'Repaired'), ('CO', 'Completed'), ('RJ', 'Rejected')], default='EN', max_length=3), 19 | ), 20 | ] 21 | -------------------------------------------------------------------------------- /Pending Tasks.txt: -------------------------------------------------------------------------------- 1 | Models - checkingDetais(Model), repairDetails(Model) 2 | 3 | EnquiryReceipt - 4 | Disclaimer, 5 | Customer Signature(Alignment - Bottom Left), 6 | Old Computer Depot(Alignment - Bottom Right) 7 | Condition Fetch from Database 8 | 9 | checkStatusRequest - 10 | Reduce Distance Between Cards 11 | 12 | checkStatusShow - 13 | Reduce Distance Between Cards 14 | Add More Information 15 | Fetch Data for checkingDetails 16 | Fetch Data for repairDetails 17 | updateForm - 18 | Reduce Distance Between Cards 19 | Bottom Cards in new Section with flex-direction : row 20 | pendingRequest - 21 | today, this week, this month (JavaScript)+(Button Style) 22 | pendingList - 23 | Style -------------------------------------------------------------------------------- /repair/migrations/0002_auto_20171112_0848.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by Django 1.11.7 on 2017-11-12 03:18 3 | from __future__ import unicode_literals 4 | 5 | from django.db import migrations, models 6 | 7 | 8 | class Migration(migrations.Migration): 9 | 10 | dependencies = [ 11 | ('repair', '0001_initial'), 12 | ] 13 | 14 | operations = [ 15 | migrations.RemoveField( 16 | model_name='enquiry', 17 | name='id', 18 | ), 19 | migrations.AlterField( 20 | model_name='enquiry', 21 | name='receiptID', 22 | field=models.AutoField(primary_key=True, serialize=False), 23 | ), 24 | ] 25 | -------------------------------------------------------------------------------- /repair/migrations/0014_trialperiod.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by Django 1.11.7 on 2017-11-22 11:31 3 | from __future__ import unicode_literals 4 | 5 | from django.db import migrations, models 6 | 7 | 8 | class Migration(migrations.Migration): 9 | 10 | dependencies = [ 11 | ('repair', '0013_auto_20171122_1150'), 12 | ] 13 | 14 | operations = [ 15 | migrations.CreateModel( 16 | name='trialPeriod', 17 | fields=[ 18 | ('ID', models.AutoField(primary_key=True, serialize=False)), 19 | ('counter', models.IntegerField()), 20 | ('date', models.DateField()), 21 | ], 22 | ), 23 | ] 24 | -------------------------------------------------------------------------------- /repair/migrations/0011_auto_20171118_1824.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by Django 1.11.7 on 2017-11-18 12:54 3 | from __future__ import unicode_literals 4 | 5 | from django.db import migrations 6 | 7 | 8 | class Migration(migrations.Migration): 9 | 10 | dependencies = [ 11 | ('repair', '0010_auto_20171118_1537'), 12 | ] 13 | 14 | operations = [ 15 | migrations.RenameField( 16 | model_name='repairdetail', 17 | old_name='receiptID', 18 | new_name='Enquiry', 19 | ), 20 | migrations.RenameField( 21 | model_name='testdetail', 22 | old_name='receiptID', 23 | new_name='Enquiry', 24 | ), 25 | ] 26 | -------------------------------------------------------------------------------- /repair/migrations/0010_auto_20171118_1537.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by Django 1.11.7 on 2017-11-18 10:07 3 | from __future__ import unicode_literals 4 | 5 | from django.db import migrations, models 6 | 7 | 8 | class Migration(migrations.Migration): 9 | 10 | dependencies = [ 11 | ('repair', '0009_auto_20171118_1535'), 12 | ] 13 | 14 | operations = [ 15 | migrations.AlterField( 16 | model_name='repairdetail', 17 | name='otherCharge', 18 | field=models.IntegerField(blank=True), 19 | ), 20 | migrations.AlterField( 21 | model_name='repairdetail', 22 | name='repairCharge', 23 | field=models.IntegerField(blank=True), 24 | ), 25 | ] 26 | -------------------------------------------------------------------------------- /repair/urls.py: -------------------------------------------------------------------------------- 1 | from django.conf.urls import url 2 | 3 | from .views import * 4 | 5 | urlpatterns = [ 6 | url(r'^$', dashboard), 7 | url(r'^enquiryForm/', enquiryForm), 8 | url(r'^enquiryReceipt/', enquiryReceipt), 9 | url(r'^enquiryReceiptFrameContent/',enquiryReceiptFrameContent), 10 | url(r'^updateRequest/', updateRequest), 11 | url(r'^updateForm/', updateForm), 12 | url(r'^updateTestDetails/',updateTestDetails), 13 | url(r'^updateRepairDetails/',updateRepairDetails), 14 | url(r'^finalReceipt/', finalReceipt), 15 | url(r'^finalReceiptFrameContent/',finalReceiptFrameContent), 16 | url(r'^pendingRepairRequest/', pendingRepairRequest), 17 | url(r'^pendingRepairList/', pendingRepairList), 18 | url(r'^checkStatusRequest/', checkStatusRequest), 19 | url(r'^checkStatusShow/', checkStatusShow), 20 | ] -------------------------------------------------------------------------------- /repair/static/css/dashboard.css: -------------------------------------------------------------------------------- 1 | .card{ 2 | max-width: 300px; 3 | min-width: 300px; 4 | max-height: 100px; 5 | min-height: 100px; 6 | 7 | display: flex; 8 | justify-content: center; 9 | text-align: center; 10 | align-self: center; 11 | align-items: flex-end; 12 | 13 | padding-bottom: 27px; 14 | 15 | color: white; 16 | background: linear-gradient(45deg,#2196f3,#683BB7); 17 | 18 | border-radius: 0.3em; 19 | 20 | box-shadow: 0px 3px 6px rgba(0,0,0,0.16), 0px 3px 6px rgba(0,0,0,0.23); 21 | transition: all 0.2s cubic-bezier(.25,.8,.25,.1); 22 | 23 | animation-duration: .75s; 24 | animation-name: fadeInUp; 25 | transform-origin: center middle; 26 | } 27 | .card:hover{ 28 | box-shadow: 0px 14px 28px rgba(0,0,0,0.25), 0px 10px 10px rgba(0,0,0,0.22); 29 | transform: scale(1.02); 30 | } -------------------------------------------------------------------------------- /repair/migrations/0005_auto_20171113_0647.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by Django 1.11.7 on 2017-11-13 01:17 3 | from __future__ import unicode_literals 4 | 5 | from django.db import migrations, models 6 | 7 | 8 | class Migration(migrations.Migration): 9 | 10 | dependencies = [ 11 | ('repair', '0004_auto_20171113_0530'), 12 | ] 13 | 14 | operations = [ 15 | migrations.AlterField( 16 | model_name='enquiry', 17 | name='contactNo', 18 | field=models.CharField(max_length=20), 19 | ), 20 | migrations.AlterField( 21 | model_name='enquiry', 22 | name='problemCategory', 23 | field=models.CharField(choices=[('HW', 'Hardware'), ('SW', 'Software')], max_length=50), 24 | ), 25 | ] 26 | -------------------------------------------------------------------------------- /repair/migrations/0012_auto_20171119_1603.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by Django 1.11.7 on 2017-11-19 10:33 3 | from __future__ import unicode_literals 4 | 5 | from django.db import migrations, models 6 | 7 | 8 | class Migration(migrations.Migration): 9 | 10 | dependencies = [ 11 | ('repair', '0011_auto_20171118_1824'), 12 | ] 13 | 14 | operations = [ 15 | migrations.RenameField( 16 | model_name='enquiry', 17 | old_name='condition', 18 | new_name='deviceCondition', 19 | ), 20 | migrations.AlterField( 21 | model_name='enquiry', 22 | name='status', 23 | field=models.CharField(choices=[('EN', 'Enquired'), ('CH', 'Checked'), ('RE', 'Repaired'), ('DO', 'Done'), ('RJ', 'Rejected')], default='EN', max_length=3), 24 | ), 25 | ] 26 | -------------------------------------------------------------------------------- /manage.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | import os 3 | import sys 4 | 5 | if __name__ == "__main__": 6 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "Bucks.settings") 7 | try: 8 | from django.core.management import execute_from_command_line 9 | except ImportError: 10 | # The above import may fail for some other reason. Ensure that the 11 | # issue is really that Django is missing to avoid masking other 12 | # exceptions on Python 2. 13 | try: 14 | import django 15 | except ImportError: 16 | raise ImportError( 17 | "Couldn't import Django. Are you sure it's installed and " 18 | "available on your PYTHONPATH environment variable? Did you " 19 | "forget to activate a virtual environment?" 20 | ) 21 | raise 22 | execute_from_command_line(sys.argv) 23 | -------------------------------------------------------------------------------- /Bucks/urls.py: -------------------------------------------------------------------------------- 1 | """Bucks URL Configuration 2 | 3 | The `urlpatterns` list routes URLs to views. For more information please see: 4 | https://docs.djangoproject.com/en/1.11/topics/http/urls/ 5 | Examples: 6 | Function views 7 | 1. Add an import: from my_app import views 8 | 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') 9 | Class-based views 10 | 1. Add an import: from other_app.views import Home 11 | 2. Add a URL to urlpatterns: url(r'^$', Home.as_view(), name='home') 12 | Including another URLconf 13 | 1. Import the include() function: from django.conf.urls import url, include 14 | 2. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls')) 15 | """ 16 | from django.conf.urls import url, include 17 | from django.contrib import admin 18 | 19 | admin.site.site_header = 'Old Computer Depot' 20 | admin.site.site_title = 'Old Computer Depot' 21 | 22 | from Bucks.views import homepage 23 | 24 | urlpatterns = [ 25 | url(r'^admin/', admin.site.urls), 26 | url(r'^admin/docs/', include('django.contrib.admindocs.urls')), 27 | 28 | url(r'^$',homepage), 29 | url(r'^repair/', include('repair.urls')), 30 | ] -------------------------------------------------------------------------------- /repair/migrations/0006_auto_20171115_0518.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | # Generated by Django 1.11.7 on 2017-11-14 23:48 3 | from __future__ import unicode_literals 4 | 5 | from django.db import migrations, models 6 | 7 | 8 | class Migration(migrations.Migration): 9 | 10 | dependencies = [ 11 | ('repair', '0005_auto_20171113_0647'), 12 | ] 13 | 14 | operations = [ 15 | migrations.AddField( 16 | model_name='enquiry', 17 | name='status', 18 | field=models.CharField(choices=[('EN', 'Enquired'), ('CH', 'Checked'), ('RE', 'Repaired')], default='EN', max_length=3), 19 | ), 20 | migrations.AlterField( 21 | model_name='enquiry', 22 | name='address', 23 | field=models.TextField(blank=True), 24 | ), 25 | migrations.AlterField( 26 | model_name='enquiry', 27 | name='problemCategory', 28 | field=models.CharField(choices=[('HW', 'Hardware'), ('SW', 'Software')], max_length=3), 29 | ), 30 | migrations.AlterField( 31 | model_name='enquiry', 32 | name='problemDescription', 33 | field=models.TextField(blank=True), 34 | ), 35 | ] 36 | -------------------------------------------------------------------------------- /repair/templates/repair/errorPage.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |SALES - SERVICE - REPAIR - RENT - BYBACK
28 |ध्यान दें :-
49 |1. कृप्या इस रसीद को माल ले जाते वक्त साथ लावे|
50 |2. 10 दिन के भीतर सामान ले जावे , अन्यथा हमारी जवाबदारी नहीं होगी।
51 |3. अपने उपकरण को रिपेयर, सर्विस के लिए देते वक्त अपना डाटा सुरक्षित रखे, डाटा डिलीट होने पर हमारी जवाबदारी नहीं होगी।
52 |4. रिपेयर होने के पश्यात आपके उपकरण में कोई और परेशानी आती है तो उसकी जवाबदारी हमारी नहीं होगी।
53 |Pending Repair Tasks |
79 | |||||
|---|---|---|---|---|---|
| Receipt ID | 82 |Enquiry Date | 83 |Device | 84 |Device Type | 85 |Problem | 86 ||
SALES - SERVICE - REPAIR - RENT - BYBACK
27 |Receipt ID : {{ i.receiptID }}
28 |Status : 31 | {% ifequal "EN" i.status %} 32 | Enquired 33 | {% endifequal %} 34 | {% ifequal "CH" i.status %} 35 | Checked 36 | {% endifequal %} 37 | {% ifequal "RE" i.status %} 38 | Repaired 39 | {% endifequal %} 40 | {% ifequal "CO" i.status %} 41 | Completed 42 | {% endifequal %} 43 |
44 | 45 | 46 |Enquiry Date : {{ i.enquiryDate }}
49 |{{ i.customerName }}
55 |{{i.brand}} {{i.deviceModel}}
59 |Serial No. : {{ i.serialNo }}
62 |{{ i.contactNo }}
70 |{{ i.email }}
73 |{{ i.address }}
76 |Problem : {{ i.problem }}
84 |Problem Category : 87 | {% ifequal "HW" i.problemCategory %} 88 | Hardware 89 | {% endifequal %} 90 | {% ifequal "SW" i.problemCategory %} 91 | Software 92 | {% endifequal %} 93 |
94 |Problem Description : {{ i.problemDescription }}
99 |Device Condition : {{ i.deviceCondition }}
103 |Actual Problem
113 |Actual Problem : {{ i.actualProblem }}
116 |Actual Problem Description : {{ i.actualProblemDescription }}
117 | {% endfor %} 118 |Actual Problem
123 |No Details Available : Device is not checked
125 |Repair Description
145 |Components Used |
153 | |||||
|---|---|---|---|---|---|
| Components | 156 |Price | 157 |||||
| {{ j }} | 162 | {% endfor %} 163 ||||||
| Total | 167 |{{ componentsUsedPriceTotal }} | 168 |||||
Total Price |
180 | |||||
|---|---|---|---|---|---|
| Services | 183 |Price | 184 |||||
| Components Used Charge | 187 |{% if componentsUsedPriceTotal %} {{ componentsUsedPriceTotal }} {% else %} 0 {% endif %} | 188 |||||
| Repair Charge | 191 |{% for i in repairDetails %}{{ i.repairCharge }}{% endfor %} | 192 |||||
| Other Charge | 195 |{% for i in repairDetails %}{{ i.otherCharge }}{% endfor %} | 196 |||||
| Total Repair Charge | 199 |{% for i in repairDetails %}{{ i.totalPrice }}{% endfor %} | 200 |||||
| Advance | 203 |{% for i in customerDetails %}{{ i.advance }}{% endfor %} | 204 |||||
| Balance | 207 |{{ balance }} | 208 |||||
Repair Details
220 |No Details Available : Device is not repaired
222 |Receipt ID : {{ i.receiptID }}
109 |Status : 112 | {% ifequal "EN" i.status %} 113 | Enquired 114 | {% endifequal %} 115 | {% ifequal "CH" i.status %} 116 | Checked 117 | {% endifequal %} 118 | {% ifequal "RE" i.status %} 119 | Repaired 120 | {% endifequal %} 121 | {% ifequal "CO" i.status %} 122 | Completed 123 | {% endifequal %} 124 |
125 | 126 | 127 |Enquiry Date : {{ i.enquiryDate }}
130 |{{ i.customerName }}
136 |{{i.brand}} {{i.deviceModel}}
140 |Serial No. : {{ i.serialNo }}
143 |{{ i.contactNo }}
151 |{{ i.email }}
154 |{{ i.address }}
157 |Problem : {{ i.problem }}
165 |Problem Category : 168 | {% ifequal "HW" i.problemCategory %} 169 | Hardware 170 | {% endifequal %} 171 | {% ifequal "SW" i.problemCategory %} 172 | Software 173 | {% endifequal %} 174 |
175 |Problem Description : {{ i.problemDescription }}
180 |Device Condition : {{ i.deviceCondition }}
184 |Actual Problem
193 |Actual Problem : {{ i.actualProblem }}
196 |Actual Problem Description : {{ i.actualProblemDescription }}
197 | {% endfor %} 198 |Repair Description
224 |Components Used |
232 | |||||
|---|---|---|---|---|---|
| Components | 235 |Price | 236 |||||
| {{ j }} | 241 | {% endfor %} 242 ||||||
| Total | 246 |{{ componentsUsedPriceTotal }} | 247 |||||
Total Price |
259 | |||||
|---|---|---|---|---|---|
| Services | 262 |Price | 263 |||||
| Components Used Charge | 266 |{% if componentsUsedPriceTotal %} {{ componentsUsedPriceTotal }} {% else %} 0 {% endif %} | 267 |||||
| Repair Charge | 270 |{% for i in repairDetails %}{{ i.repairCharge }}{% endfor %} | 271 |||||
| Other Charge | 274 |{% for i in repairDetails %}{{ i.otherCharge }}{% endfor %} | 275 |||||
| Total Repair Charge | 278 |{% for i in repairDetails %}{{ i.totalPrice }}{% endfor %} | 279 |||||
| Advance | 282 |{% for i in customerDetails %}{{ i.advance }}{% endfor %} | 283 |||||
| Balance | 286 |{{ balance }} | 287 |||||