From 183545cdc5edf6ba12e9d706be31ca5501edd1d5 Mon Sep 17 00:00:00 2001 From: bsaikiran618 Date: Wed, 27 Jan 2021 13:11:18 +0530 Subject: [PATCH] Fixed autofill year bug --- .../LetterGenerated/FINAL_CAMPAIGNING.docx | Bin 0 -> 79277 bytes backend/details.json | 37 +++++++++++------- backend/validkeys.json | 2 +- react/package-lock.json | 6 +-- .../modules/RequestCreate/CreateRequest.js | 2 +- 5 files changed, 28 insertions(+), 19 deletions(-) create mode 100644 backend/LetterGenerated/FINAL_CAMPAIGNING.docx diff --git a/backend/LetterGenerated/FINAL_CAMPAIGNING.docx b/backend/LetterGenerated/FINAL_CAMPAIGNING.docx new file mode 100644 index 0000000000000000000000000000000000000000..ac3df46d407cce8d4c56e40bc2e0ea005c7a5988 GIT binary patch literal 79277 zcmeHwU2G)FbsnWF8Hj8pmTUt7a&7eGLy*WKXL|m~8Ie@xcbB@mT$-G{SCS)KG-sNe zzB@BL>h2+zSJ6)-3we+&K(-UaKnys3F_IvP0ogJF*bwrTJQ&D}0RawR7_t>44&XfJ zDc`B8?x~*YZg%$!FZb>x7qc^6U3L1@`Kwb^r|TTQ{>q0wvcdme+bDnhi$|~h#Ks1F zeg=iV+_tBlIrZM^U(ZbU3){~pkHOH;dg|_Pjy!MHC=}em$ebANwmmbaxN~kh6T`!$ zb5WQXgJ;HtStu2YwZeeovE>mSn+JOx^W2z^J+1p3=y6OObL?(v0%3aA{-!aTjje&< z0n@_ebhz}CE%AhHv}ASMku`IF5ol}{BA-Ba;vXQ|JppMPYiMf6hT|O>6QEJJvYlaJ zXbAIl#WV{{RnHbj8$3F^>!QA!i$!90yg5{Z$ zW5=Gk`pW18Knb4dc$OK^FbW4o3)j0Io9@bwRw%*YCXs+Y-t;_>?luq*kZ(lc$~-&0 zH7q3HHzINl&FULxV{`r72teP6ga<2N7TEu*3nT-R^hoFnlYLkfCr7t^vq7!5pol4i zK6oN5(#mu;$>t5sVb*7JMP2#v98AQ+3(UYD9EV1f-+K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(3bd z!jhE|A`fW{B}i?!0U<+@&7@{m8#1ZInruKSAWf+fl#tpmVx^#jexuq5+bYjcC{z89 zzWL>k|1-=^=tG(6ktB(l72dkZ!bC{5&BRYEQWHf{8%yMu@d7 zz1T0-8|8W!q7MLrzalTvRDneG_5bqL_x>Bils-Q#iz-s!t|qC=A{y{9W5!HuK%2<% zJ&cghOKjQSoVhV74X3Y>Z}cIGF65?a>w5*MV6QowjYV4agU8muv0WSM<4?|!tKHNH zz+OSFve&T($h3;2px*UCajzg>?y-&e10BWu7jP5d4FbX7YVUMljLkNb{ovdfyXIbD zQLxvhjP}!Oh)wVd@SeF(XMGz9V@uuN>>{?GCyPWa8u*6s@G4SfYihJz-!H|@emAvN?m%5@$Aa=90+E)yrt{grS0N& zynSb@~#Do!m zJh>xlCe}F8n3&MG3Jex7KnEG7MsY>X;SkOyS)Meoqs&+65kh8>Q<%u-0y5IIn=p+; z6jsD2!{&lAF3VmE$Qt}%;b@@~$FINgp^vazG-3pG@Z-byT)|Woj$i-42Y+^hS0eo? zfBcI_ul)pm;Y0cr{`+N?rDE#6#jNiaNZXbH{MOU2eE2UhCei07L#avavy*R~K#Z>-YYJXwDxl z15pqm61?{L-~E+8|M`s#`uto7((imrKw>HD3+#W!qUFB)>Ysh$J74>$jSc#Q`|{m? zCqQ6X!ovn8TlAKj69&r}$QMX_;rp@*1HQbXc@pl(3YVr=aybT`N)6v zdqKM&k$qTR>|Zqg{y+EtXQ#AYAH~t-#n1(WAO3=X5Lz0Q(T{TG7wta_YqS_RgloUt zeA&TTG=Jq6rRKujl3NoCm&d6^>;JbUwdUq9s`tx=a{=Jr7d~)<8I_S))_gJ${ExiG nzpG2gBsC+0!T+dP70rbC_%O7Zg#2S0pZ?Is#%FP3W8?n=5==W8 literal 0 HcmV?d00001 diff --git a/backend/details.json b/backend/details.json index f6cb35f..654f7da 100644 --- a/backend/details.json +++ b/backend/details.json @@ -1,16 +1,25 @@ { - "department": "Department of Computer Science and Engineering", - "subject": "Permission for attending a wedding", - "date": "2020-06-18", - "respects": "Sir", - "your_name": "M Yasaswi Raj", - "year": "Second", - "section": "C", - "roll_no": "18P61A05C2", - "reason": "attenDinG a WeDdIng", - "start_date": "2020-06-19", - "end_date": "2020-06-20", - "hod_name": "Sridhar", - "faculty_name": "kiran", - "faculty": "Principal" + "designation": "Director", + "department": "Department of Electrical and Electronics Engineering", + "subject": "asfsdfasdfasdf", + "date": "2021-01-20", + "respects": "Ma'am", + "team_name": "asdfasdfasdf", + "event_name": "sadfasdfasdfasd", + "fromdate": "2021-01-14", + "todate": "2021-01-23", + "start_hour": "4", + "start_min": "20", + "start_meridian": "AM", + "end_hour": "8", + "end_min": "50", + "end_meridian": "PM", + "letter_body": "sadfasdfasdfasdfasdf", + "where": "Inside", + "studentdetails": [ + { + "Name": "asdfasdfasdaf", + "Roll": "18p61a05j1" + } + ] } \ No newline at end of file diff --git a/backend/validkeys.json b/backend/validkeys.json index d1f7219..5d06bdb 100644 --- a/backend/validkeys.json +++ b/backend/validkeys.json @@ -1 +1 @@ -{"dummy":"dummyval","CODINGSTUDIO":{"accessToken":"eyJhbGciOiJIUzI1NiJ9.Q09ESU5HU1RVRElP.xPXSKV8gyEmY1X4pcqorKxmDcGAkCPrSCRLS6JlqeTc","userType":"FORUM"},"SSVFORUM":{"accessToken":"eyJhbGciOiJIUzI1NiJ9.U1NWRk9SVU0.EO2d5fAXCSmc7UXTkMNBI1fG5JS-m7pT147KyVxeytY","userType":"FORUM"},"17P61A0407":{"accessToken":"eyJhbGciOiJIUzI1NiJ9.NzkzNDkxN1A2MUEwNDA3.d2qaTXhKomhQGkM2XTBPbt-kg7HYeN2qgySw1cnupTg","userType":"FACULTY"}} \ No newline at end of file +{"dummy":"dummyval","CODINGSTUDIO":{"accessToken":"eyJhbGciOiJIUzI1NiJ9.Q09ESU5HU1RVRElP.xPXSKV8gyEmY1X4pcqorKxmDcGAkCPrSCRLS6JlqeTc","userType":"FORUM"},"SSVFORUM":{"accessToken":"eyJhbGciOiJIUzI1NiJ9.U1NWRk9SVU0.EO2d5fAXCSmc7UXTkMNBI1fG5JS-m7pT147KyVxeytY","userType":"FORUM"},"CODING.STUDIO();":{"accessToken":"eyJhbGciOiJIUzI1NiJ9.MTMwOTRDT0RJTkcuU1RVRElPKCk7.hd24K8usvYltZGrmyj0UbrpggEGjaEli3Clqx7W55Bw","userType":"FORUM"}} \ No newline at end of file diff --git a/react/package-lock.json b/react/package-lock.json index 2a7d532..b801bc9 100644 --- a/react/package-lock.json +++ b/react/package-lock.json @@ -3367,9 +3367,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001048", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001048.tgz", - "integrity": "sha512-g1iSHKVxornw0K8LG9LLdf+Fxnv7T1Z+mMsf0/YYLclQX4Cd522Ap0Lrw6NFqHgezit78dtyWxzlV2Xfc7vgRg==" + "version": "1.0.30001179", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001179.tgz", + "integrity": "sha512-blMmO0QQujuUWZKyVrD1msR4WNDAqb/UPO1Sw2WWsQ7deoM5bJiicKnWJ1Y0NS/aGINSnKPIWBMw5luX+NDUCA==" }, "capture-exit": { "version": "2.0.0", diff --git a/react/src/modules/RequestCreate/CreateRequest.js b/react/src/modules/RequestCreate/CreateRequest.js index 0834db1..c94b677 100644 --- a/react/src/modules/RequestCreate/CreateRequest.js +++ b/react/src/modules/RequestCreate/CreateRequest.js @@ -13,7 +13,7 @@ const getRollNumberParts = (rollNumber) => { let year = Number(rollNumber.slice(0, 2)); if(!year){console.log("Year incorrect!");return undefined}; - year = (new Date().getFullYear()) - (2000 + year) + 1; + year = (new Date().getFullYear()) - (2000 + year); var branch = rollNumber.slice(6,8); branch = Number(branch); if(!branch) return undefined;