Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ac : added functionality to run payroll button in finance and accounts #1275

Open
wants to merge 295 commits into
base: ac
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
295 commits
Select commit Hold shift + click to select a range
fd53b1e
(ac-4): week 4: fixed HOD leave module and some bugs in the student l…
Lawful2002 Mar 4, 2023
c326956
gad-3 : workers would be assigned by Section Incharge instead of Care…
ujjawallele13 Mar 5, 2023
d92c8c2
SA-2 :Query Optimization (#1134)
theparasgami Mar 12, 2023
7381abc
added admin module in dashboard list
vanshul02 Mar 12, 2023
1a43ec4
Merge branch 'main' into ps-1
akshatnema Mar 12, 2023
f63e670
Ps1 asgn 3 (#1043)
kanha638 Mar 12, 2023
0a7f890
ps1 : week 4 : /stock_login route is working now (#1074)
kanha638 Mar 12, 2023
db4e8ac
PS1 : Week 1 : Issue #986 resolved (#987)
kanha638 Mar 12, 2023
4d7e4bb
gad-3: Week7 : fixed the notification and re-assign worker button iss…
ujjawallele13 Mar 13, 2023
85b8b47
Merge branch 'main' into os-4
akshatnema Mar 13, 2023
8a63881
ac-3 : week-5 : Fixed Assignment and slide upload and download by Ins…
tech-akash Mar 14, 2023
e985383
Merge branch 'main' into ac-3
akshatnema Mar 14, 2023
e57469d
Merge branch 'main' into os-4
akshatnema Mar 14, 2023
a37e0ae
Merge pull request #1150 from FusionIIIT/main
yatharthagoenka Mar 14, 2023
4abf495
auto-restart docker (#1147)
Aksh-Bansal-dev Mar 14, 2023
0cc61d2
Merge branch 'main' into gad-3
akshatnema Mar 15, 2023
e856260
Merge branch 'main' into ac-1
akshatnema Mar 15, 2023
f337d6a
Merge pull request #1151 from FusionIIIT/main
yatharthagoenka Mar 15, 2023
0df8bfe
Merge branch 'main' into ac-2
akshatnema Mar 15, 2023
d869bf2
Merge branch 'main' into ac-4
akshatnema Mar 15, 2023
ae6a748
Merge branch 'main' into gad-1
akshatnema Mar 15, 2023
99c1111
Merge branch 'main' into gad-2
akshatnema Mar 15, 2023
4ca90b3
Merge branch 'main' into gad-4
akshatnema Mar 15, 2023
e202745
Merge branch 'main' into os-1
akshatnema Mar 15, 2023
c7c0e72
Merge branch 'main' into os-3
akshatnema Mar 15, 2023
8e62975
Merge branch 'main' into sa-1
akshatnema Mar 15, 2023
921b8ba
Merge branch 'main' into sa-3
akshatnema Mar 15, 2023
b736dbb
Merge branch 'main' into rspc
akshatnema Mar 15, 2023
9af2a66
Merge branch 'main' into test
akshatnema Mar 15, 2023
0c4e1c6
Merge branch 'main' into ps-1
akshatnema Mar 15, 2023
f98002d
simplify docker-compose setup (#1129)
Aksh-Bansal-dev Mar 3, 2023
2e8bc10
auto-restart docker (#1147)
Aksh-Bansal-dev Mar 14, 2023
d747e3f
Merge branch 'main' into ac-1
akshatnema Mar 15, 2023
2a037b8
Merge branch 'main' into ac-2
akshatnema Mar 15, 2023
182a220
Merge branch 'main' into ac-3
akshatnema Mar 15, 2023
e790ca5
Merge branch 'main' into ac-4
akshatnema Mar 15, 2023
3a117bb
Merge branch 'main' into ac-5
akshatnema Mar 15, 2023
e28963d
Merge branch 'main' into gad-1
akshatnema Mar 15, 2023
360abd5
merge issue resolved
akshatnema Mar 15, 2023
ef83d1e
Merge branch 'main' into gad-2
akshatnema Mar 15, 2023
6db87c4
Merge branch 'main' into gad-3
akshatnema Mar 15, 2023
33b55f6
Merge branch 'main' into gad-4
akshatnema Mar 15, 2023
5101420
Merge branch 'main' into os-1
akshatnema Mar 15, 2023
aacd7ff
Merge branch 'main' into os-4
akshatnema Mar 15, 2023
b5605d8
Merge branch 'main' into sa-1
akshatnema Mar 15, 2023
6471c8e
Merge branch 'main' into sa-2
akshatnema Mar 15, 2023
825771f
Merge branch 'main' into sa-3
akshatnema Mar 15, 2023
cc44215
Merge branch 'main' into ps-1
akshatnema Mar 15, 2023
a510bd0
Merge branch 'main' into ps-2
akshatnema Mar 15, 2023
b7506a3
Merge branch 'main' into rspc
akshatnema Mar 15, 2023
15aeb39
add db migration files (#1153)
Aksh-Bansal-dev Mar 15, 2023
d8aca4d
rspc : week_7 : Enabled EIS Module (#1149)
Devendra072002 Mar 15, 2023
1a78289
Merge branch 'main' into ac-1
akshatnema Mar 18, 2023
4c842d5
Merge branch 'main' into ac-2
akshatnema Mar 18, 2023
1be8bba
Merge branch 'main' into ac-3
akshatnema Mar 18, 2023
0706857
Merge branch 'main' into ac-4
akshatnema Mar 18, 2023
e3b685c
Merge branch 'main' into ac-5
akshatnema Mar 18, 2023
7ff9448
Merge branch 'main' into gad-1
akshatnema Mar 18, 2023
7a56dae
Merge branch 'main' into gad-2
akshatnema Mar 18, 2023
c91ec0c
Merge branch 'main' into gad-3
akshatnema Mar 18, 2023
304f45b
Merge branch 'main' into gad-4
akshatnema Mar 18, 2023
405d82f
Merge branch 'main' into os-1
akshatnema Mar 18, 2023
4c10b59
add db migration files (#1153)
Aksh-Bansal-dev Mar 15, 2023
da88225
Merge branch 'main' into os-3
akshatnema Mar 18, 2023
8ce95d9
Merge branch 'main' into os-4
akshatnema Mar 18, 2023
c87641e
Merge branch 'main' into sa-1
akshatnema Mar 18, 2023
6f82ada
Merge branch 'main' into sa-2
akshatnema Mar 18, 2023
0f5aadf
Merge branch 'main' into sa-3
akshatnema Mar 18, 2023
253727c
Merge branch 'main' into ps-1
akshatnema Mar 18, 2023
c788bcb
Merge branch 'main' into ps-2
akshatnema Mar 18, 2023
c43b151
Merge branch 'main' into rspc
akshatnema Mar 18, 2023
985becc
Merge branch 'main' into test
akshatnema Mar 18, 2023
691ff49
ps-2 : Week 2&4 :Initial Deployment of PS2 (#1089)
gaganmeena05 Mar 18, 2023
7c08c83
Gad1 : Week5-6 : Created APIs for department module (#1161)
CHOUHAN-MOHIT Mar 19, 2023
5ebac6b
PS-1: Week-7: Item and IndentFile2 table has been added in database (…
Shiv2708 Mar 19, 2023
5ab8fa2
Merge branch 'main' into ac-1
akshatnema Mar 19, 2023
bfca3e9
Merge branch 'main' into ac-2
akshatnema Mar 19, 2023
3476583
Merge branch 'main' into ac-3
akshatnema Mar 19, 2023
9542057
Merge branch 'main' into ac-4
akshatnema Mar 19, 2023
1bfe8f2
Merge branch 'main' into ac-5
akshatnema Mar 19, 2023
ba47708
Merge branch 'main' into gad-1
akshatnema Mar 19, 2023
19ac54f
Merge branch 'main' into gad-2
akshatnema Mar 19, 2023
4821144
Merge branch 'main' into gad-3
akshatnema Mar 19, 2023
2f9017d
Merge branch 'main' into gad-4
akshatnema Mar 19, 2023
0c0ea14
Merge branch 'main' into os-1
akshatnema Mar 19, 2023
d157e71
Merge branch 'main' into os-3
akshatnema Mar 19, 2023
24791f0
Merge branch 'main' into os-4
akshatnema Mar 19, 2023
c12e6d6
Merge branch 'main' into sa-1
akshatnema Mar 19, 2023
773d2a8
Merge branch 'main' into sa-2
akshatnema Mar 19, 2023
e07f841
Merge branch 'main' into sa-3
akshatnema Mar 19, 2023
5c920cf
Merge branch 'test-temp' into hr
manavdesai27 Mar 20, 2023
c2e2e8e
Merge branch 'test-temp' into os-2
akshatnema Mar 20, 2023
54bf66d
OS -2 : Week 4 : Addition of important personal information during bo…
Apc010101 Mar 20, 2023
1b6f34b
gad-3 : week-8 : db migrations after adding Section Incharge (#1173)
ujjawallele13 Mar 21, 2023
41ac891
Ps1 : Week 7 : Dev -> endpoint created for filing indent with multipl…
kanha638 Mar 21, 2023
71a5cd0
Merge branch 'main' into ac-1
akshatnema Mar 23, 2023
115d684
Merge branch 'main' into ac-2
akshatnema Mar 23, 2023
6fedb87
Merge branch 'main' into ac-3
akshatnema Mar 23, 2023
79c162d
Merge branch 'main' into ac-4
akshatnema Mar 23, 2023
d0ba062
Merge branch 'main' into ac-5
akshatnema Mar 23, 2023
5464488
Merge branch 'main' into gad-1
akshatnema Mar 23, 2023
0a867e2
Merge branch 'main' into gad-2
akshatnema Mar 23, 2023
ecc0619
Merge branch 'main' into gad-3
akshatnema Mar 23, 2023
b1482e1
Merge branch 'main' into gad-4
akshatnema Mar 23, 2023
859c115
Merge branch 'main' into os-1
akshatnema Mar 23, 2023
7f0341a
Merge branch 'main' into os-2
akshatnema Mar 23, 2023
cc2bfd8
Merge branch 'main' into os-3
akshatnema Mar 23, 2023
b249f88
Merge branch 'main' into os-4
akshatnema Mar 23, 2023
ce32c1f
Merge branch 'main' into sa-1
akshatnema Mar 23, 2023
30e64e4
Merge branch 'main' into sa-2
akshatnema Mar 23, 2023
8a3d4cb
Merge branch 'main' into sa-3
akshatnema Mar 23, 2023
d736c04
Merge branch 'main' into ps-1
akshatnema Mar 23, 2023
0f995ef
Merge branch 'main' into ps-2
akshatnema Mar 23, 2023
81bf148
Merge branch 'main' into hr
akshatnema Mar 23, 2023
d5473c7
Merge branch 'main' into rspc
akshatnema Mar 23, 2023
db32743
Merge branch 'main' into test
akshatnema Mar 23, 2023
a3c844c
Sa-2: Week 8: Created Api's (#1172)
Mayankingale123 Mar 24, 2023
439399b
gad-3 : week8 : remove wrong dependency to globals. (#1178)
ujjawallele13 Mar 24, 2023
88cc68e
ps2: week 7-8: build user interface with basic api integration (#1170)
Pulkit007 Mar 25, 2023
18b2a1b
AC-2: Replaced .xlsx file with .xls file (#1124)
Anunaya07 Mar 25, 2023
5516084
SA3: Add try except for curr_club. (#1160)
brijsiyag Mar 25, 2023
6a48eac
SA3: add api for new club. (#1167)
brijsiyag Mar 25, 2023
9dcf6c5
SA3: remove duplicate imports. (#1168)
brijsiyag Mar 25, 2023
728c72b
SA3: Bug fixes and formatting in templates. (#1175)
brijsiyag Mar 25, 2023
fe92453
ps-1 : Week 8 : Indent drafts list and view endpoint + ui created for…
kanha638 Mar 26, 2023
5535dd4
gad-2: improved CSS of page_1 and corrigendum of IWD module (#1112)
jayant26 Mar 26, 2023
394e0e3
Merge branch 'main' into ac-1
akshatnema Mar 26, 2023
e8a612e
Merge branch 'main' into ac-2
akshatnema Mar 26, 2023
081f35c
Merge branch 'main' into ac-3
akshatnema Mar 26, 2023
7effb97
Merge branch 'main' into ac-4
akshatnema Mar 26, 2023
4831f8d
Merge branch 'main' into ac-5
akshatnema Mar 26, 2023
1ee96a8
Merge branch 'main' into gad-1
akshatnema Mar 26, 2023
5de2ff2
Merge branch 'main' into gad-2
akshatnema Mar 26, 2023
2b007db
Merge branch 'main' into gad-3
akshatnema Mar 26, 2023
ee8f6be
Merge branch 'main' into gad-4
akshatnema Mar 26, 2023
231b385
Merge branch 'main' into os-1
akshatnema Mar 26, 2023
a2b8539
Merge branch 'main' into os-2
akshatnema Mar 26, 2023
162b13b
Merge branch 'main' into os-3
akshatnema Mar 26, 2023
0332f87
Merge branch 'main' into os-4
akshatnema Mar 26, 2023
bb8cb09
Merge branch 'main' into sa-1
akshatnema Mar 26, 2023
82040e5
Merge branch 'main' into sa-2
akshatnema Mar 26, 2023
114ff41
Merge branch 'main' into sa-3
akshatnema Mar 26, 2023
8dea80c
Merge branch 'main' into ps-1
akshatnema Mar 26, 2023
960d0fe
Merge branch 'main' into ps-2
akshatnema Mar 26, 2023
47bf14b
Merge branch 'main' into hr
akshatnema Mar 26, 2023
e34a2ab
Merge branch 'main' into rspc
akshatnema Mar 26, 2023
37fa399
Merge branch 'main' into test
akshatnema Mar 26, 2023
2ab3668
Merge branch 'ps-1' into test
akshatnema Mar 26, 2023
c900bea
Merge branch 'ps-2' into test
akshatnema Mar 26, 2023
016cf82
Merge branch 'hr' into test
akshatnema Mar 26, 2023
b2ce5a3
Merge branch 'rspc' into test
akshatnema Mar 26, 2023
703688c
Merge branch 'ac' into test
akshatnema Mar 26, 2023
a0a926a
Merge branch 'ac-1' into test
akshatnema Mar 26, 2023
ac2768b
Merge branch 'ac-2' into test
akshatnema Mar 26, 2023
e2d9f14
Merge branch 'ac-3' into test
akshatnema Mar 26, 2023
855011d
Merge branch 'ac-4' into test
akshatnema Mar 26, 2023
2b48c05
Merge branch 'ac-5' into test
akshatnema Mar 26, 2023
1fe928e
Merge branch 'gad-1' into test
akshatnema Mar 26, 2023
dd5b585
Merge branch 'gad-2' into test
akshatnema Mar 26, 2023
98cdf5d
Merge branch 'gad-3' into test
akshatnema Mar 26, 2023
2499b65
Merge branch 'gad-4' into test
akshatnema Mar 26, 2023
a85b31e
Merge branch 'os-1' into test
akshatnema Mar 26, 2023
83056d2
Merge branch 'os-2' into test
akshatnema Mar 26, 2023
e23a750
Merge branch 'os-3' into test
akshatnema Mar 26, 2023
1877583
Merge branch 'os-4' into test
akshatnema Mar 26, 2023
0356d49
Merge branch 'sa-1' into test
akshatnema Mar 26, 2023
1968589
Merge branch 'sa-2' into test
akshatnema Mar 26, 2023
a0c6dd3
Merge branch 'sa-3' into test
akshatnema Mar 26, 2023
fbbfe95
ac-5: changes_in _getCommonParams (#1015)
abhi45ram Mar 26, 2023
ef5f7d3
PS-1 : #1187 issue resolved (#1188)
kanha638 Mar 27, 2023
ff33420
(ac-4) - Migrations for week 4 PR (#1186)
Lawful2002 Mar 27, 2023
4f78ec8
Fix #1041: OS-2 - Web - User Interface in History Section (#1042)
divyanshkhetan Mar 28, 2023
973342f
(ac-4) - made ac-4 leave module responsive (#1154)
Lawful2002 Mar 28, 2023
b188736
GAD-5: Fix responsiveness (#1125)
Lawful2002 Feb 23, 2023
76d6ad6
sa-4 : 4 : all-changes-till-now (#1115)
Smeetiiitdmj Feb 23, 2023
aa3dc9b
ac-2: Added time feature in pre registration (#1182)
Anunaya07 Mar 30, 2023
212682b
Revert "ac-2: Added time feature in pre registration" (#1196)
akshatnema Mar 30, 2023
ac2f3e9
GAD-1 Week-6: Some changes in depertment lending page (#1180)
CHOUHAN-MOHIT Apr 1, 2023
dda6cae
OS -1 : week 8 issue no : 1162 responsiveness added (#1197)
harsh-k-singh Apr 1, 2023
30c4477
PS-1 : Changed database to have only final approval (#1200)
Shiv2708 Apr 4, 2023
7d51adf
Sa-2 Changes regarding removing non-veg section and manually search/a…
theparasgami Apr 4, 2023
ae60fca
OS - 1 week 8 Issue #1162 resolved : Bill structured properly, update…
VedantJain1103 Apr 4, 2023
6af9a89
RSPC Major changes, ready for deployment (#1191)
Devendra072002 Apr 4, 2023
a06ef92
GAD-3: Week 8: Apis changed (#1177)
mahendraDodwariya Apr 4, 2023
8b2abad
sa-1 : till week 4 : Issue resolved #1118 (#1119)
Saksham-1508 Apr 4, 2023
3fba856
ac-3: week-8: Prof can submit Marks to assignment and made site respo…
tech-akash Apr 4, 2023
74cdbca
ps2 : week - 7,8,9 : added stock entry and display functionality (#1198)
Pulkit007 Apr 4, 2023
1e3dc0d
Revert "ac-3: week-8: Prof can submit Marks to assignment and made si…
akshatnema Apr 4, 2023
cdfb968
Merge branch 'FusionIIIT:main' into main
vanshul02 Apr 4, 2023
9ae1ff4
Taken pull from test branch and resolved merge conflicts and enabled …
vanshul02 Apr 4, 2023
4332821
Merge branch 'main' of https://github.com/vanshul02/Fusion
vanshul02 Apr 4, 2023
dcdde5d
added admin module in dashboard list (#1141)
vanshul02 Apr 4, 2023
90ac045
Merge branch 'test' of https://github.com/FusionIIIT/Fusion
vanshul02 Apr 5, 2023
aa77395
Added Discussed Changes in Service Book and solved inaccuracies in lo…
vanshul02 Apr 5, 2023
ea5958b
OS-2 : Week 5 : Fixed Doctor's Model and removed some hard-coded valu…
divyanshkhetan Apr 6, 2023
f547133
Sa - 2: Week : 9 Week: 10 Implemented use-case update menu and fixed …
Mayankingale123 Apr 6, 2023
e015be1
SA-4 | All changes till now (#1218)
vanshksharma Apr 6, 2023
9e6265c
GAD-1: Made static tabs editable dynamically for CSE dapartment. (#1204)
CHOUHAN-MOHIT Apr 6, 2023
b26839a
Removed extra print statements
vanshul02 Apr 6, 2023
40514a4
Os-1 Final merge (#1220)
VedantJain1103 Apr 6, 2023
fc7409e
hr: added Discussed Changes to Service Book in Admin Profile (#1211)
vanshul02 Apr 6, 2023
7865411
Fixed Professional Profile Not Opening
vanshul02 Apr 6, 2023
ad64a16
Merge branch 'test' of https://github.com/FusionIIIT/Fusion into test
vanshul02 Apr 6, 2023
1954de9
Merge branch 'test'
vanshul02 Apr 6, 2023
66d072c
ac:nroute updated for payroll page (#1221)
its-me-Navneet Apr 6, 2023
fa9aa87
OS-2 : Week 2 : Date Validation while booking Doctor's Appointment (#…
Apc010101 Apr 6, 2023
57f9920
OS-2 : Week 3 : Date Validation for booking ambulance fixed (#1040)
Apc010101 Apr 6, 2023
ff2811d
ac 2 : Added Time feature in academic information and flexibility in …
Anunaya07 Apr 7, 2023
6219505
Merge pull request #1224 from vanshul02/main
yatharthagoenka Apr 7, 2023
46c98ee
ac 2: Corrected excel reading for allot courses (#1227)
Anunaya07 Apr 7, 2023
8cc35ce
(ac-4) : week 6: Added Docstrings (#1183)
Apr 7, 2023
d5d45c7
SA-1 | Add hall room data through form for test branch (#1219)
Saksham-1508 Apr 8, 2023
91cdaf2
PS-1 : Week 10 : Completed indent tracking and item-wise purchase sta…
kanha638 Apr 8, 2023
a35d338
gad-3: week10: added lodge-complaint option for caretaker (#1212)
ujjawallele13 Apr 8, 2023
0ce947d
ps2:week 11: transfer functionality added (#1236)
Pulkit007 Apr 10, 2023
9412f40
PS-1 : Week 11 : issue resolve of draft indent not showing (#1233)
kanha638 Apr 10, 2023
fa2d9bb
ac-3: changed Migrations (#1215)
tech-akash Apr 10, 2023
959f0a3
GAD-1: fixed missing template issue and added data of alumni and achi…
CHOUHAN-MOHIT Apr 10, 2023
3740640
ac 2: corrected update add_timetable to add new tt (#1234)
Anunaya07 Apr 10, 2023
895c994
added other expense table (#1238)
its-me-Navneet Apr 10, 2023
4f6eceb
OS-2 : Week - 4 : Prescription in appointment history and emergency c…
divyanshkhetan Apr 10, 2023
76c8d71
HR: fixed API to use pf_no as user.id (#1237)
vanshul02 Apr 10, 2023
9f5698e
hr2: Created Get and Post APIs (#1235)
singhalgautam Apr 10, 2023
d3ea98f
sa-4 : Added Module Changes (#1229)
vanshksharma Apr 10, 2023
e1cbf7b
sa-3: added created and head changed fields (#1239)
thewackyindian Apr 10, 2023
006532e
AC-5: Integrate all new awards forms and update existing awards and t…
gaur-abhi524 Apr 11, 2023
8e35fb3
gad-3 : week-12 : redirection of complaint to another secincharge and…
ujjawallele13 Apr 14, 2023
e9dd430
ac 2: Corrected sem number for students of all batches (#1242)
Anunaya07 Apr 14, 2023
8e05aae
os-1: changes after 1st testing (#1243)
harsh-k-singh Apr 15, 2023
d4d4a00
OS2 : Mid-Sem Recess : Fixed the Book Appointment Feature to make it …
divyanshkhetan Apr 15, 2023
f5011e4
ac 2: corrected sem number to fetch currently registered courses (#1251)
Anunaya07 Apr 16, 2023
72863a8
OS-2: Week-10: Fixed all the ambulance use cases (#1240)
divyanshkhetan Apr 16, 2023
424a228
OS-2: Week-11: Fix Doctor's schedule and UI changes (#1250)
divyanshkhetan Apr 16, 2023
cc05fb3
all filled indent list page is working now (#1247)
kanha638 Apr 16, 2023
15387e2
ps-2: week 12: Report generation functionality added (#1245)
gaganmeena05 Apr 16, 2023
98ca6ca
rspc: fixed errors of failed test cases (#1252)
Devendra072002 Apr 16, 2023
374041e
gad-3 : week-12: supervisor can now add caretaker and lodge complaint…
ujjawallele13 Apr 16, 2023
657eff9
ps-2: minor changes in views.py (#1255)
gaganmeena05 Apr 17, 2023
c5a3ff7
OS-2: Week 11: Fixed Hospital System and Medicine System (#1253)
divyanshkhetan Apr 17, 2023
d576de1
GAD1: added edit deapartment info and draft feature to announcement (…
CHOUHAN-MOHIT Apr 17, 2023
c752137
SA3: tabs - Add different tabs for every tab in gymkhana. (#1254)
brijsiyag Apr 18, 2023
b141a49
ac-3 : Minor Fixes (#1259)
tech-akash Apr 18, 2023
8c0d744
sa-3 Bugfix (#1262)
thewackyindian Apr 18, 2023
93abc15
OS-1: add REST API for Vh module (#1210)
Maveric-k07 Apr 18, 2023
87341b7
Revert "sa-3 Bugfix (#1262)" (#1264)
PranshuNayak Apr 19, 2023
f15e451
Updates on views.py for API work (AC-2) (#1263)
bchetule Apr 20, 2023
9df037d
OS-1 Final Changes Made after testing (#1268)
VedantJain1103 Apr 22, 2023
2574df1
added API
Apr 22, 2023
7591d77
resolve the issue of button
Apr 22, 2023
50ffcd3
Update FusionIIIT/applications/finance_accounts/views.py
akshatnema May 3, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 8 additions & 3 deletions FusionIIIT/Fusion/settings/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@
'applications.health_center',
'applications.online_cms',
'applications.ps1',
'applications.ps2',
'applications.programme_curriculum',
'applications.placement_cell',
'applications.recruitment',
Expand Down Expand Up @@ -170,7 +171,7 @@
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [os.path.join(BASE_DIR, '..', 'templates/'),],
'DIRS': [os.path.join(BASE_DIR, '..', 'templates'),],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
Expand Down Expand Up @@ -254,9 +255,13 @@

# os.path.join(BASE_DIR, 'static/')
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, '..', 'static/')
STATIC_ROOT = os.path.join(BASE_DIR, '..', 'static')
STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
MEDIA_ROOT = os.path.join(BASE_DIR, '..', 'media/')
STATICFILES_DIRS = (
os.path.join(BASE_DIR, "static"),
)

MEDIA_ROOT = os.path.join(BASE_DIR, '..', 'media')
MEDIA_URL = '/media/'

ACCOUNT_USERNAME_REQUIRED = False
Expand Down
2 changes: 1 addition & 1 deletion FusionIIIT/Fusion/settings/development.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@

DEBUG_TOOLBAR_CONFIG = {
'INTERCEPT_REDIRECTS': False,
}
}
4 changes: 4 additions & 0 deletions FusionIIIT/Fusion/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@
from django.contrib import admin
from django.contrib.auth import views as auth_views

from rest_framework.authtoken.views import obtain_auth_token


urlpatterns = [
url(r'^api-token-auth/', obtain_auth_token, name='api_token_auth'),
url(r'^', include('applications.globals.urls')),
url(r'^feeds/', include('applications.feeds.urls')),
url(r'^admin/', admin.site.urls),
Expand Down Expand Up @@ -51,6 +54,7 @@
url(r'^office/', include('applications.office_module.urls')),
url(r'^finance/', include('applications.finance_accounts.urls')),
url(r'^purchase-and-store/', include('applications.ps1.urls')),
url(r'^purchase-and-store2/', include('applications.ps2.urls')),
url(r'^gymkhana/', include('applications.gymkhana.urls')),
url(r'^library/', include('applications.library.urls')),
url(r'^establishment/', include('applications.establishment.urls')),
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 3.1.5 on 2023-04-04 11:39

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('academic_information', '0001_initial'),
]

operations = [
migrations.AddField(
model_name='student',
name='hall_id',
field=models.CharField(blank=True, choices=[('saraswati', 'saraswati'), ('vivekananda', 'vivekananda'), ('aryabhatta', 'aryabhatta'), ('vashishtha', 'vashishtha')], max_length=255, null=True),
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Generated by Django 3.1.5 on 2023-04-06 18:45

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('academic_information', '0002_student_hall_id'),
]

operations = [
migrations.AddField(
model_name='calendar',
name='end_time',
field=models.TimeField(default='20:00'),
),
migrations.AddField(
model_name='calendar',
name='start_time',
field=models.TimeField(default='20:00'),
),
]
9 changes: 9 additions & 0 deletions FusionIIIT/applications/academic_information/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ class Constants:
('Management Science', 'Management Science'),
)

HALL_NAMES = (
('saraswati', 'saraswati'),
('vivekananda', 'vivekananda'),
('aryabhatta', 'aryabhatta'),
('vashishtha', 'vashishtha'),
)

class Student(models.Model):
'''
Expand Down Expand Up @@ -96,6 +102,7 @@ class Student(models.Model):
father_name = models.CharField(max_length=40, default='')
mother_name = models.CharField(max_length=40, default='')
hall_no = models.IntegerField(default=0)
hall_id = models.CharField(max_length=255,null=True,blank=True, choices=Constants.HALL_NAMES)
room_no = models.CharField(max_length=10, blank=True, null=True)
specialization = models.CharField(max_length=40,choices=Constants.MTechSpecialization, null=True, default='')
curr_semester_no = models.IntegerField(default=1)
Expand Down Expand Up @@ -274,6 +281,8 @@ class Calendar(models.Model):
'''
from_date = models.DateField()
to_date = models.DateField()
start_time = models.TimeField(default='20:00')
end_time = models.TimeField(default='20:00')
description = models.CharField(max_length=40)

class Meta:
Expand Down
52 changes: 45 additions & 7 deletions FusionIIIT/applications/academic_information/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@

from applications.academic_procedures.views import acad_proced_global_context
from applications.programme_curriculum.models import Batch

from django.conf import settings
from django.core.files.storage import FileSystemStorage


@login_required
Expand Down Expand Up @@ -613,7 +614,11 @@ def add_timetable(request):
acadTtForm = AcademicTimetableForm()
if request.method == 'POST' and request.FILES:
acadTtForm = AcademicTimetableForm(request.POST, request.FILES)
if acadTtForm.is_valid():
file = request.FILES['time_table']
full_path2 = settings.BASE_DIR+'\\..'+'\\applications'+'\\globals'+settings.STATIC_URL+'academic_procedures'
fs = FileSystemStorage(location=full_path2)
if acadTtForm.is_valid():
fs.save(file.name, file)
acadTtForm.save()
return render(request, "ais/ais.html", context)
else:
Expand Down Expand Up @@ -725,21 +730,35 @@ def add_calendar(request):
from_date = request.POST.getlist('from_date')
to_date = request.POST.getlist('to_date')
desc = request.POST.getlist('description')[0]
start = request.POST.getlist('start')
end = request.POST.getlist('end')
from_date = from_date[0].split('-')
from_date = [int(i) for i in from_date]
from_date = datetime.datetime(*from_date).date()
to_date = to_date[0].split('-')
to_date = [int(i) for i in to_date]
to_date = datetime.datetime(*to_date).date()
if start[0]:
start = start[0]+':00'
else:
start = '00:00:00'
if end[0]:
end = end[0]+':00'
else:
end = '00:00:00'
except Exception as e:
from_date=""
to_date=""
desc=""
start = '00:00:00'
end = '00:00:00'
pass
c = Calendar(
from_date=from_date,
to_date=to_date,
description=desc)
description=desc,
start_time=start,
end_time=end)
c.save()
HttpResponse("Calendar Added")

Expand Down Expand Up @@ -774,6 +793,8 @@ def update_calendar(request):
try:
from_date = request.POST.getlist('from_date')
to_date = request.POST.getlist('to_date')
start = request.POST.getlist('start')
end = request.POST.getlist('end')
desc = request.POST.getlist('description')[0]
prev_desc = request.POST.getlist('prev_desc')[0]
from_date = from_date[0].split('-')
Expand All @@ -782,15 +803,27 @@ def update_calendar(request):
to_date = to_date[0].split('-')
to_date = [int(i) for i in to_date]
to_date = datetime.datetime(*to_date).date()
if start[0]:
start = start[0]+':00'
else:
start = '00:00:00'
if end[0]:
end = end[0]+':00'
else:
end = '00:00:00'
get_calendar_details = Calendar.objects.all().filter(description=prev_desc).first()
get_calendar_details.description = desc
get_calendar_details.from_date = from_date
get_calendar_details.to_date = to_date
get_calendar_details.start_time = start
get_calendar_details.end_time = end
get_calendar_details.save()
except Exception as e:
from_date=""
to_date=""
desc=""
start = "00:00:00"
end = "00:00:00"
return render(request, "ais/ais.html", context)
return render(request, "ais/ais.html", context)

Expand Down Expand Up @@ -1169,9 +1202,9 @@ def add_new_profile (request):
}
if request.method == 'POST' and request.FILES:
profiles=request.FILES['profiles']
excel = xlrd.open_workbook(file_contents=profiles.read())
excel = xlrd.open_workbook(profiles.name,file_contents=profiles.read())
sheet=excel.sheet_by_index(0)
for i in range(sheet.nrows):
for i in range(1,sheet.nrows):
roll_no=sheet.cell(i,0).value
first_name=str(sheet.cell(i,1).value)
last_name=str(sheet.cell(i,2).value)
Expand All @@ -1191,7 +1224,7 @@ def add_new_profile (request):
category=""
phone_no=0
address=""
dept=str(sheet.cell(i,12).value)
dept=str(sheet.cell(i,11).value)
specialization=str(sheet.cell(i,12).value)
hall_no=None

Expand All @@ -1209,14 +1242,14 @@ def add_new_profile (request):
batch_year=request.POST['Batch']

batch = Batch.objects.all().filter(name = programme_name, discipline__acronym = dept, year = batch_year).first()

user = User.objects.create_user(
username=roll_no,
password='hello123',
first_name=first_name,
last_name=last_name,
email=email,
)


einfo = ExtraInfo.objects.create(
id=roll_no,
Expand Down Expand Up @@ -1253,6 +1286,11 @@ def add_new_profile (request):
working=user,
designation=desig,
)

user.save()
einfo.save()
stud_data.save()
hold_des.save()

sem_id = Semester.objects.get(curriculum = batch.curriculum, semester_no = sem)
course_slots = CourseSlot.objects.all().filter(semester = sem_id)
Expand Down
2 changes: 1 addition & 1 deletion FusionIIIT/applications/academic_procedures/api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def academic_procedures_student(request):

current_sem_branch_courses = get_branch_courses(current_user, user_sem, user_branch)

pre_registration_date_flag = get_pre_registration_eligibility(current_date)
pre_registration_date_flag = get_pre_registration_eligibility(current_date, user_sem, acad_year)
final_registration_date_flag = get_final_registration_eligibility(current_date)

add_or_drop_course_date_flag = get_add_or_drop_course_date_eligibility(current_date)
Expand Down
Loading